AB PPT
AB PPT
•ChatGPT, a Large Language Model (LLM), has been increasingly used in education
to assist with coding tasks.
•This study focuses on assessing how ChatGPT impacts the quality of Java code
written by novice programmers.
•By analyzing static code quality through rule adherence and complexity metrics, the
research seeks to determine ChatGPT's potential benefits in programming education.
•Without proper support, these issues can lead to frustration and hinder learning
outcomes.
•RQ2: What are the most violation-dense topics in programming exercises when
students use or do not use ChatGPT?
•RQ3: How does ChatGPT usage influence the cyclomatic and cognitive
complexity of students' code?
Proposed Solution
•Static code analysis tools like Checkstyle will evaluate adherence to coding
conventions, while SonarQube will measure complexity.
•Students code will be analyzed to see if ChatGPT helps reduce errors and
improve readability and maintainability.
•The study will also explore whether ChatGPT influences students understanding
of good coding practices.
Implementation
• Two student groups were studied: the control group (without ChatGPT) and the
treatment group (with ChatGPT).
•Further research should explore how to design prompts for ChatGPT to maximize
its effectiveness for learning.
•Overall Conclusion:
ChatGPT shows potential to enhance programming education by improving code quality and
reducing complexity. While promising, thoughtful integration is necessary to maximize its benefits
and address its limitations.
References
•Haindl, P., & Weinberger, G. (2024): Does ChatGPT Help Novice Programmers
Write Better Code? IEEE Access.
•Liu, Y., et al. (2024): Refining ChatGPT-generated code. ACM Trans. Softw. Eng.
Methodol.
•Guo, Q., et al. (2024): Exploring the potential of ChatGPT in automated code
refinement.
9. Cseh, Á., Huang, C.-C., Kavitha, T.: Popular matchings with two-sided
preferences and one-sided ties. SIAM J. Discret. Math. 31(4), 2348–2377 (2017)