"Why is my code slow?" Efficiency Bugs in Student Code
Author(s)
Dargan, Hope; Gilbert-Diamond, Adam; Hartz, Adam; Miller, Robert
Download3641554.3701939.pdf (946.2Kb)
Publisher with Creative Commons License
Publisher with Creative Commons License
Creative Commons Attribution
Terms of use
Metadata
Show full item recordAbstract
While prior research has categorized common errors and code quality issues of student programmers, little attention has been paid to researching student efficiency bugs. Qualitative content analysis of 250 slow student submissions across five CS2 assignments yielded over 750 efficiency bugs. Extracting general themes resulted in an efficiency bug taxonomy with three main categories: superfluous computation, suboptimal data structure design, and suboptimal algorithm design, with 12 subcategories. Analysis of specific bug frequencies across the assignments provided insights that may inform content design for programming courses.
Description
SIGCSE TS 2025, February 26-March 1, 2025, Pittsburgh, PA, USA
Date issued
2025-02-12Department
Massachusetts Institute of Technology. Computer Science and Artificial Intelligence LaboratoryPublisher
ACM|Proceedings of the 56th ACM Technical Symposium on Computer Science Education V. 1
Citation
Dargan, Hope, Gilbert-Diamond, Adam, Hartz, Adam and Miller, Robert. 2025. ""Why is my code slow?" Efficiency Bugs in Student Code."
Version: Final published version
ISBN
979-8-4007-0531-1
Collections
The following license files are associated with this item: