Purpose This study aims to present the value trace problem (VTP) for Python programming self-study, by extending the works for Java programming learning assistant system. In total, 130 VTP instances are generated usin...
详细信息
Purpose This study aims to present the value trace problem (VTP) for Python programming self-study, by extending the works for Java programming learning assistant system. In total, 130 VTP instances are generated using Python codes in textbooks and websites that cover basic/advanced grammar topics, fundamental data structures and algorithms and two common library usages. Besides, assisting references on Python programming topics related to the VTP instances are introduced to assist novice learners in solving them efficiently. Design/methodology/approach PyPLAS offers the VTP to study grammar topics and library usage through code reading. A VTP instance asks a learner to trace the actual values of important variables or output messages in the given source code. The correctness of any answer is checked through string matching. Findings The applications to 48 undergraduate students in Myanmar and Indonesia confirm the validity of the proposal in Python programming self-studies by novice learners. Originality/value The applications to 48 undergraduate students in Myanmar and Indonesia confirm the validity of the proposal in Python programming self-studies by novice learners.
Programming Learning Assistant System (PLAS) has been developed as a web-based self-learning platform for programming. PLAS offers several types of exercise problems for code reading and code writing skills, namely, g...
详细信息
ISBN:
(纸本)9781665442466
Programming Learning Assistant System (PLAS) has been developed as a web-based self-learning platform for programming. PLAS offers several types of exercise problems for code reading and code writing skills, namely, grammar-concept understanding problem (GUP), value trace problem (VTP), element fill-in-blank problem (EFP), code completion problem (CCP), and code writing problem (CWP), to support studies at various levels for C, C++, Java, Python, and JavaScript programming and each problem has different targets for the students. JavaScript is commonly used together with HTML and CSS, to introduce dynamic behaviors of web pages in web application systems. Thus, JavaScript should be studied along with them for web client programming. In this paper, we propose a code modification problem (CMP) as a new type in PLAS, to study web client programming using JavaScript. Since a web page is made by using various functions together, reading and understanding sample source codes using them will be an effective way. Actually, students should have a lot of practices in code reading before implementing source codes from scratch. The CMP instance gives a source code using the functions to be studied and the screenshot of the web page generated by it. Then, it requests to modify the code to generate another web page given by the screenshot. The correctness of any answer is checked through string matching with the correct one. For the evaluation, we generated 25 CMP instances and assigned them to 23 students in Okayama University. Their solution results confirm the validity of the proposal.
暂无评论