In the books, it's clearly written that Cho is one year ahead of Harry academically, but in Deathly Hallows we find Cho in the Room of Requirements with the other students. Given the fact that she should have graduated the previous year, what was she doing there?
More specifically, how did she manage to get into Hogwarts despite Snape being headmaster?