Solution:
Concept: Each observation is the standard test for one anion: name the gas or precipitate first, then the anion it comes from.
Step 1 — (a) Salt A.
A white precipitate with silver nitrate that does not dissolve in dilute nitric acid is silver chloride, so the anion is chloride, Cl−:
NaCl+AgNO3→AgCl↓+NaNO3
Step 2 — (b) Salt B.
A gas that turns lead acetate paper black is hydrogen sulphide, which a sulphide gives with dilute acid, so the anion is sulphide, S2−:
FeS+2HCl→FeCl2+H2S↑
Step 3 — (c) Salt C.
A brown ring at the junction of the two layers is nitroso iron (II) sulphate, FeSO4⋅NO, which forms only with a nitrate, so the anion is nitrate, NO3−.
Step 4 — (d) Salt D.
A gas that turns acidified potassium dichromate from orange to green is sulphur dioxide, which a sulphite gives with dilute acid, so the anion is sulphite, SO32−:
Na2SO3+H2SO4→Na2SO4+H2O+SO2↑
Step 5 — (e) Salt E.
Effervescence of a gas that turns lime water milky but leaves acidified dichromate orange is carbon dioxide, so the anion is carbonate, CO32−:
Na2CO3+2HCl→2NaCl+H2O+CO2↑

Watch out: Lime water alone cannot tell a carbonate from a sulphite; the 'no effect on dichromate' part of (e) rules out sulphur dioxide.
Therefore, A – chloride, B – sulphide, C – nitrate, D – sulphite, E – carbonate.