Answer: The bond formed between magnesium and oxygen is an ionic bond.
Step-by-step explanation:
An ionic bond is formed when an atom transfer its valence electrons to another atom.
Whereas, a covalent bond is formed by the sharing of electrons between the atoms.
Silicon and oxygen forms silicon dioxide. Silicon has 4 valence electrons which are shared with each oxygen atom. Hence, silicon and oxygen forms a covalent bond.
Oxygen and oxygen shares two pairs of electrons therefore, a covalent bond is formed between oxygen and oxygen.
A covalent bond is formed between carbon and hydrogen as carbon has 4 valence electrons which are shared with four hydrogen atoms.
Magnesium has 2 valence electrons which are transferred to the oxygen atom in order to complete its octet.
Therefore, the bond formed between magnesium and oxygen is an ionic bond.