Answer: The correct answer is Option 2.
Step-by-step explanation:
Hydrocarbons are defined as the compounds which have a covalent bond present between hydrogen and carbon atoms. For Example:
is a hydrocarbon.
are not considered as hydrocarbons.
For the given options:
Option 1: butanal
The chemical formula for this compound is

This is not considered as a hydrocarbon because a covalent bond is present between carbon and oxygen atom.
Option 2: butyne
The chemical formula for this compound is

This is considered as a hydrocarbon because covalent bonds are present between carbon and hydrogen atoms only.
Option 3: 2-butanol
The chemical formula for this compound is

This is not considered as a hydrocarbon because a covalent bond is present between carbon and oxygen atom.
Option 4: 2-butanone
The chemical formula for this compound is

This is not considered as a hydrocarbon because a covalent bond is present between carbon and oxygen atom.
From the above information, the correct answer is Option 2.