Write the electronic configuration of an element X, whose atomic number is 12.
No. of electrons = atomic no. = 12.
Thus, K-shell contains = 2 electrons
L-shell contains = 8 electrons
M-shell contains = 2 electrons
Thus, electronic configuration of X becomes 2, 8, 2.