This document describes an active learning activity called Think-Pair-Share that was implemented in a Compiler Design course to help students understand intermediate code generation. Students first thought individually about sample intermediate code questions. They then discussed their answers in pairs before several pairs shared their concepts with the class. Most students participated actively and their understanding of intermediate code generation improved through discussing it with their peers. The activity addressed the course outcome of enabling students to understand intermediate code generation and syntax directed translation.