Repository logo
Log in(current)
Repository logoMIT Open ScholarshipDSpace@MIT
  1. Home
  2. MIT Open Access Articles
  3. MIT Open Access Articles
  4. "Why is my code slow?" Efficiency Bugs in Student Code

"Why is my code slow?" Efficiency Bugs in Student Code

Thumbnail Image
Download
Name

3641554.3701939.pdf

Size

946.24 KB

Format

Adobe PDF

Checksum (MD5)

55f4a0ad06d6c6a08ba1e81a9e8656ba

Download all files submitted through automated deposit
3641554.3701939.zip (906.7 KB)
Author(s)
Dargan, Hope
•
Gilbert-Diamond, Adam
•
Hartz, Adam
•
Miller, Robert
Date Issued
February 12, 2025
Publisher
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
Abstract
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
MIT Department
Massachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory
Terms of Use
Creative Commons Attribution-ShareAlike
https://creativecommons.org/licenses/by-sa/4.0/
Persistent DSpace Link
https://hdl.handle.net/1721.1/158329
DOI of Published Version
https://doi.org/10.1145/3641554.3701939
Repository logo
PrivacyPermissionsAccessibilityContact us
Repository logo
Notify us about copyright concerns.