From First Law of Thermodyamics, ΔQ=ΔU+ΔW ...(1)
where ΔQ is Heat added, ΔU is change in internal energy and ΔW is work done.
For a cyclic process, ΔU is conserved and hence, constant.
For an isothermal process, ΔT is zero and from the internal energy and temperature relation we know that ΔU=mCΔT thus ΔU is also zero.
For Heat = Work, from (1) we know that ΔU is zero hence constant.
And for an adiabatic process, ΔQ=0 , thus ΔU=−ΔW and thus change in work leads to change in internal energy. Therefore, internal energy does not remain constant.