If your classroom has a lot of dudes in it, and like 40+ people in total, wait until everyone is leaving and sit in the doorway.
Just sit there and smell and you will start to smell at least one fart.
It's pretty much because people will always fart in the doorway because while people are bumrushing through the compact space, nobody has any way of telling who did it.