We need to match the given elements with their respective valence shell electron configurations.
A.
**Alkali metals:** These are Group 1 elements in the periodic table.
Their valence shell configuration is \( ns^1 \), where \( n \) is the principal quantum number of the outermost shell.
Therefore, A matches with IV.
B.
**Alkaline earth metals:** These are Group 2 elements in the periodic table.
Their valence shell configuration is \( ns^2 \).
Therefore, B matches with III.
C.
**Halogens:** These are Group 17 elements in the periodic table.
Their valence shell configuration is \( ns^2 np^5 \).
They are one electron short of having a completely filled valence shell.
Therefore, C matches with II.
D.
**Noble gases:** These are Group 18 elements in the periodic table (except for Helium, which has \( 1s^2 \)).
They have a completely filled outermost shell, with a general valence shell configuration of \( ns^2 np^6 \).
This stable electron configuration makes them largely unreactive.
Therefore, D matches with I.
The correct matching is:
A - IV
B - III
C - II
D - I
This corresponds to option (B).