Option (A) is correct.
Explanation: By Avogadro's law, equal volumes of gases at the same temperature and pressure contain equal numbers of molecules, so volumes count molecules. Hydrogen and oxygen are diatomic and combine as
2H2+O2→2H2O
that is, in the volume ratio 2:1:2 (Gay-Lussac's law of volumes). The 4.0 L of hydrogen uses 2.0 L of oxygen and gives 4.0 L of water vapour; 1.0 L of oxygen is left over. The final volume is
4.0+1.0=5.0 L
and the fraction of molecules that are oxygen is 1.0/5.0=20%. The volume shrinks from 7.0 L because three molecules (two H2 and one O2) become two.
(B) is wrong: it assumes the volume does not change in the reaction; the number of molecules, and hence the volume at fixed T and P, falls.
(C) is wrong: it takes 2 volumes of hydrogen and 1 of oxygen to give only 1 volume of vapour; each H2 molecule ends up in one H2O molecule, so the vapour has as many molecules, and the same volume, as the hydrogen used.
(D) is wrong: it forgets the 1.0 L of oxygen left unreacted.