How teachers would help students to improve their code

H.W. Keuning, B.J. Heeren, J.T. Jeuring

Research output: Chapter in Book/Report/Conference proceedingConference Article in proceedingAcademicpeer-review

284 Downloads (Pure)

Abstract

Code quality has been receiving less attention than program correctness in both the practice of and research into programming education. Writing poor quality code might be a sign of carelessness, or not fully understanding programming concepts and language constructs. Teachers play an important role in addressing quality issues, and encouraging students to write better code as early as possible.

In this paper we explore to what extent teachers address code quality in their teaching, which code quality issues they observe and how they would help novices to improve their code. We presented student code of low quality to 30 experienced teachers and asked them which hints they would give and how the student should improve the code step by step. We compare these hints to the output of professional code quality tools.

Although most teachers gave similar hints on reducing the algorithmic complexity and removing clutter, they gave varying subsets of hints on other topics. We found a large variety in how they would solve issues in code. We noticed that professional code quality tools do not point out the algorithmic complexity topics that teachers mention. Finally, we give some general guidelines on how to approach code improvement.
Original languageEnglish
Title of host publicationITiCSE 2019 - Proceedings of the 2019 ACM Conference on Innovation and Technology in Computer Science Education
Subtitle of host publicationProceedings of the 2019 ACM Conference on Innovation and Technology in Computer Science Education
Place of PublicationNew York
PublisherAssociation for Computing Machinery (ACM)
Pages119-125
Number of pages7
ISBN (Electronic)9781450363013
DOIs
Publication statusPublished - 2 Jul 2019
Eventthe 24th Annual Conference on Innovation and Technology in Computer Science Education - University of Aberdeen, King’s College, Regent Walk, Aberdeen, United Kingdom
Duration: 15 Jul 201917 Jul 2019
https://iticse.acm.org/ITiCSE2019/

Conference

Conferencethe 24th Annual Conference on Innovation and Technology in Computer Science Education
Abbreviated titleITiCSE 2019
Country/TerritoryUnited Kingdom
CityAberdeen
Period15/07/1917/07/19
Internet address

Fingerprint

Dive into the research topics of 'How teachers would help students to improve their code'. Together they form a unique fingerprint.

Cite this