Solution:
Concept: Each common laboratory gas is confirmed by one observation that no other common gas gives. A colour or a smell only makes us suspect a gas; a chemical test confirms it. Litmus tells us whether a gas is acidic or basic.
Step 1 — (a) (i) Ammonia.
We bring a glass rod dipped in concentrated hydrochloric acid near the gas. Dense white fumes of ammonium chloride form, because the two gases combine directly:
NH3+HCl→NH4Cl
Step 2 — (a) (ii) Sulphur dioxide.
We pass the gas through acidified potassium dichromate (K2Cr2O7) solution, or hold a filter paper soaked in it in the gas. The solution turns from orange to green. Sulphur dioxide is a reducing agent: it reduces orange dichromate to green chromium (III) sulphate:
K2Cr2O7+H2SO4+3SO2→K2SO4+Cr2(SO4)3+H2O
Step 3 — (a) (iii) Hydrogen chloride.
We pass the gas into silver nitrate solution. A curdy white precipitate of silver chloride forms; it does not dissolve in dilute nitric acid but dissolves in ammonium hydroxide:
HCl+AgNO3→AgCl↓+HNO3
Step 4 — (a) (iv) Chlorine.
We hold moist starch iodide paper in the gas. The paper turns blue-black, because chlorine sets free iodine from potassium iodide, and iodine turns starch blue-black:
Cl2+2KI→2KCl+I2
Step 5 — (a) (v) Carbon dioxide.
We pass the gas through lime water. The lime water turns milky, because insoluble white calcium carbonate forms:
Ca(OH)2+CO2→CaCO3↓+H2O
Sulphur dioxide also turns lime water milky, so we also check that the gas leaves acidified potassium dichromate (K2Cr2O7) orange.
Step 6 — (a) (vi) Oxygen.
We put a glowing splinter into the gas. The splinter rekindles (bursts into flame), because oxygen supports combustion.
Step 7 — (a) (vii) Hydrogen.
We bring a burning splinter to the mouth of the test tube. The gas burns with a pop sound, because a mixture of hydrogen and air burns rapidly.

Step 8 — (b) The basic gas.
Of the seven gases, only ammonia is basic. We suspect its basic nature when it turns moist red litmus paper blue: it dissolves in the water on the paper to form the alkali ammonium hydroxide:
NH3+H2O→NH4OH
Step 9 — (c) The acidic gases.
Sulphur dioxide, hydrogen chloride, chlorine and carbon dioxide are acidic. We suspect their acidic nature when they turn moist blue litmus paper red, because they dissolve in water to form acids (sulphurous acid, hydrochloric acid and carbonic acid; chlorine gives hydrochloric and hypochlorous acids). Chlorine then goes on to bleach the paper. Oxygen and hydrogen are neutral and leave litmus unchanged.
Step 10 — (d) The two bleaching gases.
The greenish yellow gas that bleaches by oxidation is A = chlorine: with water it gives nascent oxygen, which oxidises the dye. The colourless gas that bleaches by reduction is B = sulphur dioxide: with water it gives nascent hydrogen, which reduces the dye.
Step 11 — (e) Cobalt chloride paper.
Blue cobalt chloride paper is anhydrous cobalt chloride. Water vapour turns it pink, because the paper takes up water and forms the pink hydrated salt CoCl2⋅6H2O.
Step 12 — (f) Similarities in tests.
(i) Chlorine and hydrogen chloride both turn moist blue litmus paper red, since both form acids with water. (Both also give a white precipitate with silver nitrate solution.)
(ii) Sulphur dioxide and carbon dioxide both turn lime water milky, forming insoluble calcium sulphite and calcium carbonate:
Ca(OH)2+SO2→CaSO3↓+H2O
Watch out: Lime water alone cannot confirm carbon dioxide, because sulphur dioxide also turns it milky; and chlorine turns blue litmus red only for a moment before bleaching it white.
Therefore, (a) NH₃: dense white fumes with conc. HCl; SO₂: acidified K₂Cr₂O₇ orange → green; HCl: white ppt with AgNO₃; Cl₂: moist starch iodide paper blue-black; CO₂: lime water milky; O₂: rekindles a glowing splinter; H₂: burns with a pop; (b) ammonia (red litmus → blue); (c) SO₂, HCl, Cl₂, CO₂ (blue litmus → red); (d) A = chlorine, B = sulphur dioxide; (e) water vapour; (f) (i) both turn moist blue litmus red, (ii) both turn lime water milky.