Explanation of molecules containing both covalent and ionic bonds.
Covalent bonds involve the sharing of electrons between atoms, typically nonmetals. Ionic bonds occur between a metal and a nonmetal, resulting in the transfer of electrons.
Looking at the molecules in the options provided, MgCO3 contains both covalent and ionic bonds as it consists of both a metal (Mg) and nonmetals (C and O).
Therefore, MgCO3 (IV) is the molecule among the options that contains both covalent and ionic bonds.
https://brainly.com/question/40819467