Evolutionary programming techniques for testing students' code

  • Authors:
  • Cara MacNish

  • Affiliations:
  • Department of Computer Science & Software Engineering, The University of Western Australia, Nedlands, W.A. 6907, Australia

  • Venue:
  • ACSE '00 Proceedings of the Australasian conference on Computing education
  • Year:
  • 2000

Quantified Score

Hi-index 0.00

Visualization

Abstract

Tools for analysing student code offer great potential for enhancing student learning through informing both students and staff. One such tool, the datlab system, has been successfully employed in second year data structures courses and provides facilities for testing students' laboratory work, providing feedback to students, and assigning marks for completed tasks. While the system has proven successful, there is potential for significant improvement in the way that code is analysed and the quality of the feedback that is returned.This paper reports on new work investigating the use of evolutionary computation as a mechanism for generating appropriate test sequences. Our goal is to synthesize test sequences that efficiently uncover logical errors in student code, provide lecturers with models of common student errors, and provide students with more helpful feedback to use in locating errors themselves. We present encouraging preliminary results showing that significant improvements can be achieved using the evolutionary approach, and discuss some of the challenges in extending this approach.