(i) Given halide is a primary, predominantly undergo \(\mathrm{S}_{\mathrm{N}} 2\) reaction.
(i) \(\rightarrow\) (q)
(ii) Given halide is secondary, can undergo \(\mathrm{s}_{\mathrm{N}} 2\) reaction. Also, E2 reaction leads to a conjugated system. Also it may react by \(\mathrm{El}\) cb mechanism because it forms resonance stabilised carbanion.
(ii) \(\rightarrow\) (q,r,s)
(iii) It is a \(3^{\circ}\) halide and in the presence of weak base \(\mathrm{H}_{2} \mathrm{O}\), weak nucleophile \(\mathrm{H}_{2} \mathrm{O}\), it may undergo unimolecular substitution \(\left(\mathrm{S}_{\mathrm{N}} 1\right)\) and elimination (E1) reaction.
(iii) \(\rightarrow\) (p)
(iv) It may form a stable benzylic carbocation after hydride shift, hence may react by \(\mathrm{S}_{\mathrm{N}} 1\) mechanism. Also it is a secondary halide, may undergo \(\mathrm{S}_{\mathrm{N}} 2\) reaction. It may also react by E2 reaction ai it gives conjugated system. Carbanion. formed at \(\beta-C\) will be stabilised by resonance from ring, hence may undergo E1 cb mechanism.
\(\text { (iv) } \rightarrow(\mathrm{p}, \mathrm{q}, \mathrm{r} , \mathrm{s})\)