Research Article

LSTM Based Source Code Generation for Turkish Pseudo Code of Algorithm

Volume: 9 Number: 1 January 31, 2021
TR EN

LSTM Based Source Code Generation for Turkish Pseudo Code of Algorithm

Abstract

Algorithmic thinking and programming abilities of students is controversial and popular issue in technological education programs in schools and universities. Students that have not best mathematical and analytical background may have difficulties in learning computer programing. Moreover, learning programming is highly difficult for a single individual to establish connection between discrete pseudo code of algorithm and source code. Another problem is required time to write a piece of program code. In order to solve this problem, there are some tools that tutor students to get analyze and realize relation between pseudo code and source code. In this study, we propose a deep learning method that is Long Short Term-Memory (LSTM) based source code generator from Turkish pseudo codes. For this purpose, we used Introduction to programming course exams in vocational high school as dataset to train LSTM. When users query a Turkish pseudo code of algorithm, C# source code is generated. In order to measure success of proposed system, generated source code and instructor’s source code is analyzed with text similarity methods. Results show that proposed system is useful for students to learn fundamental programming skills.

Keywords

References

  1. [1] B. Robson, “Computers and viral diseases. Preliminary bioinformatics studies on the design of a synthetic vaccine and a preventative peptidomimetic antagonist against the SARS-CoV-2 (2019-nCoV, COVID-19) coronavirus,” Computers in Biology and Medicine, vol. 119, pp. 103670, 2020.
  2. [2] B. Drury, M. Roche, “A survey of the applications of text mining for agriculture,” Computers and Electronics in Agriculture, vol. 163, pp. 104864, 2019.
  3. [3] R. Warner, S. D. Sowle, and W. Sadler, “Teaching law with computers,” Rutgers Computer & Tech, vol. 24, no. 107, pp. 156-158, 1998.
  4. [4] R. P. Feynman, “Simulating physics with computers,” International Journal of Theoretical Physics, vol. 21, pp. 467-488, 1982.
  5. [5] M. Duran, T. Aytaç, “Students' opinions on the use of tablet computers in education,” European Journal of Contemporary Education, vol. 15, no. 1, pp. 65-75, 2016.
  6. [6] Y. Qian, J. Lehman, “Students’ misconceptions and other difficulties in introductory programming: a literature review,” ACM Transactions on Computing Education (TOCE), vol. 18, no. 1, pp. 1-24, 2017.
  7. [7] E. Lahtinen, K. Ala-Mutka and H. M. Järvinen, “A study of the difficulties of novice programmers,” Acm Sigcse Bulletin, vol. 37, no. 13, pp. 14-18, 2005.
  8. [8] P. H. Tan, C. Y. Ting, S. W. Ling, “Learning difficulties in programming courses: Undergraduates' perspective and perception,” in International Conference on Computer Technology and Development, 2009, pp. 42-46.

Details

Primary Language

English

Subjects

Engineering

Journal Section

Research Article

Publication Date

January 31, 2021

Submission Date

November 11, 2020

Acceptance Date

January 3, 2021

Published in Issue

Year 2021 Volume: 9 Number: 1

APA
İnce, M. (2021). LSTM Based Source Code Generation for Turkish Pseudo Code of Algorithm. Duzce University Journal of Science and Technology, 9(1), 104-113. https://doi.org/10.29130/dubited.824799
AMA
1.İnce M. LSTM Based Source Code Generation for Turkish Pseudo Code of Algorithm. DUBİTED. 2021;9(1):104-113. doi:10.29130/dubited.824799
Chicago
İnce, Murat. 2021. “LSTM Based Source Code Generation for Turkish Pseudo Code of Algorithm”. Duzce University Journal of Science and Technology 9 (1): 104-13. https://doi.org/10.29130/dubited.824799.
EndNote
İnce M (January 1, 2021) LSTM Based Source Code Generation for Turkish Pseudo Code of Algorithm. Duzce University Journal of Science and Technology 9 1 104–113.
IEEE
[1]M. İnce, “LSTM Based Source Code Generation for Turkish Pseudo Code of Algorithm”, DUBİTED, vol. 9, no. 1, pp. 104–113, Jan. 2021, doi: 10.29130/dubited.824799.
ISNAD
İnce, Murat. “LSTM Based Source Code Generation for Turkish Pseudo Code of Algorithm”. Duzce University Journal of Science and Technology 9/1 (January 1, 2021): 104-113. https://doi.org/10.29130/dubited.824799.
JAMA
1.İnce M. LSTM Based Source Code Generation for Turkish Pseudo Code of Algorithm. DUBİTED. 2021;9:104–113.
MLA
İnce, Murat. “LSTM Based Source Code Generation for Turkish Pseudo Code of Algorithm”. Duzce University Journal of Science and Technology, vol. 9, no. 1, Jan. 2021, pp. 104-13, doi:10.29130/dubited.824799.
Vancouver
1.Murat İnce. LSTM Based Source Code Generation for Turkish Pseudo Code of Algorithm. DUBİTED. 2021 Jan. 1;9(1):104-13. doi:10.29130/dubited.824799