$\underline{\text{Consider the following question:}}$
The first difference I noticed in these compounds was the large number of oxygen atoms in (IV). This definitely means that there is a larger number of lone pairs in this compound. So the obvious conclusion is that compound (IV) is the most basic or the least acidic one. However none of the options seem to have (IV) as the least acidic compound.
Where have I gone wrong?