[Paper Review] Performance of Large Language Models in a Computer Science Degree Program
This study evaluates large language models (LLMs) like GPT-4.0, ChatGPT-3.5, BingAI, and LLaMA variants in a computer science undergraduate curriculum. By prompting models with lecture content, exercises, and past exams across 10 modules, it finds GPT-4.0 achieved 80.2% average score—yet still failed the degree due to weak mathematical reasoning, highlighting critical limitations despite strong performance in text-based tasks.
Large language models such as ChatGPT-3.5 and GPT-4.0 are ubiquitous and dominate the current discourse. Their transformative capabilities have led to a paradigm shift in how we interact with and utilize (text-based) information. Each day, new possibilities to leverage the capabilities of these models emerge. This paper presents findings on the performance of different large language models in a university of applied sciences' undergraduate computer science degree program. Our primary objective is to assess the effectiveness of these models within the curriculum by employing them as educational aids. By prompting the models with lecture material, exercise tasks, and past exams, we aim to evaluate their proficiency across different computer science domains. We showcase the strong performance of current large language models while highlighting limitations and constraints within the context of such a degree program. We found that ChatGPT-3.5 averaged 79.9% of the total score in 10 tested modules, BingAI achieved 68.4%, and LLaMa, in the 65 billion parameter variant, 20%. Despite these convincing results, even GPT-4.0 would not pass the degree program - due to limitations in mathematical calculations.
Motivation & Objective
- To assess the effectiveness of large language models (LLMs) as educational aids within a computer science undergraduate curriculum.
- To evaluate LLM performance across diverse computer science modules, including theoretical, programming, and mathematical components.
- To identify strengths and limitations of leading LLMs—especially GPT-4.0, ChatGPT-3.5, BingAI, and LLaMA variants—when applied to academic tasks.
- To examine whether current LLMs could serve as viable tools for student learning or pose risks to academic integrity.
- To inform curriculum design and assessment strategies in light of LLM capabilities and shortcomings.
Proposed method
- Collected 40 data points by testing LLMs on real course materials, including lecture notes, exercises, and past exams from 10 computer science modules.
- Used standardized prompts based on actual course content to ensure consistency and real-world relevance.
- Evaluated models on both text-based reasoning and mathematical problem-solving tasks, with scores normalized to a percentage of total possible points.
- Selected models spanning different architectures and parameter scales: GPT-4.0, ChatGPT-3.5, BingAI, LLaMA-65B-Q, LLaMA-7B-Q, and StableLM-7B.
- Applied a comparative evaluation framework, calculating average scores per model across tested modules.
- Assessed model behavior for context retention, factual accuracy, and coherence, especially in complex or calculation-heavy tasks.
Experimental results
Research questions
- RQ1How do leading LLMs perform on real undergraduate computer science course materials, including exams and exercises?
- RQ2What are the key strengths and weaknesses of GPT-4.0, ChatGPT-3.5, BingAI, and smaller LLMs like LLaMA-65B-Q in academic computer science tasks?
- RQ3To what extent can LLMs pass a computer science degree program based on their performance across multiple modules?
- RQ4How do mathematical reasoning and calculation accuracy affect LLM performance in technical computer science domains?
- RQ5Can LLMs serve as effective educational aids in higher education, or do their limitations undermine their utility?
Key findings
- GPT-4.0 achieved an average score of 80.2% across six tested modules, demonstrating strong performance in text-based and conceptual computer science tasks.
- ChatGPT-3.5 scored 79.9% across ten modules, passing nine out of ten, indicating high reliability in non-mathematical domains.
- BingAI scored 68.4% across ten modules, failing two—particularly struggling with non-searchable or contextually complex questions.
- LLaMA-65B-Q achieved 20.0% average score across two modules, showing limited capability and failing to solve any task correctly.
- LLaMA-7B-Q scored only 12.3% across six modules and failed all tasks, often losing context or generating irrelevant content.
- StableLM-7B recorded the lowest score at 10.8%, failing to answer any question correctly and frequently misinterpreting questions in a business context.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.