The correct option is D None of these
On heating, solid changes into liquid state which on further heating changes to gaseous state. Whereas on cooling, a gas changes into liquid and a liquid changes into solid. Heat energy is given out when the system is cooled. Thus,
I: Cooling, II: Heating, III: Heating, IV: Cooling, V: Heating, VI: Cooling
Hence, in I, IV and VI processes heat energy is given out.