(d)
$- NO_{2}$ group at any position shows electron withdrawing effect, thus acid strength is increased. But o-nitro benzoic acid believed to have $ortho\$effect. As a result, resonance gets prevented. Hence, its acid strength is maximum, thus , the order of acid strength (II)<(III)<(IV)<(I)
(The effect is more at $para$ position than meta.)