Bart fails a test and is told that he has one more chance to pass it or else he will be held back a year. Bart tries to get the class genius Martin Prince to help him, but after that fails, Bart prays for help. That night, Springfield is hit with a massive blizzard and the school is closed, giving Bart one more day to study. Despite his desperate attempts, Bart fails the test again. While crying, he mentions an obscure historical event and Mrs. Krabappel, noting that he applied practical knowledge, passes him.