Exploring the Applicability of Simple Syntax Writing Practice for Learning Programming

Forskningsoutput: Kapitel i bok/rapport/konferenshandlingKonferensbidragVetenskapligPeer review


When learning programming, students learn the syntax of a programming language, the semantics underlying the syntax, and practice applying the language in solving programming problems. Research has suggested that simply the syntax may be hard to learn. In this article, we study difficulty of learning the syntax of a programming language. We have constructed a tool that provides students code that they write character-by-character. When writing, the tool automatically highlights each character in code that is incorrectly typed, and through the highlight-based feedback directs students into writing correct syntax. We conducted a randomized controlled trial in an introductory programming course organized in Java. One half of the population had the tool in the course material immediately before programming exercises where the practiced syntax was used, while the other half of the course population did not have the tool, thus approaching the exercises in a traditional way. Our results imply that isolated syntax writing practice may not be a meaningful addition to the arsenal used for teaching programming, at least when the programming course utilizes a large set of small programming exercises. We encourage researchers to replicate our work in contexts where syntax seems to be an issue.
Titel på gästpublikationProceedings of the 50th ACM Technical Symposium on Computer Science Education
Antal sidor7
UtgivningsortNew York
Utgivningsdatum22 feb 2019
ISBN (elektroniskt)978-1-4503-5890-3
StatusPublicerad - 22 feb 2019
MoE-publikationstypA4 Artikel i en konferenspublikation
EvenemangThe 50th ACM Technical Symposium on Computer Science Education (SIGCSE 2019) - Hyatt Regency Minneapolis and the Millennium Minneapolis, Minneapolis, Förenta Staterna (USA)
Varaktighet: 27 feb 20192 mar 2019
Konferensnummer: 50


  • 113 Data- och informationsvetenskap
  • 516 Pedagogik

Citera det här