Roles of Variables in Teaching
InSITE 2007 • Volume 7 • 2007
Expert programmers possess schemas, abstractions of concrete experiences, which help them solve programming problems. Stereotypes of variable use in computer programs can be characterized using roles of variables, which can be taught to novices in order to support schema formation. This paper describes the ’lightweight’ adoption of roles of variables in our teaching of introductory programming. We discuss the changes made to our courses, our experiences with this process, and some preliminary results of how our students took to roles of variables. Roles provided us with a new way to improve our teaching materials and methods. They are easily linked to code and to pseudocode designs, and we found them easy to use both as a documentative tool and for the stepwise refinement of programs. Our results indicate that more than a very ’lightweight’ introduction of roles is needed in order for students to adopt them into active use.
roles of variables, teaching, CS1, CS2, lightweight introduction.
533 total downloads