The elements A and B have electronic configurations 2, 8, 18, 2, and 2, 6 respectively.
Modern periodic table:
Electronic configuration:
1) Element A belongs to the fourth period because it has four shells (2,8,18,2).
The element B belongs to the second period because it has two shells (2,6).
2.) Element A belongs to the second group because it has two valance electrons.
The element B belongs to the sixteenth group because it has six valance electrons.