How did Harry pass any of his classes at Hogwarts? Like every book, he spent most of his years on near-death adventures. So how did he even manage to pass the first year? Let alone get to the 6th year, the 7th year makes sense cause he actually dropped out of school by then.