INTRODUCTION
A program in a non-structured language usually consists of sequentially ordered commands, or statements, usually one in each line. The lines are usually numbered or may have labels: this allows the flow of execution to jump to any line in the program.
Non-structured programming introduces basic control flow concepts such as loops, branches and jumps. Although there is no concept of procedures in the non-structured paradigm[citation needed], subroutines are allowed. Unlike a procedure, a subroutine may have several entry and exit points, and a direct jump into or out of subroutine is (theoretically) allowed. This flexibility allows realization of coroutines.
There is no concept of locally scoped variables in non-structured programming (although for assembly programs, general purpose registers may serve the same purpose after saving on entry), but labels and variables can have a limited area of effect (for example, a group of lines). This means there is no (automatic) context refresh when calling a subroutine, so all variables might retain their values from the previous call. This makes general recursion difficult, but some cases of recursion--where no subroutine state values are needed after the recursive call--are possible if variables dedicated to the recursive subroutine are explicitly cleared (or re-initialized to their original value) on entry to the subroutine. The depth of nesting also may be limited to one or two levels.
Non-structured languages allow only basic data types, such as numbers, strings and arrays[citation needed] (numbered sets of variables of the same type). The introduction of arrays into non-structured languages was a notable step forward, making stream data processing possible despite the lack of structured data types
The main difference between structured and unstructured programming language is that a structured programming language allows a programmer to code a program by diving the whole program into smaller units or modules. In unstructured programming language, the program must be written as a single continuous, i.e. nonstop or unbroken block.
Disclaimer: Note this academic material is intended as a guide for your academic research work. Do not copy word for word. Note: For Computer or Programming related works, some works might not contain source codes
CITE THIS WORK
(2016, 02). The Differences Between Structured Language And Unstructured Language: Programing Language.. ProjectStoc.com. Retrieved 02, 2016, from https://projectstoc.com/read/7376/the-differences-between-structured-language-and-unstructured-language-programing-language-4783
"The Differences Between Structured Language And Unstructured Language: Programing Language." ProjectStoc.com. 02 2016. 2016. 02 2016 <https://projectstoc.com/read/7376/the-differences-between-structured-language-and-unstructured-language-programing-language-4783>.
"The Differences Between Structured Language And Unstructured Language: Programing Language.." ProjectStoc.com. ProjectStoc.com, 02 2016. Web. 02 2016. <https://projectstoc.com/read/7376/the-differences-between-structured-language-and-unstructured-language-programing-language-4783>.
"The Differences Between Structured Language And Unstructured Language: Programing Language.." ProjectStoc.com. 02, 2016. Accessed 02, 2016. https://projectstoc.com/read/7376/the-differences-between-structured-language-and-unstructured-language-programing-language-4783.
- Related Works
- Design And Construction Of A 40ft Adjustable Ladder
- Comparative Analysis Of Hydraform And Sandcrete Blocks
- Relationship Between Material Management Approach And Scheduled Project Completion Time
- The Impact Of Maintenance Of Buildings And Infrastructural Facilities To The National Economy (a Case Study Of Shell Camp Housing Estate, Owerri, Imo State, Nigeria)
- Rehabilitation Of Road Linking Umuekulummiri Street To Imt Awarness Ground Junction Imt Campus Iii Enugu
- Comparative Analysis Of Private And Public Road Transport Operations, (a Case Study Of Imo State)
- Variattion Orders In Building And Construction Projects In The Koforidua Municipality
- The Differences Between Expressions Of Interest (eoi), Invitation For Bids(ifb) And Tenders