JC student tackled exams - and cancer - from hospital