AI ChatGPT VS Introductory Programming Java Exam - first year course

Опубликовано: 24 Февраль 2026
на канале: MoosesValley
173
2

In this video, I copy and paste questions from an introductory first year university level Java programming course sample exam paper into ChatGPT and walk through and rate the answers it gives.

Contents:
00:00 Introduction
03:28 Part A, Q1: short answer question: 2 / 65 marks
09:40 Part A, Q2: short answer question: 2 / 65 marks
13:42 Part B, Q1: simple programming question: 4 / 65 marks
17:34 Part B, Q2: simple programming question: 8 / 65 marks
23:15 Part B, Q3: draw UML Class Diagram from give Java code: 6 / 65 marks
28:04 Part B, Q4: Identify Java Swing components, and describe layout managers design for GUI: 6 / 65 marks
31:51 Part B, Q5: simple programming question, supply missing code: 6 / 65 marks
35:09 Part B, Q6: programming output, rewrite loop to use iterator: 5 / 65 marks
39:13 Part B, Q7: programming question, palindrome checker using a stack: 5 / 65 marks
46:35 Part B, Q8: skipped
47:23 Results: ChatGPT easily achieved a High Distinction / 85%+ on this sample exam
48:04 WARNING: if you allow students to answer exams, assignments, assessments electronically ...

Conclusion / SPOILER:
ChatGPT will allow someone with ZERO programming knowledge to get a High Distinction / 85%+ on the sample exam paper in this video.
If you allow your students to answer exam questions electronically, then you'd better make sure the machine they are doing it on is clean, has NO AI's / ChatGPT's installed, and has zero internet / network access.


Moose OMalley
Moose's Software Valley - Established July, 1996,
https://moosevalley.github.io/