arrow
返回

Development of Automatic Source Code Evaluation Tests Using Grey-Box Methods: A Programming Education Case Study

delete2023-01-01
delete2
delete
OA
AI
J
Ján Skalka *
M
Martin Drlík
DOI:10.1109/ACCESS.2023.3317694delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Increasing the effectiveness of programming education has emerged as an important goal in teaching programming languages in the last decade. Automatic evaluation of the correctness of the student's source code saves teachers time and effort and allows a more comprehensive focus on the preparation of assignments with integrated feedback. The study aims to present an approach that will enable effective testing of students' source codes within object-oriented programming courses while minimising the demands on teachers when preparing the assignment. This approach also supports variability in testing and preventing student cheating. Based on the principles of different types of testing (black-box, white-box, grey-box), an integrated solution for source code verification was designed and verified. The basic idea is to use a reference class, which is assumed to be part of every assignment, as the correct solution. This reference class is compared to the student solution using the grey-box method. Due to their identical interface (defined by assignment), comparing instance states and method outputs is a matter of basic programming language mechanisms. A significant advantage is that a random generation of test cases can be used in such a case, while the rules for their generation can be determined using simple formulas. The proposed procedure was implemented and gradually improved over 4 years on groups of bachelor students of applied informatics with a high level of acceptance.
Keyword:
Automatic testing
Electronic learning
Engineering education
Software testing

期刊

IEEE Access 封面图
IEEE Access
IF:
3.6
论文数:
9.8W
被引数:
29.4W

机构

Constantine the Philosopher University in Nitra 封面图
Constantine the Philosopher University in Nitra
学者数:
614
论文数: 514
被引数: 892
引用论文

引用论文

Adaptation to Delayed Force Perturbations in Reaching Movements
err2010-08-11
err0
errOAAI
errNoa Levy; Assaf Pressman; Ferdinando A. Mussa-Ivaldi; Amir Karniel
err分享
err收藏
err分享
err收藏
Fuzzing: A Survey for Roadmap模糊测试: 路线图调查
err2022-09-09
err105
PREAI
errZhu, Xiaogang; Wen, Sheng; Camtepe, Seyit; Xiang, Yang
err分享
err收藏
err分享
err收藏
Path-directed source test case generation and prioritization in metamorphic testing
err2022-01-01
err20
PREAI
errSun, Chang-ai; Liu, Baoli; Fu, An; Liu, Yiqiang; Liu, Huai
err分享
err收藏
学者 查看更多内容