Swarm inspired test case generation for online C++ programming assessment

It is time consuming for lecturers to manually compile, run and verify students' programming assignments. Moreover, they also need to define test cases for different programming exercises in order to assess students' code. This paper presents a swarm inspired automatic test case generation...

Full description

Saved in:
Bibliographic Details
Main Authors: Foong, O.-M., Tran, Q.-T., Yong, S.-P., Rais, H.M.
Format: Conference or Workshop Item
Published: Institute of Electrical and Electronics Engineers Inc. 2014
Online Access:https://www.scopus.com/inward/record.uri?eid=2-s2.0-84938814623&doi=10.1109%2fICCOINS.2014.6868842&partnerID=40&md5=eb25ae73005876d84f417b8d4229952d
http://eprints.utp.edu.my/31167/
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:It is time consuming for lecturers to manually compile, run and verify students' programming assignments. Moreover, they also need to define test cases for different programming exercises in order to assess students' code. This paper presents a swarm inspired automatic test case generation for Online Programming Assessment or Judge (UOJ) system. The UOJ is built with the purpose to assist lecturers in evaluating codes submitted from students and generate test cases for every programming problem automatically. It also helps students to practice and enhance their programming skills. In this study, the mechanism of automatic test case generation was explored using Particle Swarm Optimization (PSO) algorithm and new fitness function is proposed to determine the optimal solution for each problem. Experiments were set up to benchmark between manual and automatic PSO test case generation results to evaluate the efficiency of the proposed method. The preliminary results are satisfactory for automatic test case generation using swarm inspired PSO algorithm in C++ programming assignments. © 2014 IEEE.