Solution:
Concept: Brown nitrogen dioxide with copper means nitrate; a white precipitate that dissolves in ammonium hydroxide means chloride; carbon dioxide means carbonate; white barium sulphate insoluble in acids means sulphate.
Step 1 — (a) Compound X.
Concentrated sulphuric acid sets free nitric acid from a nitrate:
NaNO3+H2SO4→NaHSO4+HNO3
The nitric acid then oxidises copper and gives reddish brown nitrogen dioxide, so the anion is nitrate, NO3−:
Cu+4HNO3→Cu(NO3)2+2H2O+2NO2↑
Step 2 — (b) Compound Y.
The white precipitate with silver nitrate that dissolves in excess ammonium hydroxide is silver chloride, so the anion is chloride, Cl−:
NaCl+AgNO3→AgCl↓+NaNO3
Step 3 — (c) Compound Z.
The gas turns lime water milky but has no effect on acidified potassium dichromate, so it is carbon dioxide, not sulphur dioxide. The anion is carbonate, CO32−:
Na2CO3+H2SO4→Na2SO4+H2O+CO2↑
Step 4 — (d) Compound L.
A white precipitate with barium chloride that does not dissolve in dilute HCl or dilute nitric acid is barium sulphate, so the anion is sulphate, SO42−:
Na2SO4+BaCl2→BaSO4↓+2NaCl
Watch out: In (a) the copper turnings are needed: they react with the nitric acid to give the brown gas that shows a nitrate is present.
Therefore, X – nitrate, NO₃⁻; Y – chloride, Cl⁻; Z – carbonate, CO₃²⁻; L – sulphate, SO₄²⁻.