Skip to main content

An Improved Informative Test Code Approach for Code Writing Problem in Java Programming Learning Assistant System

  • Conference paper
  • First Online:
Advances in Internet, Data & Web Technologies (EIDWT 2018)

Part of the book series: Lecture Notes on Data Engineering and Communications Technologies ((LNDECT,volume 17))

  • 1978 Accesses

Abstract

The Java Programming Learning Assistant System (JPLAS) has been studied to enhance Java programming educations by offering advanced self-learning environments. As one problem type in JPLAS, the code writing problem asks a student to write a source code to satisfy the specifications described in a test code that verifies the correctness of the code on JUnit. Previously, we proposed an informative test code approach to help a novice student to complete a complex source code using concepts in the object-oriented programming. It describes the necessary information to implement the code, such as names, access modifiers, and data types of classes, methods, and variables, in addition to behaviors. Unfortunately, it has drawbacks in handling input/output files for an assignment. In this paper, we propose an improved informative test code approach by adopting the standard input/output to solve them. For evaluations, we generated improved informative test codes for five graph algorithms and requested three students in our group to write the source codes, where all of them completed the source codes with high software metrics.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Funabiki, N., Tana, Zaw, K.K., Ishihara, N., Kao, W.-C.: A graph-based blank element selection algorithm for fill-in-blank problems in Java programming learning assistant system. IAENG Int. J. Comput. Sci. 44(2), 247–260 (2017)

    Google Scholar 

  2. Funabiki, N., Matsushima, Y., Nakanishi, T., Amano, N.: A Java programming learning assistant system using test-driven development method. Int. J. Comput. Sci. 40(1), 38–46 (2013)

    Google Scholar 

  3. Zaw, K.K., Funabiki, N., Kao, W.-C.: A proposal of value trace problem for algorithm code reading in Java programming learning assistant system. Inf. Eng. Express. 1(3), 9–18 (2015)

    Google Scholar 

  4. Ishihara, N., Funabiki, N., Kao, W.-C.: A proposal of statement fill-in-blank problem using program dependence graph in Java programming learning assistant system. Inf. Eng. Express. 1(3), 19–28 (2015)

    Google Scholar 

  5. Ishihara, N., Funabiki, N., Kuribayashi, M., Kao, W.-C.: A software architecture for Java programming learning assistant system. Int. J. Comput. Soft. Eng. 2(1) (2017)

    Google Scholar 

  6. Zaw, K.K., Funabiki, N.: A design-aware test code approach for code writing problem in Java programming learning assistant system. Int. J. Space-Base. Situated Comput. 7(3), 145–154 (2017)

    Article  Google Scholar 

  7. Funabiki, N., Kusaka, R., Ishihara, N., Kao, W.-C.: A proposal of test code generation tool for Java programming learning assistant system. In: Proceedings IEEE International Conference on Advanced Information Networking and Applications (AINA2017), pp. 51–56 (2017)

    Google Scholar 

  8. Beck, K.: Test-Driven Development: By Example. Pearson Education, Boston (2002)

    Google Scholar 

  9. JUnit. http://www.junit.org/

  10. Diary of kencoba. http://d.hatena.ne.jp/kencoba/20120831/1346398388

  11. Metric Plugin. http://metrics.sourceforge.net

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Nobuo Funabiki .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer International Publishing AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Funabiki, N., Zaw, K.K., Mon, E.E., Kao, WC. (2018). An Improved Informative Test Code Approach for Code Writing Problem in Java Programming Learning Assistant System. In: Barolli, L., Xhafa, F., Javaid, N., Spaho, E., Kolici, V. (eds) Advances in Internet, Data & Web Technologies. EIDWT 2018. Lecture Notes on Data Engineering and Communications Technologies, vol 17. Springer, Cham. https://doi.org/10.1007/978-3-319-75928-9_61

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-75928-9_61

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-75927-2

  • Online ISBN: 978-3-319-75928-9

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics