본문 바로가기

CQpy: A Handy Code Quality Inspector for Online Python Programming Courses

문서 유형
연구출판물 · 학술지 논문
등재
SCIEScopus
저널 순위
JCR Q4Scopus Q2
피인용
Web of Science 0Scopus 0
FWCI (Scopus)
0
JCR IF
JCR 2020 0.969
ISSN
0949-149X

저자

  1. 류샤오제1저자Pusan Natl Univ, Dept Elect & Comp Engn, Busan, South Korea
  2. 우균교신저자Pusan Natl Univ, Dept Elect & Comp Engn, Busan, South Korea

초록

Most programming courses teach students how to write programs that produce the correct output without focusing on code quality. Although teaching about code quality is important, more emphasis is placed on code correctness. The reason is not its conceptual complexity but a lack of efficient methods for teaching good programming practices. This paper presents a code quality inspector named CQpy as a subsystem of an online judge for assessing both the correctness and the quality of programs submitted by students. Once the submitted code is judged to be correct, a student can further inspect code quality issues (CQIs) using CQpy. The timely feedback and automatic suggestions provided by CQpy help students improve their code quality through self-study. A controlled experiment revealed that there were thousands of unsolved CQIs in the programs submitted in a Python course in 2019 without CQpy. However, when CQpy was used, 91% of the detected CQIs were addressed by students who took the same Python course online during the COVID-19 pandemic in 2020. According to a student survey conducted at the end of the course, 90.12% of the students were satisfied with using CQpy in the online course, and 81.7% affirmed that they had improved their skills related to code quality after taking the course. Based on the experimental results, we identified a set of common CQIs representing the most frequent mistakes made by programming students. The results of this study could enhance the code quality education in future online Python programming courses.

키워드

code quality inspectionautomatic programming assignment evaluationonline course

식별자

Scopus EID
2-s2.0-85179621923
WoS UID
000730150800009