(a) Lithium, Sodium, Potassium are the elements having single electron in their outermost electron. They come under the category of alkali metals.
(b) Magnesium and calcium have two electrons in their outermost shell. They come under the category of alkaline earth metals.