The correct option is A B2
The molecular electronic configuration of B2 is:
(σ1S)2(σ∗1S)2(σ2S)2(σ∗2S)2(π2px)1(π2py)1
Since it has unpaired electron thus it is paramagnetic in nature.
The molecular electronic configuration of O2−2,
(σ1S)2(σ∗1S)2(σ2S)2(σ∗2S)2(σ2pz)2(π2px)2(π2py)2(π∗2px)2(π∗2py)2
So all the electrons are paired. Hence it is diamagnetic in nature.
The molecular electronic configuration of N2
(σ1S)2(σ∗1S)2(σ2S)2(σ∗2S)2(π2px)2(π2py)2(σ2pz)2
So number of unpaired electron is 0 in N2. Hence it is diamagnetic in nature.
The molecular electronic configuration of He2
(σ1S)2(σ∗1S)2
Hence it is also diamagnetic in nature.
(Although, bond order will be zero and molecule would not exist)