DIFFRENCE BETWEEN STRUCTURED PROGRAMING AND OBJCET ORIENTED
PROGRAMING.
Answers were Sorted based on User's Feedback
Answer / aks
Structured Programming : Revolves around Creating
Programming Constructs. One writes the programs and
modifies the data structures with the focus on Algorithms
and Programming Routines. C/Pascal/BASIC are examples of
structured Programming.
OOP: is focussed on creating data structures and writing
Methods to modify them. The focus is on Creation of Data
Structures and providing Methods to modify these values.
eg. C++/Java/
| Is This Answer Correct ? | 17 Yes | 3 No |
Answer / rajeshwar raja
Structure Programming : Approaches the problem in "TOP-DOWN"
fashion.
Object Oriented Programming : Approaches the problem in
"BOTTOM-UP" fashion.
| Is This Answer Correct ? | 9 Yes | 3 No |
Answer / renjith m
Structured programming consists of breaking big problems
into smaller problems, then further breaking those into
still smaller problems, and so on, until a level of such
simplicity is reached that the implementation is obvious to
the programmer expected to do the coding. Object-oriented
programming consists of grouping code with the data on
which it operates so that this "object" can function
independently of the rest of the software system.
Structured programming and object-oriented programming are
not mutually exclusive. You can structure the code in an
object, and you can use objects to implement the modules of
code in a structured program.
| Is This Answer Correct ? | 6 Yes | 4 No |
Answer / murali
structured programing is once we write the program it's
modification is diffcult beacause so many lines of code
inside the pg we must check every line of code and
modification done accourdingly
oop is very easy to modify any code beacause it consist
classes then easily can modify
| Is This Answer Correct ? | 3 Yes | 3 No |
Answer / abhi
Procedure Oriented Programming
 Importance is given to the sequence of things to be
done i.e. algorithms
 larger programs are divided into functions
 most functions share global data i.e data move
freely around the system from function to function.
 there is no access specifier
 operator cannot be overloaded
 follows top to bottom approach
 Inheritence is not supported
Object Oriented Programming
 Importance is given to the data.
 larger programs are divided into objects
 mostly the data is private and only functions
inside the object can access the data.
 there are public, private and protected specifier.
 operator can be overloaded
 follows bottom to top approach
 Inheritence is supported
| Is This Answer Correct ? | 1 Yes | 2 No |
What is function overloading?,describe it with the example.
What are virtual functions?
How is data security provided in Object Oriented languages? ?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
why we are declare the function in the abstract class even though we are declaring it in Derived class?
how to swap to variables without using thrid variable in java?
what is object slicing
What is polymorphism explain?
Prepare me a program for the animation of train
design class for linked list and include constructor,destructor,insert option. node of form struct node { int data; struct node &ptr; }
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
What is the outcome of the line of code "cout<<abs(- 16.5);"? 1) 16 2) 17 3) 16.5