In the following reaction A is :

From the JEE Main 2020 · 9 Jan · Shift 2 paper. Try it, check your answer, then read the worked solution below.
In the following reaction A is :

Try it yourself first, then check your working against this.
Worked solution
Work back. Cyclopent-1-ene-1-carbaldehyde is the intramolecular aldol condensation product of hexane-1,6-dial.
Forward from cyclohexane. Bromination gives bromocyclohexane; elimination gives cyclohexene; ozonolysis with reductive workup gives OHC(CH₂)₄CHO; base and heat then give the cyclic aldol product.
So A is cyclohexane.
(B)
Concepts used: ozonolysis then aldol
Every past question tagged to the same part of the syllabus, with solutions.
All JEE Main questions on Aldehydes and Ketones · All JEE Main questions on Hydrocarbons
Past questions on the same topic (Aldol and related condensations), each with a worked solution.
Timed, in the real format, and marked the moment you submit.