Concept:
- The \(\equiv\)C-H hydrogen of a terminal alkyne is acidic (the \(sp\) carbon is highly electronegative), so it is replaced by sodium to give a sodium alkynide with the release of hydrogen: \(\text{R-C}\equiv\text{C-H}+\text{Na}\xrightarrow{\ \text{liq. NH}_3\ }\text{R-C}\equiv\text{C}^-\text{Na}^+ +\tfrac12\text{H}_2\).
- Alkenes and alkanes have no comparably acidic hydrogen, and internal alkynes have no hydrogen on a triply bonded carbon.
Step 1: Look for a hydrogen on the triply bonded carbon
Option (B), \(\text{CH}_3\text{CH}_2\text{C}\equiv\text{CH}\) (but-1-yne), has the terminal \(\equiv\)C-H group and so can lose a proton to sodium.
Step 2: Examine the other hydrocarbons
Options (A), \(\text{CH}_3\text{CH}_2\text{CH}_2\text{C}\equiv\text{CCH}_2\text{CH}_2\text{CH}_3\) (oct-4-yne), and (D), \(\text{CH}_3\text{CH}_2\text{C}\equiv\text{CCH}_2\text{CH}_3\) (hex-3-yne), are internal alkynes. They carry no hydrogen on the triple-bonded carbons, so they cannot form a sodium alkynide. Option (C), \(\text{CH}_3\text{CH=CHCH}_3\) (but-2-ene), is an alkene with only weakly acidic \(sp^3\) and \(sp^2\) hydrogens and does not react.
Step 3: Write the reaction
\[ \text{CH}_3\text{CH}_2\text{C}\equiv\text{CH}+\text{Na}\xrightarrow{\ \text{liq. NH}_3\ }\text{CH}_3\text{CH}_2\text{C}\equiv\text{C}^-\text{Na}^++\tfrac12\text{H}_2\uparrow \] Only a terminal alkyne reacts in this way, which is the test used to distinguish terminal from internal alkynes.
Step 4: Conclusion
Only a terminal alkyne has the acidic \(\equiv\)C-H hydrogen that sodium replaces in liquid ammonia, so the hydrocarbon is \(\text{CH}_3\text{CH}_2\text{C}\equiv\text{CH}\). Hence, the correct option is (B).