Write the electronic configurations of two elements P (atomic number 11) and Q (atomic number 19) and determine their group number and period number in the modern periodic table.
Electronic configuration:
P = 2,8,1
Q = 2,8,8,1
P is sodium from block S (period 2 and group 1)
Q is potassium from block S (period 4 and group 1)