Arrange the following labelled hydrogens in decreasing order of acidity :

From the JEE Main 2020 · 2 Sep · Shift 2 paper. Try it, check your answer, then read the worked solution below.
Arrange the following labelled hydrogens in decreasing order of acidity :

Try it yourself first, then check your working against this.
Worked solution
b (COOH) is the most acidic. c, the phenolic OH para to , is stabilised by resonance with the nitro group; d, meta to , only inductively. a, the terminal alkyne H (pKa about 25), is least acidic.
b > c > d > a.
(A)
Concepts used: labelled hydrogens
Every past question tagged to the same part of the syllabus, with solutions.
Past questions on the same topic (Acidity and basicity), each with a worked solution.
Timed, in the real format, and marked the moment you submit.