In the following compounds,
The order of acidity is
IV > III > I > II
Electron - donation groups decrease while electron withdrawing groups increase the acidity of phenols. Therefore, the overall order of acidity is IV > III > I > II, i.e. option (d) is correct.