Cargando…
Learning From Errors: Exploring the Effectiveness of Enhanced Error Messages in Learning to Program
Error messages provided by the programming environments are often cryptic and confusing to learners. This study explored the effectiveness of enhanced programming error messages (EPEMs) in a Python-based introductory programming course. Participants were two groups of middle school students. The con...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Frontiers Media S.A.
2021
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8669433/ https://www.ncbi.nlm.nih.gov/pubmed/34916998 http://dx.doi.org/10.3389/fpsyg.2021.768962 |
_version_ | 1784614779310047232 |
---|---|
author | Zhou, Zihe Wang, Shijuan Qian, Yizhou |
author_facet | Zhou, Zihe Wang, Shijuan Qian, Yizhou |
author_sort | Zhou, Zihe |
collection | PubMed |
description | Error messages provided by the programming environments are often cryptic and confusing to learners. This study explored the effectiveness of enhanced programming error messages (EPEMs) in a Python-based introductory programming course. Participants were two groups of middle school students. The control group only received raw programming error messages (RPEMs) and had 35 students. The treatment group received EPEMs and had 33 students. During the class, students used an automated assessment tool called Mulberry to practice their programming skill. Mulberry automatically collected all the solutions students submitted when solving programming problems. Data analysis was based on 6339 student solutions collected by Mulberry. Our results showed that EPEMs did not help to reduce student errors or improve students’ performance in debugging. The ineffectiveness of EPEMs may result from reasons such as the inaccuracy of the interpreter’s error messages or students not reading the EPEMs. However, the viewpoint of productive failure may provide a better explanation of the ineffectiveness of EPEMs. The failures in coding and difficulties in debugging can be resources for learning. We recommend that researchers reconsider the role of errors in code and investigate whether and how failures and debugging contribute to the learning of programming. |
format | Online Article Text |
id | pubmed-8669433 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2021 |
publisher | Frontiers Media S.A. |
record_format | MEDLINE/PubMed |
spelling | pubmed-86694332021-12-15 Learning From Errors: Exploring the Effectiveness of Enhanced Error Messages in Learning to Program Zhou, Zihe Wang, Shijuan Qian, Yizhou Front Psychol Psychology Error messages provided by the programming environments are often cryptic and confusing to learners. This study explored the effectiveness of enhanced programming error messages (EPEMs) in a Python-based introductory programming course. Participants were two groups of middle school students. The control group only received raw programming error messages (RPEMs) and had 35 students. The treatment group received EPEMs and had 33 students. During the class, students used an automated assessment tool called Mulberry to practice their programming skill. Mulberry automatically collected all the solutions students submitted when solving programming problems. Data analysis was based on 6339 student solutions collected by Mulberry. Our results showed that EPEMs did not help to reduce student errors or improve students’ performance in debugging. The ineffectiveness of EPEMs may result from reasons such as the inaccuracy of the interpreter’s error messages or students not reading the EPEMs. However, the viewpoint of productive failure may provide a better explanation of the ineffectiveness of EPEMs. The failures in coding and difficulties in debugging can be resources for learning. We recommend that researchers reconsider the role of errors in code and investigate whether and how failures and debugging contribute to the learning of programming. Frontiers Media S.A. 2021-11-30 /pmc/articles/PMC8669433/ /pubmed/34916998 http://dx.doi.org/10.3389/fpsyg.2021.768962 Text en Copyright © 2021 Zhou, Wang and Qian. https://creativecommons.org/licenses/by/4.0/This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms. |
spellingShingle | Psychology Zhou, Zihe Wang, Shijuan Qian, Yizhou Learning From Errors: Exploring the Effectiveness of Enhanced Error Messages in Learning to Program |
title | Learning From Errors: Exploring the Effectiveness of Enhanced Error Messages in Learning to Program |
title_full | Learning From Errors: Exploring the Effectiveness of Enhanced Error Messages in Learning to Program |
title_fullStr | Learning From Errors: Exploring the Effectiveness of Enhanced Error Messages in Learning to Program |
title_full_unstemmed | Learning From Errors: Exploring the Effectiveness of Enhanced Error Messages in Learning to Program |
title_short | Learning From Errors: Exploring the Effectiveness of Enhanced Error Messages in Learning to Program |
title_sort | learning from errors: exploring the effectiveness of enhanced error messages in learning to program |
topic | Psychology |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8669433/ https://www.ncbi.nlm.nih.gov/pubmed/34916998 http://dx.doi.org/10.3389/fpsyg.2021.768962 |
work_keys_str_mv | AT zhouzihe learningfromerrorsexploringtheeffectivenessofenhancederrormessagesinlearningtoprogram AT wangshijuan learningfromerrorsexploringtheeffectivenessofenhancederrormessagesinlearningtoprogram AT qianyizhou learningfromerrorsexploringtheeffectivenessofenhancederrormessagesinlearningtoprogram |