If we consider no mixing of '2s' and '2p' orbitals, then the bond order and magnetic nature of the diatomic molecule C2 would be:
Assuming that Hund’s rule is violated, the bond order and magnetic nature of the diatomic molecule B2 is :