Find the order of acidic strength Arrange the following in decreasing order of acidity



I think it's S>P>R>Q

(Q) forms an anti aromatic conjugate base. So its the least acidic compound here.

(R) forms forms a conjugate base which is only stabilized by electron withdrawing (inductive) effect of $\ce{S}$.

(P) forms an aromatic conjugate base and (S) forms am ion stabilised by resonance (two resonance structures). But negative charge in $\ce{O}$ is more stable than negative charge on $\ce{C}$. So (S)>(P).

Is this correct?
(Q) is the least acidic compound because the conjugate base formed is anti aromatic and hence unstable.

(R) is more acidic than (Q) because the conjugate base is stabilized by the electron withdrawing inductive effect of two sulphur atoms.

Conjugate bases of both (P) and (S) are stable due to resonance. Among the two, conjugate base of (S) is more stable because a negative charge on Oxygen atom is more stable than a negative charge on carbon atom. Here are the resonance structures:


This is verified by @Ivan Neretin's comment on the OP.


  Let's look at some data. pKa of cyclopentadiene is about 16, while that of acetylacetone is about 9.