Final answer:
Among the given compounds, NO2 is ionic and contains both sigma and pi covalent bonds.
Step-by-step explanation:
Among the given compounds, the compound that is ionic and contains both sigma and pi covalent bonds is (D) NO2, which is nitrogen dioxide.
NO2 contains both ionic and covalent bonds. The N-O bond is primarily covalent as it involves sharing of electrons through a sigma bond. However, the NO2 molecule also has a resonance structure where a pi bond is formed between the nitrogen atom and one of the oxygen atoms. This pi bond is formed by the sideways overlap of p-orbitals.
The compound (A) Fe(OH)3 (iron(III) hydroxide) is ionic but only contains ionic bonds. The compounds (B) HClO (hypochlorous acid), (C) H2S (hydrogen sulfide), and (E) NaCN (sodium cyanide) are all covalent compounds and do not contain any ionic bonds.