Automated assessment in programming education often faces a dual challenge: providing meaningful pedagogical feedback and ensuring academic integrity. Traditional online judges typically offer binary feedback (pass/fail) without explaining the underlying logic errors, while unmonitored online exams are prone to cheating. This study aims to develop a "Smart Exam Platform" for Java programming that integrates a secure code execution environment with Generative AI to provide corrective feedback. The system was developed using the Waterfall model with a Monolithic architecture implemented in Native PHP to ensure low-latency performance. Key features include a real-time compilation via Glot.io, a restrictive AI feedback mechanism using Google Gemini 1.5 Flash to explain concepts without revealing solutions, and a lightweight anti-cheat module based on the Page Visibility API. Functional testing using Black Box methods demonstrated that all system modules authentication, exam management, code execution, AI feedback, and security logging functioned validly. The restrictive prompt engineering successfully guided the AI to act as a tutor rather than a solution generator. This platform offers a scalable, secure, and pedagogically supportive environment for Java practical exams, addressing the gap between automated grading efficiency and formative learning needs.
Copyrights © 2026