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!
id my.utp.eprints.31167
record_format eprints
spelling my.utp.eprints.311672022-03-25T09:01:56Z Swarm inspired test case generation for online C++ programming assessment Foong, O.-M. Tran, Q.-T. Yong, S.-P. Rais, H.M. 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. Institute of Electrical and Electronics Engineers Inc. 2014 Conference or Workshop Item NonPeerReviewed https://www.scopus.com/inward/record.uri?eid=2-s2.0-84938814623&doi=10.1109%2fICCOINS.2014.6868842&partnerID=40&md5=eb25ae73005876d84f417b8d4229952d Foong, O.-M. and Tran, Q.-T. and Yong, S.-P. and Rais, H.M. (2014) Swarm inspired test case generation for online C++ programming assessment. In: UNSPECIFIED. http://eprints.utp.edu.my/31167/
institution Universiti Teknologi Petronas
building UTP Resource Centre
collection Institutional Repository
continent Asia
country Malaysia
content_provider Universiti Teknologi Petronas
content_source UTP Institutional Repository
url_provider http://eprints.utp.edu.my/
description 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.
format Conference or Workshop Item
author Foong, O.-M.
Tran, Q.-T.
Yong, S.-P.
Rais, H.M.
spellingShingle Foong, O.-M.
Tran, Q.-T.
Yong, S.-P.
Rais, H.M.
Swarm inspired test case generation for online C++ programming assessment
author_facet Foong, O.-M.
Tran, Q.-T.
Yong, S.-P.
Rais, H.M.
author_sort Foong, O.-M.
title Swarm inspired test case generation for online C++ programming assessment
title_short Swarm inspired test case generation for online C++ programming assessment
title_full Swarm inspired test case generation for online C++ programming assessment
title_fullStr Swarm inspired test case generation for online C++ programming assessment
title_full_unstemmed Swarm inspired test case generation for online C++ programming assessment
title_sort swarm inspired test case generation for online c++ programming assessment
publisher Institute of Electrical and Electronics Engineers Inc.
publishDate 2014
url 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/
_version_ 1738657209866256384
score 13.211869