What vs how : comparing students' testing and coding skills


Autoria(s): Fidge, Colin J.; Hogan, James M.; Lister, Raymond
Contribuinte(s)

Carbone, Angela

Whalley, Jacqueline

Data(s)

2013

Resumo

The well-known difficulties students exhibit when learning to program are often characterised as either difficulties in understanding the problem to be solved or difficulties in devising and coding a computational solution. It would therefore be helpful to understand which of these gives students the greatest trouble. Unit testing is a mainstay of large-scale software development and maintenance. A unit test suite serves not only for acceptance testing, but is also a form of requirements specification, as exemplified by agile programming methodologies in which the tests are developed before the corresponding program code. In order to better understand students’ conceptual difficulties with programming, we conducted a series of experiments in which students were required to write both unit tests and program code for non-trivial problems. Their code and tests were then assessed separately for correctness and ‘coverage’, respectively. The results allowed us to directly compare students’ abilities to characterise a computational problem, as a unit test suite, and develop a corresponding solution, as executable code. Since understanding a problem is a pre-requisite to solving it, we expected students’ unit testing skills to be a strong predictor of their ability to successfully implement the corresponding program. Instead, however, we found that students’testing abilities lag well behind their coding skills.

Identificador

http://eprints.qut.edu.au/58781/

Publicador

Australian Computer Society in the Conferences in Research and Practice in Information Technology (CRPIT)

Relação

http://www.opvclt.monash.edu.au/conferences/ace2013/

Fidge, Colin J., Hogan, James M., & Lister, Raymond (2013) What vs how : comparing students' testing and coding skills. In Carbone, Angela & Whalley, Jacqueline (Eds.) Proceedings of the Fifteenth Australasian Computing Education Conference (ACE2013),, Australian Computer Society in the Conferences in Research and Practice in Information Technology (CRPIT), Adelaide, South Australia, pp. 97-106.

Direitos

Copyright 2013 please consult the authors

Fonte

School of Electrical Engineering & Computer Science; Science & Engineering Faculty

Palavras-Chave #Object-oriented programming #Learning to program #HERN #Program specification #Unit testing
Tipo

Conference Paper