Answer
(a) represents emission spectrum and (b) represents absorption spectrum.
Work Step by Step
Every wavelength absorbed by gas is also emitted but not every emitted wavelength is absorbed. This implies that the number of lines in emission spectra should be higher than the number of lines in the absorption spectra.
Hence (a) represents emission spectra and (b) represents absorption spectra.