✔ 最佳答案
K is a metal while O is a non-metal, and thus ionic bonds are formed.
There is 1 electron in the outermost shell of each K atom. Each K atom thus loses 1 electron in its outermost shell and becomes a K⁺ ion, which is stable because its outermost shell attains a stable octet.
There are 6 electrons in the outermost shell of each O atom. Each O atom thus gains 2 electrons to become an O²⁻ ion, which is stable because its outermost shell attains a stable octet.
As each K atom loses 1 electron while each O atom gains 2 electrons, numbers of K⁺ and O²⁻ are in the ratio 2 : 1, and thus the formula of the compound is K₂O.
A huge number of K⁺ and O²⁻ are held together in ratio 2 : 1 by ionic bonds.
Both C and H are non-metal, and thus covalent bonds are formed.
There are 4 electrons in the outermost shell of the central C atom, and 1 electron in the outermost shell of each H atom. The C atom share its electrons with the 4 H atoms by forming 4 covalent bonds. Each covalent bond contains 1 shared pair of electrons. Both the central C atom and the 4 H atoms are stable because the outermost shell of the central C atom attains a stable octet while that of each H atom attains a stable doublet.