The major product formed in the following reaction is

From the JEE Advanced 2021 · Paper 1 paper. Try it, check your answer, then read the worked solution below.
The major product formed in the following reaction is

Try it yourself first, then check your working against this.
Worked solution
Step 1. deprotonates the terminal alkyne, giving the acetylide .
Step 2. Na in liquid reduces the internal alkyne to the trans alkene. The acetylide anion is not reduced, and the terminal C≡C is restored on work-up.
Product. (E)-Undec-7-en-1-yne. (B)
Concepts used: terminal alkyne protected as its anion, Na/NH3 gives trans alkene
Every past question tagged to the same part of the syllabus, with solutions.
Past questions on the same topic (Alkynes), each with a worked solution.
Timed, in the real format, and marked the moment you submit.