The number of hydroxyl group(s) in Q is

From the JEE Advanced 2015 · Paper 2 paper. Try it, check your answer, then read the worked solution below.
The number of hydroxyl group(s) in Q is

Try it yourself first, then check your working against this.
Worked solution
H⁺, heat. The secondary alcohol ionises. A 1,2-methyl shift from the neighbouring gem-dimethyl carbon gives a tertiary cation, which loses H⁺ to form a tetrasubstituted C=C. P is a diene: this new double bond plus the original one in the other ring.
Cold dilute KMnO₄ (excess). Syn-dihydroxylation of both C=C bonds gives Q, a tetraol.
Answer: 4
Concepts used: acid dehydration with methyl shift gives a diene, cold dilute KMnO₄ dihydroxylates both C=C
Every past question tagged to the same part of the syllabus, with solutions.
All JEE Advanced questions on Hydrocarbons · All JEE Advanced questions on Alcohols, Phenols and Ethers · All JEE Advanced questions on General Organic Chemistry
Past questions on the same topic (Alkenes), each with a worked solution.
Timed, in the real format, and marked the moment you submit.