If in a junction diode, a square input signal of 10 V is applied as shown 

Then the output signal across will be
Key idea: An ideal diode conducts only when forward biased. Here it acts as a half-wave rectifier.
Answer: (D) the V square pulse
Tagged Diode circuits and rectifiers. Machine-assigned, so read it as a strong shortlist rather than a verdict.