First, we find the total number of electrons present in the cyanide ion CN−.
Carbon has atomic number 6, so it contributes 6 electrons.
Nitrogen has atomic number 7, so it contributes 7 electrons.
Because of the extra negative charge, the ion possesses one additional electron.
Hence the total electron count is
6+7+1=14.
We now recall that a diatomic species with 14 electrons is isoelectronic with the molecule N2, which also contains 14 electrons. Therefore, CN− will have exactly the same pattern of molecular-orbital occupation as N2.
For second-period diatomic molecules whose total atomic numbers are ≤14 (that is, up to nitrogen), the accepted energy order of molecular orbitals is
σ1s,σ1s∗,σ2s,σ2s∗,π2px=π2py,σ2pz,π2px∗=π2py∗,σ2pz∗.
We now place the 14 electrons of CN− into these orbitals, filling from lower to higher energy and pairing spins whenever possible:
σ1sσ1s∗σ2sσ2s∗π2pxπ2pyσ2pz2222222$
All electrons are paired, so the species is diamagnetic.
To calculate bond order we use the standard formula
Bond order=2Nb−Na,
where Nb is the number of electrons in bonding molecular orbitals and Na is the number in antibonding molecular orbitals.
From the configuration we have
NbNa=2(σ1s)+2(σ2s)+4(π2px,π2py)+2(σ2pz)=10,=2(σ1s∗)+2(σ2s∗)=4.$
Substituting into the formula, we get
Bond order=210−4=26=3.
Thus, CN− has a bond order of 3 and is diamagnetic.
Hence, the correct answer is Option B.