The general electronic configuration of ns2 exit in:
Azimuthal quantum number l = 1 is for p and l = 2 is for d.
Now Cr has configuration
Hence there are 12, p-electrons and 5, d-electrons
Molecular mass is the sum of atomic masses of the elements present in a molecule.
For example ; Molecular mass of CO2 = atomic mass of one carbon atom & atomic mass of two oxygen atoms
=[ 12+2(16) ] u
= 44u.