Computer Science, asked by raizadaarti7275, 1 year ago

Difference between structured and unstructured programming language

Answers

Answered by Kingvikraal
8

1.The main difference between structured and unstructured programming language is that a structured programming language allows a programmer to dividing the whole program into smaller units or modules. But in unstructured programming language, the whole program must be written in single continuous way; there is no stop or broken block.

2.Structured Programming language is a subset of Procedural Programming language. But in unstructured Programming language no subset exists.

3.Structured Programming language is a precursor to Object Oriented Programming (OOP) language. But another one is not.

4.Structured Programming language produces readable code while Unstructured Programming language produces hardly readable code “spaghetti”.

5.Structured Programming language has some limitations while unstructured Programming language offers freedom to program as they want.

6..Structured Programming language is easy to modify and debug, while unstructured Programming language is very difficult to modify and debug.

7.Examples of Structured Programming language are C, C+, C++, C#, Java, PERL, Ruby, PHP, ALGOL, Pascal, PL/I and Ada; and example of unstructured Programming language are BASIC (early version), JOSS, FOCAL, MUMPS, TELCOMP, COBOL.
Answered by Anonymous
5

•STRUCTURED PROGRAMMING:

1) It is a programming which divides

the code into functions.

2) These programs are easy to

read.

3) These programs can be used for

small and medium scale

projects.

4) It avoids code duplication.

5) It uses many data types.

•UNSTRUCTUREDPROGRAMMING:

1) It is a programming in which the

code is considered as one single

block.

2) These programs are hard to

read.

3) These programs are not

applicable for medium and

complex projects.

4) These programs have code

duplication.

5) These programs uses limited

number of data types.

Similar questions