Key idea: An ideal diode conducts only when forward biased. Here it acts as a half-wave rectifier.
- The diode's anode is on the input side, so it conducts when the input is positive.
- In the +5 V half, the diode is forward biased (ideal, so no drop) and the output across RL is +5 V.
- In the −5 V half, the diode is reverse biased, no current flows, and the output is 0 V.
- So the output is a pulse train switching between 0 and +5 V.
Answer: (D) the +5 V square pulse