(a) The number of valence electrons in the atoms of first elements in a period is 1.
(b) The usual number of valence electrons in the atoms of the last element (inert gas) in a period is 8. Helium (He) is the only inert gas having 2 valence electrons.