The correct option is
B I>III>IV>IIStability of conjugate base∝Strength of acidity
−CH3 group at ortho and para positions, show
+H effect, which increase the electron density and destabilise the conjugate base.
Hence, compound (IV) and (II) are less acidic.
Comparing (I) and (III),
CH3 at meta position shows +I effect which will increase electron density and destabilise the conjugate base. Thus, (III) is less acidic than (I).
Comparing (II) and (III), compound (II) is least acidic because
CH3 is located at ortho position, so that it shows more +I effect than
CH3 at para position.
Therefore, the order of acidic strength is