Advertisement
Advertisement
Brainly User
Brainly User
•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.
Advertisement
Advertisement
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.
Advertisement
Advertisement
New questions in Computer Science
Think about a phone app that you like to use in your daily life. Using the 5 W's below, write down a problem statement that the app you chose addresse
…
s.
Answer the 5 W's:
Who is experiencing the problem?
What is the problem?
Where does the problem show up?
When does the problem occur?
Why is the problem importan
What will be the output of the following JavaScript code? function compare() { int num=2; char b=2; if(a==b) return true; else return false; } a) true
…
b) false c) runtime error d) compilation error
Write a function in javascript, that takes as input a year and displays whether it is a leap year or not.
You Can insert a video file from the ____ group in the _____ tab
Steps of create ms excel worksheet of profit and loss