The total number of carboxylic acid groups in the product P is

From the JEE Advanced 2013 · Paper 1 paper. Try it, check your answer, then read the worked solution below.
The total number of carboxylic acid groups in the product P is

Try it yourself first, then check your working against this.
Worked solution
Step 1 (H₃O⁺, Δ). The anhydride hydrolyses to two COOH groups, each β to a ring ketone; these β-keto acids decarboxylate on heating, leaving a cyclohexanedione fused to the cyclohexene.
Steps 2-3 (O₃, H₂O₂). Oxidative ozonolysis cleaves the C=C into two COOH groups.
P has 2 carboxylic acid groups.
Answer: 2
Concepts used: β-keto acids decarboxylate, oxidative ozonolysis
Every past question tagged to the same part of the syllabus, with solutions.
All JEE Advanced questions on Carboxylic Acids and Derivatives · All JEE Advanced questions on Hydrocarbons
Past questions on the same topic (Carboxylic acids), each with a worked solution.
Timed, in the real format, and marked the moment you submit.