Chemistry: A Molecular Approach (3rd Edition)

$C_7H_{12}$ is an alkyne.
Alkynes have the general formula of $C_nH_{2n-2}$ , where n is a positive integer. $C_7H_{12}$ fits in this formula where n = 7. Hence it is an alkyne.