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).
* BaitAndSwitch: During the science expo, there is a scene on an alien planet with “ARS” written in the Franchise/StarWars font. Turns out it’s an exhibit for “Mars”.
* 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.
** When they first enter the Knowledgeum, The Simpsons are introduced to the place by Troy [=McClure=] who warns them that their car might be subjected to repeated break-ins. Homer was the only one worried about that. After leaving we clearly see their car has broken windows.
* ADayInTheLimelight: For Ralph and Bart mostly, meaning that Creator/NancyCartwright gets to [[TalkingToHimself talk to herself through 90% of the episode]], as she also voices Nelson Muntz and Kearney.
* GettingCrapPastTheRadar: When Mr. Burns says "There's a rocket in my pocket!", Smithers says [[BiggerIsBetterInBed "You don't have to tell me, sir."]]
* IronicEcho: Lampshaded. Bart takes the police master key from Ralph, who laments, "I thought we were friends!" Moments later, Nelson grabs the key from Bart and plays keep-away. Bart says the same thing: "I thought we were friends."
--> '''Nelson''': Yeah, well, I hope the irony's not lost on you, Simpson.
* KarmaHoudini: The bullies, as usual, suffer no repercussions for turning on Bart and throwing away Ralph's master key, last seen walking off to find huckleberries.
* 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?)
* ShoutOut: The guns in the "Let's Make a Baby" game resemble the ''Millennium Falcon'' guns in ''Franchise/StarWars''.
** When the model rocket lands at Mr. Burns' pocket, he says "Smithers, there's a rocket in my pocket!", paraphrasing the Dr. Seuss story ''Literature/TheresAWocketInMyPocket'', [[WaxingLyrical as well as the song "Cool"]] from ''Theatre/WestSideStory''.
* SkeletonKey: Chief Wiggum has one, [[VisualPun which is shaped like a skull]], which opens every door in Springfield. Bart and Ralph steal it and get up to mayhem.
* SlapstickKnowsNoGender: Marge getting hit by the pendulum.
* 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.
* TooDumbToLive: Quimby seems to be actively trying to get himself killed with the electric chair.
* WhatDoesThisButtonDo: Bart presses the keyboard buttons on the visible computer despite Frink telling him to stop. It's done to the point the computer crashes and [[ExplosiveInstrumentation catches fire]].