The correct option is D
B
Valency is the combining capacity of the atoms of elements to attain a fully-filled outermost shell. The elements attain eight electrons in their outermost shell by sharing, gaining or losing electrons.
The electronic configuration and valency of given elements is as follows:
ElementElectronic ConfigurationValencyNe2,80He20F2,71B2,33
Hence, the correct answer is option (d).