An Experiment on Using Roles of Variables in Teaching Introductory Programming
Autor: | Jorma Sajaniemi, Marja Kuittinen |
---|---|
Rok vydání: | 2005 |
Předmět: | |
Zdroj: | Computer Science Education. 15:59-82 |
ISSN: | 1744-5175 0899-3408 |
DOI: | 10.1080/08993400500056563 |
Popis: | Roles of variables is a new concept that captures tacit expert knowledge in a form that can be taught in introductory programming courses. A role describes some stereotypic use of variables, and only ten roles are needed to cover 99% of all variables in novice-level programs. This paper presents the results of an experiment where roles were introduced to novices learning Pascal programming. Students were divided into three groups that were instructed differently: in the traditional way with no treatment of roles; using roles throughout the course; and using a role-based program animator in addition to using roles in teaching. The results show that students are not only able to understand the role concept and to apply it in new situations but—more importantly—that roles provide students a new conceptual framework that enables them to mentally process program information in a way demonstrating good programming skills. Moreover, the use of the animator seems to foster the adoption of role knowledge. |
Databáze: | OpenAIRE |
Externí odkaz: |