Code Writing Problem in Python Programming Learning Assistant System

Authors

  • Hsu Wai Hnin Department of Computer Engineering and Information Technology, Yangon Technological University, Yangon , Myanmar
  • Khin Khin Zaw Department of Computer Engineering and Information Technology, Yangon Technological University, Yangon , Myanmar

Keywords:

PYPLAS, fill-in-blank problem, error debugging problem, unit test, coverage, PYUNIT, TDD, code writing problem

Abstract

To advance python programming knowledge of students, Python Programming Learning Assistant System (PYPLAS) is elaborated. Currently, PYPLAS included the element fill-in-blank problem and error debugging problem to improve the student’s python programming skill. Then, students learn python testing techniques such as unit test (PYUNIT), PYTEST and coverage, etc. In this paper, PYPLAS provides the code writing problem so that students can learn the python code testing and write the python code according to test code. So, code writing problem is generated by using Test Driven Development (TDD) method. Teacher gives the test code to students. Students answer the program code according to test code by using unit test (PYUNIT). Teacher checks the answer code according to coverage in TDD method. For evaluations, 100 codes are provided to accurate the code testing and coverage approach in TDD method. 11 problems are generated and asked 5 learners from training center and universities to solve them in offline PYPLAS. Their results are checked by using coverage approach to display their correct rate. The results show the code writing problem is helpful to test the student’s coding quality.

References

[1] K.R.Srinath. “Python-The Fastest Growing Programming Language”. International Research Journal of Engineering and Technology (IRJET), vol.
04,pp.354-357, Dec.2017.
[2] S.R.MD.Derus, A.Z.M.Ali. “Difficulties in learning programming : Views of students”. in Proc.ICCIE,2012,pp.1-6.
[3] K.Adawadkar. “Python Programming-Applications and Future”. International journal of Advance Engineering and Research
Development.vol.4,pp.1-4,Apr.2017.
[4] P.K.Karmore,G.L.Girhe. “Programming language python: A review”. IJARIIE [on-line].6(2),pp.1634-1637. Available: http://ijariie.com [2020].
[5] B.R.Payne. “Learning to python in python-by teaching it”. in Proc.ISTEMTLC, 2017,pp.99-106.
[6] H.W.Hnin and K.K.Zaw. “Element Fill-in-blank problems in Python Programming Learning Assistant System”. in Proc.ICAIT, 2020. pp.88-93.
[7] S.S.Ghuman. “Software testing techniques”, International Journal of Computer Science and Mobile Computing, vol.3,pp.988-993, Oct.2014.
[8] S. lukasczyk, F. Kroik, and G. Fraser. “Automated Unit Test Generation for Python”, IEEE.[on-line], Available: www.spectrum .ieee .org/
computing/ software. [Jul.25, 2020].
[9] M.Thakur, Sanjay. ‘Review on Structural Software Testing Coverage Approaches”, International Journal of Advance research Ideas and
Innovations in Technology, vol.3,pp.988-993, Oct.2014.
[10] N.Funabiki, Y.Matsushima, T.Nakanishi, K.Watanabe, and N.Amano. “A Java Programming Learning Assistant System Using Test-Driven
Development Method”, IAENG.[on-line].40(1). Available: www.iaeng.com[Feb.9,2013].
[11] D.Sale. “Driving Your Development with Test”, in Testing Python Applying Unit Testing, TDD, BDD, and Acceptance Testing,1th ed, vol.1.R.
Mengle, Ed. United Kingdom:John Wiley & Sons, 2014, pp.68-83.
[12] M.E.Khan, F.Khan. “Important of Software Testing in Software Development Life Cycle”, International journal of Computer Science,
vol.11,pp.120-123, Mar.2014.
[13] A.Orso, G.Rothermel. “Software Testing: A Research Travelogue”, in Proc.FOSE’14,2014,pp.1-16.
[14] S.M.Salleh, Z.Shukur, H.M.Judi. “Analysis of Research in Programming Teaching Tools: An Initial Review”, in Proc.Social and Behavioral
Sciences,2013,pp.127-135.
[15] D.Young.(2015,March 9) Software Testing Overview. (1th edition).[on-line].12(1). Available: www.researchgate.net/publication/273319104[Mar
9, 2015].
[16] X.kui, W.Liu, H.Du. “Research on the Improvement of Python Language Programming Course Teaching Methods based on Visualization”, in
Proc. ICCSE,2017,pp.639-644.
[17] X.Shi, Y.Chen. “New Teaching Method of Python Programming for Liberal Arts Students”,IJIRES [on-line].7(3), pp.261-271. Available: www.
IJIRSE.com[Jun.30,2020].
[18] A.Sharma, D.Sharma, S.Gupta. “Python : The Programming Language of Future”, IJIRT. [on-line].6(12),pp.115-118. Available: www.
IJIRT.com[May.3,2020].
[19] U.Nikula, J.Sajaniemi, M.Tedre. “Python and Roles of Variables in Introductory Programming: Experiences from Three Educational Institutions”,
Journal of Information Technology Education,vol.6,pp.200-214,May.2007.
[20] T.L.Chen, T.C.Hsiao, T.C.Kang, T.Y.Wu, C.C.Chen. “Learning Programming Language in Higher Education for Sustainable Development: Point-
Earning Bidding Method”, Sustainability. [on-line].12(4), pp.2-14. Available: www.sustainability.com [Jun.1,2020].
[21] A.L.S.Saabith, M.M.M.Fareez.T.Vinothraj. “Python Current Trend Application-an Overview”, International Journal of Advance Engineering and
Research Development, vol.6,pp.6-11,Oct.2019.

Downloads

Published

2022-04-25

How to Cite

Hsu Wai Hnin, & Khin Khin Zaw. (2022). Code Writing Problem in Python Programming Learning Assistant System. International Journal of Computer (IJC), 43(1), 14–23. Retrieved from https://www.ijcjournal.org/index.php/InternationalJournalOfComputer/article/view/1928

Issue

Section

Articles