It looks like the only school subject that is useful in the through-the-trap-door adventure is Herbology. If the purpose of the Hogwarts series was to promote the value of academics as taught in schools, we may expect to see a little more of what the kids learn in their classes coming into play in this adventure.