Skip to main content
QUICK REVIEW

[Paper Review] Large Language Models in Computer Science Education: A Systematic Literature Review

Nishat Raihan, Mohammed Latif Siddiq|arXiv (Cornell University)|Oct 21, 2024
Online Learning and AnalyticsComputer Science5 citations
TL;DR

An SLR surveying 125 studies on the impact of large language models (LLMs) in CS/CE education, focusing on education level, CS sub-disciplines, methodologies, programming languages, and LLMs used.

ABSTRACT

Large language models (LLMs) are becoming increasingly better at a wide range of Natural Language Processing tasks (NLP), such as text generation and understanding. Recently, these models have extended their capabilities to coding tasks, bridging the gap between natural languages (NL) and programming languages (PL). Foundational models such as the Generative Pre-trained Transformer (GPT) and LLaMA series have set strong baseline performances in various NL and PL tasks. Additionally, several models have been fine-tuned specifically for code generation, showing significant improvements in code-related applications. Both foundational and fine-tuned models are increasingly used in education, helping students write, debug, and understand code. We present a comprehensive systematic literature review to examine the impact of LLMs in computer science and computer engineering education. We analyze their effectiveness in enhancing the learning experience, supporting personalized education, and aiding educators in curriculum development. We address five research questions to uncover insights into how LLMs contribute to educational outcomes, identify challenges, and suggest directions for future research.

Motivation & Objective

  • Assess the educational levels where LLMs are used in CS/CE education.
  • Identify CS sub-disciplines most studied with LLMs and gaps in advanced topics.
  • Characterize research methodologies employed in LLM-CS education studies.
  • Determine the programming languages most frequently targeted in LLM studies.
  • Catalog the LLMs used in CS education research and explain why certain models are prevalent.

Proposed method

  • Systematic literature review following Kitchenham and Charters guidelines.
  • Comprehensive search across ACM DL, IEEE Xplore, Scopus, ACL Anthology, Web of Science, Springer Link, ScienceDirect, and ArXiv.
  • Inclusion criteria: full papers in English, 2019–2024, focus on code LLMs teaching CS concepts.
  • Exclusion criteria: duplicates, abstracts/posters, surveys/SLRs.
  • Data extraction of educational level, CS sub-discipline, programming language focus, LLMs, and methodologies.

Experimental results

Research questions

  • RQ1RQ1: What educational levels (undergraduate, graduate, PhD, K-12, professional) are addressed by LLM studies in CS education?
  • RQ2RQ2: What CS sub-disciplines are the focus of the studies, and what areas are underrepresented?
  • RQ3RQ3: What research methodologies are predominantly used in these studies?
  • RQ4RQ4: Which programming languages are most commonly studied in conjunction with LLMs?
  • RQ5RQ5: Which LLMs are most frequently used in CS education research and why?

Key findings

  • 111 papers focus on undergraduate CS education; 15 on graduate courses; 4 on PhD courses; 2 on K-12; 1 workplace/corporate context.
  • 67% of studies focus on introductory programming and introductory CS; advanced CS concepts are less represented.
  • 38% use case studies/ethnography; 24% use action research; 24 studies run experiments with students; other methods include data-centric analysis and grounded theory.
  • Python is studied in 55% of papers, followed by Java; languages like JavaScript/C/C++ are less represented.
  • ChatGPT (GPT-3.5 predominately) is the most used LLM due to timing/cost, with GPT-4, Copilot, BingAI, Bard, Gemini also present; 26 models were used only once.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.