TRANSLATION OF ALGORITHM WITH NATURAL LANGUAGE-LIKE NOTATION TO PROGRAMMING LANGUAGE SOURCE CODE

<p align="justify">Implementing algorithm to source code becomes difficult for programmers who have minimum knowledge about programming language syntax. This makes programmers cannot focus on problem solving. A system translating algorithm in natural language to source code could res...

Full description

Saved in:
Bibliographic Details
Main Author: KELVIN - NIM : 13514100 , ALBERTUS
Format: Final Project
Language:Indonesia
Online Access:https://digilib.itb.ac.id/gdl/view/25304
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Institut Teknologi Bandung
Language: Indonesia
id id-itb.:25304
spelling id-itb.:253042018-08-24T13:42:59ZTRANSLATION OF ALGORITHM WITH NATURAL LANGUAGE-LIKE NOTATION TO PROGRAMMING LANGUAGE SOURCE CODE KELVIN - NIM : 13514100 , ALBERTUS Indonesia Final Project INSTITUT TEKNOLOGI BANDUNG https://digilib.itb.ac.id/gdl/view/25304 <p align="justify">Implementing algorithm to source code becomes difficult for programmers who have minimum knowledge about programming language syntax. This makes programmers cannot focus on problem solving. A system translating algorithm in natural language to source code could resolve the difficulty. The aims of this study were to find a method to build such translator, make algorithm writing becomes more flexible, and find a method to evaluate system performance. The method has 2 processes, namely translation of variable declaration and algorithm body. The former process aims for extracting variables and data type. The latter process aims for translating every algorithm line to source code. A collection of predefined syntax was applied on variable declaration, programming instructions, array and function call sentences. The syntax covers identifiers synonyms to increase writing flexibility. Functionality evaluation showed that the module for creating variable’s complete form in the first process resulted in more than one complete variables. The test case was combination of array declaration sentences. The module for converting function call to intermediate language in the second process resulted in irrelevant parameters. The test case was arithmetic operation with string concatenation function as the operands. This evaluation also showed that the algorithm writing was flexible. Performance evaluation showed that 10 respondents (100%) who are familiar with C+ + preferred using C++ when the syntax was and wasn’t provided. The top argument was natural language has ambiguity. Meanwhile, 10 respondents (100%) who are unfamiliar with C++ preferred using natural language when the syntax wasn’t provided. The top argument was having no knowledges about C++ syntax. When the syntax was provided, 8 respondents (80%) chose natural language. The top argument was natural language syntax was more flexible and C++ syntax was more complicated. Meanwhile, 2 respondents (20%) chose C++. The top argument was C++ syntax was more succinct.<p align="justify"> <br /> text
institution Institut Teknologi Bandung
building Institut Teknologi Bandung Library
continent Asia
country Indonesia
Indonesia
content_provider Institut Teknologi Bandung
collection Digital ITB
language Indonesia
description <p align="justify">Implementing algorithm to source code becomes difficult for programmers who have minimum knowledge about programming language syntax. This makes programmers cannot focus on problem solving. A system translating algorithm in natural language to source code could resolve the difficulty. The aims of this study were to find a method to build such translator, make algorithm writing becomes more flexible, and find a method to evaluate system performance. The method has 2 processes, namely translation of variable declaration and algorithm body. The former process aims for extracting variables and data type. The latter process aims for translating every algorithm line to source code. A collection of predefined syntax was applied on variable declaration, programming instructions, array and function call sentences. The syntax covers identifiers synonyms to increase writing flexibility. Functionality evaluation showed that the module for creating variable’s complete form in the first process resulted in more than one complete variables. The test case was combination of array declaration sentences. The module for converting function call to intermediate language in the second process resulted in irrelevant parameters. The test case was arithmetic operation with string concatenation function as the operands. This evaluation also showed that the algorithm writing was flexible. Performance evaluation showed that 10 respondents (100%) who are familiar with C+ + preferred using C++ when the syntax was and wasn’t provided. The top argument was natural language has ambiguity. Meanwhile, 10 respondents (100%) who are unfamiliar with C++ preferred using natural language when the syntax wasn’t provided. The top argument was having no knowledges about C++ syntax. When the syntax was provided, 8 respondents (80%) chose natural language. The top argument was natural language syntax was more flexible and C++ syntax was more complicated. Meanwhile, 2 respondents (20%) chose C++. The top argument was C++ syntax was more succinct.<p align="justify"> <br />
format Final Project
author KELVIN - NIM : 13514100 , ALBERTUS
spellingShingle KELVIN - NIM : 13514100 , ALBERTUS
TRANSLATION OF ALGORITHM WITH NATURAL LANGUAGE-LIKE NOTATION TO PROGRAMMING LANGUAGE SOURCE CODE
author_facet KELVIN - NIM : 13514100 , ALBERTUS
author_sort KELVIN - NIM : 13514100 , ALBERTUS
title TRANSLATION OF ALGORITHM WITH NATURAL LANGUAGE-LIKE NOTATION TO PROGRAMMING LANGUAGE SOURCE CODE
title_short TRANSLATION OF ALGORITHM WITH NATURAL LANGUAGE-LIKE NOTATION TO PROGRAMMING LANGUAGE SOURCE CODE
title_full TRANSLATION OF ALGORITHM WITH NATURAL LANGUAGE-LIKE NOTATION TO PROGRAMMING LANGUAGE SOURCE CODE
title_fullStr TRANSLATION OF ALGORITHM WITH NATURAL LANGUAGE-LIKE NOTATION TO PROGRAMMING LANGUAGE SOURCE CODE
title_full_unstemmed TRANSLATION OF ALGORITHM WITH NATURAL LANGUAGE-LIKE NOTATION TO PROGRAMMING LANGUAGE SOURCE CODE
title_sort translation of algorithm with natural language-like notation to programming language source code
url https://digilib.itb.ac.id/gdl/view/25304
_version_ 1822020650385014784