The 17-year-old was an ‘exemplary student’, the inquiry has been told.