The correct option is
D Expansion of a gas into vacuum :
ΔE = q
Isothermal Process :
Temperature is constant hence △ E = 0
From 1st law of thermodynamics △ E = q + w
Since△ E is 0, hence q = -w
Cyclic Process :
In cyclic process, change in all state functions are zero, so △ E being state function = 0
From 1st law of thermodynamics △ E = q + w
Since △ E is 0, hence q = -w
Adiabatic Process :
In adiabatic process q = 0
Hence from 1st law of thermodynamics △ E = w
In free expansion :
In free expansion △T=0,q=0,w=0,△U=0
Hence, option D is correct.