While on a day trip to a hands-on science museum, Marge feels sorry for Ralph Wiggum being bullied and suggests to Chief Wiggum that Ralph and Bart be play buddies, which Bart objects to -- until he realizes that Ralph is the son of an incompetent police chief and has police equipment at his disposal (including a master key that opens up every lock in town -- including one to an abandoned prison's electric chair).

* BrickJoke: Ralph mentions that he's friends with a leprechaun that tells him to burn things. In the end, when everyone is cheering for him, the leprechaun tells Ralph to burn down The Simpsons' house.
* ADayInTheLimelight: For Ralph and Bart, mostly.
* NoseNuggets: "I found a moon rock in my nose!"
-->'''Bart:''' Houston, we have a booger.
* SarcasmBlind: When Mrs. Krabappel asked the students seven times eight, Milhouse answered "low battery" (they were using calculators) and didn't understand her reaction to his answer was sarcastic.
* TheScrooge: Mr. Burns saved Mayor Quimby by cutting off the electricity supply to the electric chair, but his motives were less than noble. Burns simply wouldn't supply electricity to anyone who wasn't paying for it (though why would a prison still have electricity and a security guard if no-one's been using it for years?)
* ThrowTheDogABone: Lisa was the one to come up with a plan to save Mayor Quimby but the one congratulated was Ralph for suggesting to ask for her help. Lisa gives in out of pity.
* WhatDoesThisButtonDo: Bart presses the keyboards despite Frink telling him to stop. It's done to the point the compute crashes and catches fire.