Abstract | ||
---|---|---|
Understanding basic manipulation of object references is a conceptual prerequisite to understanding many data structures, beginning with linked lists and trees. Unfortunately, there is often a gap between introductory programming courses that introduce reference variables and creation of objects, and second-semester programming courses that immediately skip to introducing linked lists. As a consequence, students begin using references extensively during Data Structures and Algorithms courses without enough knowledge about how references work. To fill this gap, we created a tutorial about basic use of references and the manipulation of objects using references. The tutorial, implemented as part of the OpenDSA eTextbook system, focuses on learning through visualizations and interactive exercises. Students work a series of small code-writing exercises, inspired by the JhavePOP system. These exercises use simple program visualization to let students see the result of running their program. Manipulative exercises test student proficiency at reading and understanding small sections of code that use references to link objects. All exercises are automatically assessed, providing immediate feedback. Our evaluation of the tutorial's effectiveness will focus on identifying and correcting student misconceptions. Optional sections of the tutorial introduce the program stack and the dynamic memory heap.
|
Year | DOI | Venue |
---|---|---|
2018 | 10.1145/3159450.3162259 | SIGCSE '18: The 49th ACM Technical Symposium on Computer Science Education
Baltimore
Maryland
USA
February, 2018 |
Keywords | Field | DocType |
Pointers,references,objects,program visualization,dynamic memory allocation | Data structure,Pointer (computer programming),Linked list,C dynamic memory allocation,Visualization,Computer science,Heap (data structure),Multimedia,Interactive Tutorial | Conference |
ISBN | Citations | PageRank |
978-1-4503-5103-4 | 0 | 0.34 |
References | Authors | |
0 | 5 |
Name | Order | Citations | PageRank |
---|---|---|---|
Mostafa Mohammed | 1 | 0 | 1.01 |
Sushma Mandava | 2 | 0 | 0.34 |
Jieun Chon | 3 | 0 | 0.34 |
Margaret Ellis | 4 | 0 | 2.70 |
Clifford A. Shaffer | 5 | 999 | 131.98 |