Aniline in a set of the following reactions yielded a coloured product 'Y'.
The structure of 'Y' would be :

From the AIPMT 2010 · 4 Apr paper. Try it, check your answer, then read the worked solution below.
Aniline in a set of the following reactions yielded a coloured product 'Y'.
The structure of 'Y' would be :

Try it yourself first, then check your working against this.
Worked solution
Aniline gives benzenediazonium chloride (X), which couples at the para position of N,N-dimethylaniline to give the yellow azo dye (Y).
(2)
Concepts used: azo coupling
Every past question tagged to the same part of the syllabus, with solutions.
Past questions on the same topic (Diazonium salts), each with a worked solution.
Timed, in the real format, and marked the moment you submit.