Skip to main content
QUICK REVIEW

[Paper Review] Analyzing ChatGPT's Aptitude in an Introductory Computer Engineering Course

Sanjay Deshpande, Jakub Szefer|arXiv (Cornell University)|Mar 13, 2023
Artificial Intelligence in Healthcare and EducationMedicine5 citations
TL;DR

This study evaluates GPT-3 via ChatGPT and the OpenAI API in an introductory computer engineering course at Yale University, assessing its performance across quizzes, homework, exams, and lab tasks. While it generates accurate, human-like answers for conceptual and short-answer questions, it fails on diagram-based, visual, and hands-on components, rendering it unable to pass the course as currently implemented.

ABSTRACT

ChatGPT has recently gathered attention from the general public and academia as a tool that is able to generate plausible and human-sounding text answers to various questions. One potential use, or abuse, of ChatGPT is in answering various questions or even generating whole essays and research papers in an academic or classroom setting. While recent works have explored the use of ChatGPT in the context of humanities, business school, or medical school, this work explores how ChatGPT performs in the context of an introductory computer engineering course. This work assesses ChatGPT's aptitude in answering quizzes, homework, exam, and laboratory questions in an introductory-level computer engineering course. This work finds that ChatGPT can do well on questions asking about generic concepts. However, predictably, as a text-only tool, it cannot handle questions with diagrams or figures, nor can it generate diagrams and figures. Further, also clearly, the tool cannot do hands-on lab experiments, breadboard assembly, etc., but can generate plausible answers to some laboratory manual questions. One of the key observations presented in this work is that the ChatGPT tool could not be used to pass all components of the course. Nevertheless, it does well on quizzes and short-answer questions. On the other hand, plausible, human-sounding answers could confuse students when generating incorrect but still plausible answers.

Motivation & Objective

  • To evaluate the effectiveness of ChatGPT in generating accurate solutions to diverse assessment types in an undergraduate computer engineering course.
  • To identify the limitations of text-only LLMs like GPT-3 in handling visual and diagram-based components common in computer engineering education.
  • To assess whether ChatGPT can be used for academic cheating or learning support in a real course setting.
  • To propose improvements enabling LLMs to interpret and generate technical diagrams such as truth tables, logic gates, and state machines.
  • To introduce and apply the accuracy-per-minute metric to evaluate both solution quality and generation speed.

Proposed method

  • Used the OpenAI API with the GPT-3 Davinci model to generate responses to course questions, including quizzes, homework, exams, and lab tasks.
  • Collected and analyzed model outputs using a custom Python-based solution generator, with results stored in JSON format for reproducibility.
  • Evaluated responses using a novel accuracy-per-minute metric that balances solution correctness and generation speed.
  • Compared model outputs to standard student submissions, focusing on correctness, completeness, and plausibility.
  • Explored the impact of API parameters such as max_tokens on output quality, noting truncation when values were too low.
  • Identified recurring issues such as non-readable ASCII art, incorrect or broken image links, and context-dependent misinterpretations.

Experimental results

Research questions

  • RQ1Can ChatGPT generate correct and plausible answers to quizzes, homework, exams, and lab questions in an introductory computer engineering course?
  • RQ2How does the performance of ChatGPT vary across different types of assessment components, particularly those requiring diagrams or hands-on tasks?
  • RQ3To what extent can ChatGPT’s outputs be mistaken for correct student work, potentially enabling academic dishonesty?
  • RQ4What are the key limitations of current text-only LLMs in handling visual and diagrammatic content essential in computer engineering education?
  • RQ5What improvements are needed for LLMs to effectively support or replace student work in technical engineering courses?

Key findings

  • ChatGPT performed well on short-answer and conceptual quiz questions, often generating correct and human-sounding responses.
  • The model failed to interpret or generate diagrams such as truth tables, logic gate schematics, state machine diagrams, and waveform diagrams.
  • When prompted with questions requiring visual reasoning, the model sometimes produced non-readable ASCII art or incorrect image links.
  • The model could not perform hands-on lab tasks such as breadboarding or circuit assembly, despite generating plausible-sounding descriptions.
  • The cost of using the OpenAI API for this evaluation was approximately $2.14, using the GPT-3 Davinci model at $0.12 per 1,000 tokens.
  • The accuracy-per-minute metric revealed that while GPT-3-generated solutions were less accurate than student work, they were generated orders of magnitude faster, highlighting a trade-off between speed and correctness.

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.