Animated Examples as Practice Content in a Java Programming Course

Roya Hosseini, Teemu Sirkiä, Julio Guerra, Peter Brusilovsky, Lauri Malmi
2016 Proceedings of the 47th ACM Technical Symposium on Computing Science Education - SIGCSE '16  
Code examples are commonly used learning resources that help students grasp various programming structures and concepts. However, example code usually requires explanations about what each line or part of the code does. Otherwise, students may find it difficult to follow an example. In this paper, we compare two types of code examples that use different techniques to describe important concepts in the code: annotated and animated examples. The former displays an explanation for a subset of
more » ... in plain text, whereas the latter visualizes code execution. We studied the use and impact of these enhanced examples, provided as non-mandatory practice content, in three introductory Java courses. Our results suggest that animated examples are more engaging and have a positive impact on students' learning. As compared to annotated examples, students spent more time with animated examples and more likely completed them. Also, a positive relationship was found between the number of explored animated examples and the overall course grade.
doi:10.1145/2839509.2844639 dblp:conf/sigcse/HosseiniSGBM16 fatcat:r7vlcldfljfexljrzdf6xa3agq