The correct order of basicity of the following amines
I: 2-phenylethanamine (); II: aniline; III: 4-methylaniline; IV: 4-nitroaniline
is

From KVPY 2019 · Streams SB/SX
The correct order of basicity of the following amines
I: 2-phenylethanamine (); II: aniline; III: 4-methylaniline; IV: 4-nitroaniline
is

Worked solution
In I the lone pair is on an aliphatic nitrogen, not delocalized into the ring: most basic. In the anilines the lone pair is delocalized into the ring. A para-methyl (electron-donating) makes III more basic than aniline, and a para-nitro (strongly withdrawing) makes IV least basic. So I > III > II > IV.
(B)
Every past question tagged to the same part of the syllabus, with solutions.
Timed, in the real format, and marked the moment you submit.