English

Can ChatGPT Pass a Theory of Computing Course?

Computers and Society 2024-07-11 v1

Abstract

Large Language Models (LLMs) have had considerable difficulty when prompted with mathematical questions, especially those within theory of computing (ToC) courses. In this paper, we detail two experiments regarding our own ToC course and the ChatGPT LLM. For the first, we evaluated ChatGPT's ability to pass our own ToC course's exams. For the second, we created a database of sample ToC questions and responses to accommodate other ToC offerings' choices for topics and structure. We scored each of ChatGPT's outputs on these questions. Overall, we determined that ChatGPT can pass our ToC course, and is adequate at understanding common formal definitions and answering "simple"-style questions, e.g., true/false and multiple choice. However, ChatGPT often makes nonsensical claims in open-ended responses, such as proofs.

Keywords

Cite

@article{arxiv.2407.07757,
  title  = {Can ChatGPT Pass a Theory of Computing Course?},
  author = {Matei A. Golesteanu and Garrett B. Vowinkel and Ryan E. Dougherty},
  journal= {arXiv preprint arXiv:2407.07757},
  year   = {2024}
}

Comments

Accepted to SIGCSE Virtual 2024

R2 v1 2026-06-28T17:35:53.750Z