Label the bonding types in each of the following compounds. The options are:

1) The compound contains all covalent bonds
2) The compound contains all ionic bonds
3). The compound contains both covalent and ionic bonds

a) BaCl2
b) NaNO3
c) CaO
d) SO3