Improving Instruction of Programming Patterns with Faded Parsons Problems
Abstract
Learning to recognize and apply programming patterns — reusable abstractions of code — is critical to becoming a proficient computer scientist. However, many introductory Computer Science courses do not teach patterns, in part because teaching these concepts requires significant curriculum changes. As an alternative, we explore how a novel user interface for practicing coding — Faded Parsons Problems — can support introductory Computer Science students in learning to apply programming patterns. We ran a classroom-based study with 237 students which found that Faded Parsons Problems, or rearranging and completing partially blank lines of code into a valid program, are an effective exercise interface for teaching programming patterns, significantly surpassing the performance of the more standard approaches of code writing and code tracing exercises. Faded Parsons Problems also improve overall code writing ability at a comparable level to code writing exercises, but are preferred by students.
- Venue
- CHI 2021
- Volume
- Proceedings of the 2021 CHI Conference on Human Factors in Computing Systems
- DOI
- 10.1145/3411764.3445228
- https://dl.acm.org/doi/pdf/10.1145/3411764.3445228
- Anthology ID
2021.chi.187
Cite
@inproceedings{weinman-etal-2021-improving,
title = {{Improving Instruction of Programming Patterns with Faded Parsons Problems}},
author = {Nathaniel Weinman and Armando Fox and Marti A. Hearst},
booktitle = {Proceedings of the 2021 CHI Conference on Human Factors in Computing Systems},
isbn = {9781450380966},
year = {2021},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
doi = {10.1145/3411764.3445228},
url = {https://doi.org/10.1145/3411764.3445228},
abstract = {Learning to recognize and apply programming patterns — reusable abstractions of code — is critical to becoming a proficient computer scientist. However, many introductory Computer Science courses do not teach patterns, in part because teaching these concepts requires significant curriculum changes. As an alternative, we explore how a novel user interface for practicing coding — Faded Parsons Problems — can support introductory Computer Science students in learning to apply programming patterns. We ran a classroom-based study with 237 students which found that Faded Parsons Problems, or rearranging and completing partially blank lines of code into a valid program, are an effective exercise interface for teaching programming patterns, significantly surpassing the performance of the more standard approaches of code writing and code tracing exercises. Faded Parsons Problems also improve overall code writing ability at a comparable level to code writing exercises, but are preferred by students.}
}