首页    期刊浏览 2024年12月03日 星期二
登录注册

文章基本信息

  • 标题:An Informative Test Code Approach in Code Writing Problem for Three Object-Oriented Programming Concepts in Java Programming Learning Assistant System
  • 本地全文:下载
  • 作者:Khin Khin Zaw ; Win Zaw ; Nobuo Funabiki
  • 期刊名称:IAENG International Journal of Computer Science
  • 印刷版ISSN:1819-656X
  • 电子版ISSN:1819-9224
  • 出版年度:2019
  • 卷号:46
  • 期号:3
  • 页码:445-453
  • 出版社:IAENG - International Association of Engineers
  • 摘要:To enhance Java programming educations, wehave developed a Java Programming Learning Assistant System(JPLAS) that offers various types of exercise problems to coverstudies at different levels. Among them, the code writing problemasks a student to write a source code that passes the given testcode in the assignment. In Java programming, encapsulation,inheritance, polymorphism are the fundamental object-orientedprogramming (OOP) concepts that every student should masterand freely use, which is very hard for novice students. In thispaper, we propose the informative test code approach in thecode writing problem for studying the three OOP concepts.This test code describes the necessary information to implementthe source code using the concepts, such as the names, accessmodifiers, data types of the member variables and methods.Then, a student is expected to learn how to use them bywriting a source code to pass the test code. To evaluate theeffectiveness of the proposal, we generated informative testcodes for 10 assignments using three concepts, and asked eightstudents who are currently studying Java programming inMyanmar and Japan to solve them. Then, all of them couldcomplete source codes that pass the test codes, where thequality metrics measured by Metrics plugin for Eclispe weregenerally acceptable. Unfortunately, due to the insufficiency oftest codes, the coverage metric by code coverage tool for Eclipsewas not 100% at some source codes. The informative test codegeneration by a teacher should be assisted to avoid this problem.
  • 关键词:JPLAS; Java programming education; code;writing; informative test code; encapsulation; inheritance; polymorphism;metric
国家哲学社会科学文献中心版权所有