Mrs. Krabappel, fed up with Bart's lackadaisical approach to his studies, gives him an ultimatum: shape up or repeat the fourth grade.
Bart disappoints Marge yet again by his appalling history grades and the school psychiatrist reckons that unless he shapes up, he must sit the fourth grade again next year. But if he can successfully pass the history paper one last time he will be clear. Since Martin refuses to help, Bart prays for a miracle - which comes in the form of a snow storm which closes the school and gives him extra revision time.—don @ minifie-1
Bart is continually failing tests and is warned that if he fails an upcoming history exam, he will be held back to repeat the fourth grade. Not wanting to be held back, Bart enlists the help of Martin Prince, the class brain, to study for the history test, in exchange for Bart teaching Martin how to be cool.