(a)
Electron affinity generally increases in a period from left to right because size decreases and nuclear charge increases. But the electron affinity of nitrogen is very low due to extra stability of half-filled 2p-orbital. Hence, the order of electron affinity is
$B < C < O > N$