The correct option is C Only KO2
Molecular orbital electronic configurations are-
KO2(O−2):σ1s2.σ1s2.σ2s2.σ2p2x∣∣∣π2p2yπ2p2z∣∣∣∣∣
∣∣.π2p2y.π2p2z∣∣
∣∣.σ2p0x
Has one unpaired electron in .π 2p orbital.
AlO−2 has both oxygen in O2− state, therefore, no unpaired electron is present.
BaO2(O2−2)
σ1s2.σ1s2.σ2s2.σ2x2σ2p2x∣∣∣π2p2yπ2p2z∣∣∣∣∣
∣∣.π2p2y.π2p2z∣∣
∣∣.σ2p0x
Has no unpaired electron.
NO+2 has [O=+N=0] bonding, hence no unpaired electron.