Final answer:
CaCO₃ (calcium carbonate) has both ionic and covalent bonds; the ionic bond is between calcium and the carbonate ion, and the covalent bonds exist within the carbonate ion itself.
Step-by-step explanation:
The compound that has both ionic and covalent bonding from the list provided is CaCO₃ (calcium carbonate). In CaCO₃, calcium (Ca²⁺) forms an ionic bond with the carbonate (CO₃²⁻) ion. Within the carbonate ion itself, carbon is covalently bonded to the three oxygen atoms. This illustrates how a single compound can feature both ionic and covalent characteristics.
To differentiate between types of bonds, one must consider the elements involved. Generally, a bond between a metal and a non-metal, like that between calcium (a metal) and carbonate (a polyatomic ion with non-metal characteristics), is ionic. On the other hand, bonds between non-metals, such as the ones between carbon and oxygen in the carbonate ion, tend to be covalent.