Answer
Please see the work below.
Work Step by Step
a)
Electronic configuration of Nitrogen = $1s^{2}2s^{2}2p^{3}$
Hence the total number of p electrons = 3.
b)
Electronic configuration of Silicon = $1s^{2}2s^{2}2p^{6}3s^{2}3p^{2}$
There are 2 electrons in 1s, 2s, and 3s orbitals.
Hence the total number of p electrons = 6.
c)
Electronic configuration of Sulfur = $1s^{2}2s^{2}2p^{6}3s^{2}3p^{4}$
There are no electrons in the 3d orbital.
Hence, the total number of d electrons = 0.