Home > Archive > 2022 > Volume 12 Number 11 (Nov. 2022) >
IJIET 2022 Vol.12(11): 1158-1163 ISSN: 2010-3689
doi: 10.18178/ijiet.2022.12.11.1733

A Proposal of Mistake Correction Problem for Debugging Study in C Programming Learning Assistant System

Yanhui Jing, Nobuo Funabiki, Soe Thandar Aung, Xiqin Lu, Annisa Anggun Puspitasari, Htoo Htoo Sandi Kyaw, and Wen-Chung Kao

Abstract—Currently, C programming is taught as the first programming language in many universities around the world due to the easy-to-learn and middle-level nature. However, the confusing concepts of keywords and unfamiliar formality make it difficult for students to study. Therefore, we have previously developed C programming learning assistance system (CPLAS) for self-studies of novice students. CPLAS offers several types of exercise problems with the automatic answer marking by string matching. In this paper, we propose a mistake correction problem (MCP) for code debugging study as a new problem type in CPLAS. MCP requests to answer every mistaken element and its correction in a given corrupt source code. We list up reserved words and common library functions in C programming for candidates of mistaken elements, and implement the MCP instance generation algorithm. To help solving MCP instances by a student, we implement the answer interface that shows the line number of each mistake, the corrupt code and answer forms in parallel, and the hint of suggesting the first character of each answer. For evaluations of the proposal, we generate 20 instances with 91 mistakes for basic grammars, and assign them to 18 university students in Japan, China, and Indonesia. Their answer results confirm the effectiveness of MCP.

Index Terms—C programming, CPLAS, mistake correction problem, automatic generation, answer interface.

Yanhui Jing, N. Funabiki, S. T Aung, X. Lu, and A. A. Puspitasari are with the Department of Information and Communication Systems, Okayama University, Okayama, Japan (e-mail: pf709l29@s.okayama-u.ac.jp, funabiki@okayama-u.ac.jp).
H. H. S. Kyaw is with Division of Advanced Information Technology and Computer Science, Tokyo University of Agriculture and Technology, Tokyo, Japan (e-mail: htoohtoosk@go.tuat.ac.jp).
W.-C. Kao is with Department of Electrical Engineering National Taiwan Normal University, Taipei, Taiwan (e-mail: jungkao@ntnu.edu.tw).

[PDF]

Cite: Yanhui Jing, Nobuo Funabiki, Soe Thandar Aung, Xiqin Lu, Annisa Anggun Puspitasari, Htoo Htoo Sandi Kyaw, and Wen-Chung Kao, "A Proposal of Mistake Correction Problem for Debugging Study in C Programming Learning Assistant System," International Journal of Information and Education Technology vol. 12, no. 11, pp. 1158-1163, 2022.

Copyright © 2022 by the authors. This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0).

General Information

  • ISSN: 2010-3689 (Online)
  • Abbreviated Title: Int. J. Inf. Educ. Technol.
  • Frequency: Monthly
  • DOI: 10.18178/IJIET
  • Editor-in-Chief: Prof. Jon-Chao Hong
  • Managing Editor: Ms. Nancy Y. Liu
  • Abstracting/ Indexing: Scopus (CiteScore 2022: 2.0), INSPEC (IET), UGC-CARE List (India), CNKI, EBSCO, Google Scholar
  • E-mail: ijiet@ejournal.net

 

Article Metrics in Dimensions