
 
5 CONCLUSIONS 
Our experience, in common with the literature, is 
that students often feel frustrated with the strict 
output format requirements due to the automatic 
tester (Joy et al., 2005; Jackson, 1991; Morris, 2003; 
Yu et al., 2006).  The inflexibility of existing output 
comparison approaches based on character matching 
gives rise to undesirable pedagogical issues that can 
undermine the benefits of using an automated 
assessment system (Tang et al., 2009b).  To date, 
little progress has been made to address these (albeit 
well known) problems since the use of lex/yacc tools 
by Jackson (1991) and regular expressions (regex) in 
BOSS (Joy et al., 2005) and CourseMarker (Higgins 
et al., 2003).  Nevertheless, regex and lex/yacc tools 
demand high proficiency of the user and are not 
reported to have been widely used in other systems. 
In this work, we have characterized several 
common types of admissible variants and validated a 
newly proposed comparison approach based on 
token patterns by using an experimental prototype.   
We recognize some limitations of our present 
prototype, such as the need for more matching rule 
options.  Scope of this paper forbids detailed 
discussions on these.  Fundamentally, however, the 
token pattern approach supports easy specification 
of matching criteria of varying granularity.  It is 
intuitively easy to understand by various users.  This 
is essential for determining adoption in practice and 
dealing with complaints.  In time, we plan to identify 
areas of improvement of the new approach, perform 
experiments to evaluate its effectiveness, and assess 
the extent of additional effort required in practice. 
REFERENCES 
Ala-Mutka, K., 2005.  A survey of automated assessment 
approaches for programming assignments.  Computer 
Science Education, 15(2), 83–102. 
Choy, M., Lam, S., Poon, C. K., Wang, F. L., Yu, Y. T., 
Yuen, L., 2008.  Design and implementation of an 
automated system for assessment of computer 
programming assignments.  In Advances in Web-based 
Learning (LNCS 4823), 584–596.  Springer. 
Choy, M., Lam, S., Poon, C. K., Wang, F. L., Yu, Y. T., 
Yuen, L., 2007.  Towards blended learning of 
computer programming supported by an automated 
system.  In Workshop on Blended Learning 2007. 
Pearson: Prentice Hall. 
Helmick, M. T., 2007.  Interface-based programming 
assignments and automated grading of Java programs.  
In  12th Conference on Innovation and Technology in 
Computer Science Education (ITiCSE).  ACM Press. 
Higgins, C., Hergazy, T., Symeonidis, P., Tsinsifas, A., 
2003.  The CourseMarker CBA system: Improvements 
over Ceilidh.  Education and Information 
Technologies, 8(3), 287–304. 
Jackson, D., 1991.  Using software tools to automate the 
assessment of student programs.  Computers & 
Education, 17(2), 133–143. 
Jackson, D., Usher, M., 1997.  Grading student programs 
using ASSYST.  In SIGCSE’97, Technical Symposium 
on Computer Science Education.  ACM Press. 
Joy, M., Griffiths, N., Royatt, R., 2005.  The BOSS online 
submission and assessment system.  ACM Journal on 
Educational Resources in Computing, 5(3), Article 2. 
Lam, M. S. W., Chan, E. Y. K., Lee, V. C. S., Yu, Y. T., 
2008.  Designing an automatic debugging assistant for 
improving the learning of computer programming.  In 
ICHL 2008,  International Conference on Hybrid 
Learning (LNCS 5169), 359–370.  Springer. 
Law, K. M. Y., Lee, V. C. S., Yu, Y. T., 2010.  Learning 
motivation in e-learning facilitated computer pro-
gramming courses.  Computers & Education, in press. 
Morris, D. S., 2003.  Automatic grading of student’s 
programming assignments: An interactive process and 
suite of programs.  In 33rd ASEE/IEEE Frontiers in 
Education Conference.  IEEE Computer Society Press. 
Tang, C. M., Yu, Y. T., Poon, C. K., 2009a.  An approach 
towards automatic testing of student programs using 
token patterns.  In ICCE 2009,  17th International 
Conference on Computers in Education. 
Tang, C. M., Yu, Y. T., Poon, C. K., 2009b.  Automated 
systems for testing student programs: Practical issues 
and requirements.  In SPECIAL 2009,  International 
Workshop on Strategies for Practical Integration of 
Emerging and Contemporary Technologies in 
Assessment and Learning. 
Yu, Y. T., Choy, M. Y., Poon, C. K., 2006.  Experiences 
with PASS: Developing and using a programming 
assignment assessment system.  In QSIC 2006,  6th 
International Conference on Quality Software.  IEEE 
Computer Society Press. 
AN EXPERIMENTAL PROTOTYPE FOR AUTOMATICALLY TESTING STUDENT PROGRAMS USING TOKEN
PATTERNS
149