We present a framework for the automatic testing of C Pro- gramming assignments that is based on Unit tests and Aspect programming. Students are required to implement a set of C functions and are given each function’s prototype. Teachers are required to write unit tests for each function, a ”reference implementation” of each function and a feedback message for each test failed. The system applies the unit tests to the code and replaces a failing function with the corresponding refer- ence implementation to test also functions depending on the failed one. We are developing the system while testing it on the home- works submitted for two courses: ”Programming 2” and ”Pro- gramming Laboratory”, delivered during the second term of first year of our Computer Science MS degree. We present the design of the system and the issues solved so far to test 4 homeworks (a total of 186 tests run over 28 implemented functions).

Automatic correction of C programming exercises through Unit-Testing and Aspect-Programming / F., Bagnoli; Sterbini, Andrea; Temperini, Marco. - (2004), pp. 97-101. (Intervento presentato al convegno International Conference on Education and Information Systems, Technologies and Applications (EISTA 2004) tenutosi a Orlando, USA. nel July 21-24 2004).

Automatic correction of C programming exercises through Unit-Testing and Aspect-Programming

STERBINI, Andrea;TEMPERINI, Marco
2004

Abstract

We present a framework for the automatic testing of C Pro- gramming assignments that is based on Unit tests and Aspect programming. Students are required to implement a set of C functions and are given each function’s prototype. Teachers are required to write unit tests for each function, a ”reference implementation” of each function and a feedback message for each test failed. The system applies the unit tests to the code and replaces a failing function with the corresponding refer- ence implementation to test also functions depending on the failed one. We are developing the system while testing it on the home- works submitted for two courses: ”Programming 2” and ”Pro- gramming Laboratory”, delivered during the second term of first year of our Computer Science MS degree. We present the design of the system and the issues solved so far to test 4 homeworks (a total of 186 tests run over 28 implemented functions).
2004
International Conference on Education and Information Systems, Technologies and Applications (EISTA 2004)
Automatic grading; automatic correction; software testing
04 Pubblicazione in atti di convegno::04b Atto di convegno in volume
Automatic correction of C programming exercises through Unit-Testing and Aspect-Programming / F., Bagnoli; Sterbini, Andrea; Temperini, Marco. - (2004), pp. 97-101. (Intervento presentato al convegno International Conference on Education and Information Systems, Technologies and Applications (EISTA 2004) tenutosi a Orlando, USA. nel July 21-24 2004).
File allegati a questo prodotto
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11573/234435
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? 0
social impact