Elements in the same horizontal row are in the same period. The periods are numbered from top to bottom. The period number is the same as the number of occupied electron shells.
Phosphorus has five electrons in its outer ... In the n-type layer, there is an excess of electrons, and in the p-type layer, there is an excess of positively charged holes (which are vacancies due to ...