Answer :
In the given options, the compound containing an ionic bond is:
B. CaO
Explanation:
1. An ionic bond is formed when one atom gives up electrons (becomes positively charged) and another atom accepts those electrons (becomes negatively charged).
2. In the compound CaO (calcium oxide), calcium (Ca) is a metal that tends to lose electrons, becoming positively charged, while oxygen (O) is a non-metal that tends to gain electrons, becoming negatively charged.
3. The attraction between the positively charged calcium ion and the negatively charged oxygen ion forms an ionic bond in calcium oxide (CaO).
4. Options A, C, and D do not represent compounds with ionic bonds.