The strength of acidic character depends upon the stability of conjugate base. The stability of anion is directly proportional to -M, -I effect and inversely proportional to +I, H effect
Therefore, the order of acidic character is shown below.I < IV < II < III