DocumentCode
3563042
Title
Automatic detection of bad programming habits in scratch: A preliminary study
Author
Moreno, Jesus ; Robles, Gregorio
Author_Institution
Programamos.es & Inst. Nac. de Tecnol. Educativas y de Formacion del Profesorado, Madrid, Spain
fYear
2014
Firstpage
1
Lastpage
4
Abstract
Using the Scratch environment as a tool to teach programming skills or develop computational thinking is increasingly common in all levels of education, well-documented case studies from primary school to university can be found. However, there are reports that indicate that students learning to program in this environment show certain habits that are contrary to the basic programming recommendations. In our work as instructors with high school students, we have detected these and other bad practices, such as the repetition of code and object naming, on a regular basis. This paper focuses on verifying whether these issues can generally be found in the Scratch community, by analyzing a large number of projects available on the Scratch community website. To test this hypothesis, we downloaded 100 projects and analyzed them with two plug-ins we developed to automatically detect these bad practices. The plug-ins extend the functionality of the Hairball tool, a static code analyzer for Scratch projects. The results obtained show that, in general, projects in the repository also incur in the investigated malpractices. Along with suggestions for future work, some ideas that might assist to address such situations are proposed in the conclusions of the paper.
Keywords
Web sites; computer science education; visual programming; Scratch community Web site; bad programming habit detection; visual programming language; Communities; Computer science education; Computers; Educational institutions; Programming profession; Scratch; Scratch repository; automatic assessment; bad habits; empirical analysis; learning; programming;
fLanguage
English
Publisher
ieee
Conference_Titel
Frontiers in Education Conference (FIE), 2014 IEEE
Type
conf
DOI
10.1109/FIE.2014.7044055
Filename
7044055
Link To Document