The trio sang a song called Swag, which sounded similar to the chorus of Fame, by Irene Cara.
When Bart takes his ADD meds he says "The sum of any two sides of an Isoleces triangle is equal to the square root of the remaining side". This is what the Scarecrow in The Wizard of Oz said after getting a brain. Lisa says that isn't right, Bart corrects her by saying they're his lines as the Scarecrow in The Wizard of Oz. This is similar to when Homer finds Henry Kissinger's glasses in the toilet and references the scarecrow and a guy corrects him by saying it's a right triangle in "$pringfield (Or, How I Learned to Stop Worrying and Love Legalized Gambling)".
The picture of Moe's Grandma with the text "To Moe- What a World!" and the fact that water killed her, is a reference to the wicked witch in The Wizard of Oz.