Worked solution from the Experimental techniques and chemical analysis MCQ booklet.
We use each test to find a clue about X.
No precipitate with sodium hydroxide, and no gas when heated with sodium hydroxide: no ammonium ions.
A lilac flame colour means potassium ions.
A yellow precipitate with acidified silver nitrate means iodide ions.
X is potassium iodide.
So the answer is D.
A and B contain ammonium, which would give ammonia gas. C is a bromide, which would give a cream precipitate.
▶ Whole paper
Video solution of the whole paper · by Chemup. Tap the picture to open it on YouTube.
Solutions follow the official Cambridge mark schemes. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.