For a perfect Lie algebra $L$ over $C,$ the kernel of its universal central extension is isomorphic to $H_2(L,C),$ and its central extensions are in 1-1 correspondence to $H^2(L,C).$

Question (1): Can we know one of the $H_2$ or $H^2$ from the another directly?

I find in some book, they compute both of them.

In textbooks, the universal central extension ($\tilde{L}$, $\alpha$) of $L$ is defined as:

(a) $\tilde{L}$ is a central extension of $L$

(b) for a central extension $(L',\beta)$, there exists a unique $\gamma: \tilde{L}\rightarrow L'$, such that $\alpha=\beta\gamma$.

Question (2): In condition (b), can $L'$ be replaced by a "one dimensional central extension"?