The Simpsons: Season 3, Episode 18
The results from their aptitude tests cause Bart and Lisa to make 180-degree turns in their behavior.