The following compounds
hept-2-yne, , and hepta-1,4-diene, (drawn as skeletal formulas)
are

From the KVPY 2019 · Stream SA paper. Try it, check your answer, then read the worked solution below.
The following compounds
hept-2-yne, , and hepta-1,4-diene, (drawn as skeletal formulas)
are

Try it yourself first, then check your working against this.
Worked solution
Hept-2-yne and hepta-1,4-diene are both CH. One has a C≡C triple bond and the other has two C=C double bonds, so their functional groups differ.
They are functional group isomers.
(D)
Concepts used: alkynes and dienes share CnH2n-2, functional group isomers
Every past question tagged to the same part of the syllabus, with solutions.
Past questions on the same topic (Structural isomerism), each with a worked solution.
Timed, in the real format, and marked the moment you submit.