Home > Published Issues > 2024 > Volume 10, Number 2, 2024 >
IJLT 2024 Vol.10(2): 261-269
doi: 10.18178/ijlt.10.2.261-269

A Proposal of Code Writing Problem for C Programming Learning Assistant System

Htoo Htoo Sandi Kyaw 1,*, Chai Xu Min 1, Keiichi Kaneko 1, Soe Thandar Aung 2, Nobuo Funabiki 2, and Annisa Anggun Puspitasari 3
1. Department of Computer and Information Science, Tokyo University of Agriculture and Technology, Tokyo, Japan
2. Department of Information and Communication Systems, Okayama University, Okayama, Japan
3. Department of Intelligent Mechatronics Engineering, Sejong University, Seoul, South Korea
Email: htoohtoosk@go.tuat.ac.jp (H.H.S.K.); s216754t@st.go.tuat.ac.jp (C.X.M.); k1kaneko@cc.tuat.ac.jp (K.K.); soethandar@s.okayama-u.ac.jp (S.T.A.); funabiki@okayama-u.ac.jp (N.F.); annisanggun@gmail.com (A.A.P.)
*Corresponding author

Manuscript received June 20, 2023; revised August 10, 2023; accepted October 30, 2023; published April 11, 2024.

Abstract—C programming has been a fundamental subject for a lot of university students studying programming lan guages, algorithms, and computer architecture. To enhance C programming education in schools, we have developed the C Programming Learning Assistant System (CPLAS) which provides a variety of programming assignments to cover different learning stages. The programming assignments offered by CPLAS allow the students to practice writing partial source code to learn grammar, code reading, and code debugging skills. However, the current assignments offered by CPLAS do not cover students to practice writing the whole C source code from scratch. Therefore, in this paper, we propose the Code Writing Problem (CWP) for students to write the C source code from scratch. In a CWP instance, a problem statement, an input list, and an expected output are given to the students. The students need to write the C source code from scratch by referring to the given information. The answer codes are marked through 1) compiling test, 2) execution test, and 3) output test. To avoid cheating by students, we use the random input generation method for each data type. To evaluate the proposal, we generated and assigned 11 CWP instances to the students. From their solution results, 10 out of 11 CWP instances achieved over 78% correct answer rate, and the feedback from the students confirmed the validity of the proposal. 
Keywords—C programming learning assistant system, C Programming Learning Assistant System (CPLAS), code writing problem, CWP instance 

Cite: Htoo Htoo Sandi Kyaw, Chai Xu Min, Keiichi Kaneko, Soe Thandar Aung, Nobuo Funabiki, and Annisa Anggun Puspitasari, "A Proposal of Code Writing Problem for C Programming Learning Assistant System," International Journal of Learning and Teaching, Vol. 10, No. 2, pp. 261-269, 2024.

Copyright © 2024 by the authors. This is an open access article distributed under the Creative Commons Attribution License (CC BY-NC-ND 4.0), which permits use, distribution and reproduction in any medium, provided that the article is properly cited, the use is non-commercial and no modifications or adaptations are made.