Analogies have a long, and sometimes controversial, history of use in teaching. The question of whether instructor-provided analogies or student-generated ones are more effective for learning in computer science has not been answered. In this study, we examined three different analogy treatments: no analogy, an analogy provided by the instructor, and analogies generated by students during an in-class exercise. We applied these treatments over two offerings of the Operating Systems (OS) course at our institution. We found no statistically significant results across these three treatments. Sometimes students who received no analogy performed better and at other times students who received either the student-generated analogies treatment or the instructor-provided analogies treatment performed better. We also compared the use of either analogy treatment to the use of no analogy, again finding no statistically significant differences. We conclude that instructors can select the teaching method most applicable to their lesson. If an active learning component is needed, then selecting the student-generated analogies option was found, anecdotally, to generate high student engagement. If time is short, the analogy can be skipped altogether.
The full paper will be available to logged in and registered conference attendees once the conference starts on June 22, 2025, and to all visitors after the conference ends on June 25, 2025