TY - GEN
T1 - Bug Fixing versus Code Reading
T2 - 2021 IEEE International Conference on Engineering, Technology and Education, TALE 2021
AU - Kuramochi, Yuki
AU - Sakamoto, Kazunori
AU - Washizaki, Hironori
AU - Fukazawa, Yoshiaki
N1 - Publisher Copyright:
© 2021 IEEE.
PY - 2021
Y1 - 2021
N2 - In algorithm learning, it is necessary to read the example code of the algorithm. However, code reading lacks a clear termination condition, so there are two problems: 1) learners tend to end learning with insufficient understanding and 2) it is difficult for learners to maintain their motivation for learning. As an alternative to code reading, herein we propose a method to read and fix code containing bugs. We created a system and recruited 40 subjects for the evaluation experiments. A group (fixing bugs to learn Tower of Hanoi) had significantly better test scores (p-value: 0.0332) compared to the other group (reading code to learn Sieve of Eratosthenes). However, when the two groups were combined and analyzed, no significant difference was found. Since a ceiling effect was observed from the confirmation questions of the Sieve of Eratosthenes and the overall score was higher for Group A, and there is a possibility of bias both between questions and between groups, more rigorous experiments should be conducted in the future.
AB - In algorithm learning, it is necessary to read the example code of the algorithm. However, code reading lacks a clear termination condition, so there are two problems: 1) learners tend to end learning with insufficient understanding and 2) it is difficult for learners to maintain their motivation for learning. As an alternative to code reading, herein we propose a method to read and fix code containing bugs. We created a system and recruited 40 subjects for the evaluation experiments. A group (fixing bugs to learn Tower of Hanoi) had significantly better test scores (p-value: 0.0332) compared to the other group (reading code to learn Sieve of Eratosthenes). However, when the two groups were combined and analyzed, no significant difference was found. Since a ceiling effect was observed from the confirmation questions of the Sieve of Eratosthenes and the overall score was higher for Group A, and there is a possibility of bias both between questions and between groups, more rigorous experiments should be conducted in the future.
KW - code reading
KW - mutation analysis
KW - programming education
UR - http://www.scopus.com/inward/record.url?scp=85125962631&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85125962631&partnerID=8YFLogxK
U2 - 10.1109/TALE52509.2021.9678866
DO - 10.1109/TALE52509.2021.9678866
M3 - Conference contribution
AN - SCOPUS:85125962631
T3 - TALE 2021 - IEEE International Conference on Engineering, Technology and Education, Proceedings
SP - 218
EP - 225
BT - TALE 2021 - IEEE International Conference on Engineering, Technology and Education, Proceedings
PB - Institute of Electrical and Electronics Engineers Inc.
Y2 - 5 December 2021 through 8 December 2021
ER -