The correct option is B II<I<IV<III
The increasing order of the reactivity towards SN2 reaction with aqueous NaCN is II>I>IV>III.
The reactivity of compound III (p -nitrobenzyl chloride) is maximum and the reactivity of compound II (p -methoxy benzyl chloride) is minimum. When an electron withdrawing group such as nitro group is present in the para position, the electrophilic character of benzyl carbon is maximum and the reactivity towards nucleophilic attack is maximum. When an electron releasing group such as methoxy group is present in para position, the electrophilic character of benzylic carbon is minimum and the reactivity towards nucleophilic substitution is minimum.