The correct option is D 4,6
The total number of antibonding electrons in N2 and O2 molecules is 4 and 6 respectively. Hence, the option D is the correct answer.
N2:(σ1s)2(σ∗1s)2(σ2s)2(σ∗2s)2(σ2px)2(π2py)2(π2pz)2
O2:(σ1s)2(σ∗1s)2(σ2s)2(σ∗2s)2(σ2px)2(π2py)2(π2pz)2(π∗2pz)1(π∗2pz)1