English

Utilizing ChatGPT in a Data Structures and Algorithms Course: A Teaching Assistant's Perspective

Human-Computer Interaction 2025-03-04 v2 Artificial Intelligence Data Structures and Algorithms

Abstract

Integrating large language models (LLMs) like ChatGPT into computer science education offers transformative potential for complex courses such as data structures and algorithms (DSA). This study examines ChatGPT as a supplementary tool for teaching assistants (TAs), guided by structured prompts and human oversight, to enhance instruction and student outcomes. A controlled experiment compared traditional TA-led instruction with a hybrid approach where TAs used ChatGPT-4o and ChatGPT o1 to generate exercises, clarify concepts, and provide feedback. Structured prompts emphasized problem decomposition, real-world context, and code examples, enabling tailored support while mitigating over-reliance on AI. Results demonstrated the hybrid approach's efficacy, with students in the ChatGPT-assisted group scoring 16.50 points higher on average and excelling in advanced topics. However, ChatGPT's limitations necessitated TA verification. This framework highlights the dual role of LLMs: augmenting TA efficiency while ensuring accuracy through human oversight, offering a scalable solution for human-AI collaboration in education.

Keywords

Cite

@article{arxiv.2410.08899,
  title  = {Utilizing ChatGPT in a Data Structures and Algorithms Course: A Teaching Assistant's Perspective},
  author = {Pooriya Jamie and Reyhaneh Hajihashemi and Sharareh Alipour},
  journal= {arXiv preprint arXiv:2410.08899},
  year   = {2025}
}

Comments

Accepted at CHI EA '25 (Extended Abstracts of the CHI Conference on Human Factors in Computing Systems, 2025). The final version is available at the External DOI

R2 v1 2026-06-28T19:17:57.774Z