A good percentage of students, while learning how to program for the first time in a higher education course, often write inelegant code, i.e., code which is difficult to read, badly organized, not commented. Writing inelegant code reduces the student’s professional opportunities, and is an indication of a non-systematic programming style which makes it very difficult to maintain (or even understand) the code later, even by its own author. In this paper we present DrPython–WEB, a web application capable to automatically extract linguistic, structural and style-related features, from students’ programs and to grade them with respect to a teacher-defined assessment rubric. The aim of DrPython–WEB is to make the students accustomed to good coding practices, and stylistic features, and make their code better. There are other systems able to perform code analysis through quality measures: the novelty of DrPython–WEB, with respect to such systems, is in that it analyzes also linguistic and stylistic features.

DrPython–WEB: A Tool to Help Teaching Well-Written Python Programs / Battistini, T.; Isaia, N.; Sterbini, A.; Temperini, M.. - 13230:(2022), pp. 277-286. (Intervento presentato al convegno International Conference on Software Engineering and Formal Methods tenutosi a Virtual; Online) [10.1007/978-3-031-12429-7_20].

DrPython–WEB: A Tool to Help Teaching Well-Written Python Programs

Sterbini A.
;
Temperini M.
2022

Abstract

A good percentage of students, while learning how to program for the first time in a higher education course, often write inelegant code, i.e., code which is difficult to read, badly organized, not commented. Writing inelegant code reduces the student’s professional opportunities, and is an indication of a non-systematic programming style which makes it very difficult to maintain (or even understand) the code later, even by its own author. In this paper we present DrPython–WEB, a web application capable to automatically extract linguistic, structural and style-related features, from students’ programs and to grade them with respect to a teacher-defined assessment rubric. The aim of DrPython–WEB is to make the students accustomed to good coding practices, and stylistic features, and make their code better. There are other systems able to perform code analysis through quality measures: the novelty of DrPython–WEB, with respect to such systems, is in that it analyzes also linguistic and stylistic features.
2022
International Conference on Software Engineering and Formal Methods
feature extraction; good coding practices; python; teaching programming
04 Pubblicazione in atti di convegno::04b Atto di convegno in volume
DrPython–WEB: A Tool to Help Teaching Well-Written Python Programs / Battistini, T.; Isaia, N.; Sterbini, A.; Temperini, M.. - 13230:(2022), pp. 277-286. (Intervento presentato al convegno International Conference on Software Engineering and Formal Methods tenutosi a Virtual; Online) [10.1007/978-3-031-12429-7_20].
File allegati a questo prodotto
File Dimensione Formato  
Battistini_DrPython_2022.pdf

solo gestori archivio

Tipologia: Versione editoriale (versione pubblicata con il layout dell'editore)
Licenza: Tutti i diritti riservati (All rights reserved)
Dimensione 789.28 kB
Formato Adobe PDF
789.28 kB Adobe PDF   Contatta l'autore
Battistini_preprint_DrPython_2022.pdf

accesso aperto

Note: https://doi.org/10.1007/978-3-031-12429-7_20
Tipologia: Documento in Pre-print (manoscritto inviato all'editore, precedente alla peer review)
Licenza: Tutti i diritti riservati (All rights reserved)
Dimensione 445.61 kB
Formato Adobe PDF
445.61 kB Adobe PDF

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/1663124
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? 0
social impact