A molecule ("P") on treatment with acid undergoes rearrangement and gives ("Q"). ("Q") on ozonolysis followed by reflux under alkaline condition gives ("R"). The structure of ("R") is given below.
The structure of ("P") is

From the JEE Main 2025 · 28 Jan · Shift 1 paper. Try it, check your answer, then read the worked solution below.
A molecule ("P") on treatment with acid undergoes rearrangement and gives ("Q"). ("Q") on ozonolysis followed by reflux under alkaline condition gives ("R"). The structure of ("R") is given below.
The structure of ("P") is

Try it yourself first, then check your working against this.
Worked solution
R is the intramolecular aldol product of octane-2,7-dione, which is what ozonolysis of 1,2-dimethylcyclohexene (Q) gives.
Q forms from a ring expansion. Protonating isopropenylcyclopentane (D), or ionising 1-isopropylcyclopentanol (A) followed by a hydride shift, gives the cation -cyclopentyl. That cation expands to the 1,2-dimethylcyclohexyl cation, which loses to give Q.
NTA's key accepts A or D.
(A)
Concepts used: ring expansion, ozonolysis then intramolecular aldol
Every past question tagged to the same part of the syllabus, with solutions.
All JEE Main questions on Alcohols, Phenols and Ethers · All JEE Main questions on Hydrocarbons · All JEE Main questions on Aldehydes and Ketones
Past questions on the same topic (Alcohols), each with a worked solution.
Timed, in the real format, and marked the moment you submit.