DIFFRENCE BETWEEN STRUCTURED PROGRAMING AND OBJCET ORIENTED
PROGRAMING.

Answers were Sorted based on User's Feedback



DIFFRENCE BETWEEN STRUCTURED PROGRAMING AND OBJCET ORIENTED PROGRAMING...

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

DIFFRENCE BETWEEN STRUCTURED PROGRAMING AND OBJCET ORIENTED PROGRAMING...

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

DIFFRENCE BETWEEN STRUCTURED PROGRAMING AND OBJCET ORIENTED PROGRAMING...

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

DIFFRENCE BETWEEN STRUCTURED PROGRAMING AND OBJCET ORIENTED PROGRAMING...

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

DIFFRENCE BETWEEN STRUCTURED PROGRAMING AND OBJCET ORIENTED PROGRAMING...

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

Post New Answer

More OOPS Interview Questions

WAP find square root of any number (without using sqrt() )?

3 Answers  


Can we have a private virtual method ?

8 Answers   Ness Technologies,


WHAT IS THE DIFFERENCE BETWEEN ABSTRUCTION AND ENCAPSULATION? PLEASE EXPLAIN IT.

7 Answers   ETH,


Write a program to find out the number of palindromes in a sentence.

1 Answers   TCS,


what is overloading and overriding?

7 Answers  






If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?

0 Answers  


How long to learn object oriented programming?

0 Answers  


just right the logic of it 1--> If few people are electing then every time ur candidate should win 2--> arrange books in box, if box carry weight == books weight then take another box..... find the no of box required.

0 Answers  


What is object in oop with example?

0 Answers  


what are the ways in which a constructors can be called?

2 Answers   TCS,


oops concept is used for?

3 Answers   Synergy,


what is the abstract class,interface ,its difference with a programatic eg.? hi,recently i went for an interview they ask me what is abstract class ,interface and its difference I said abstract class contain abstact method ,abstract method is a method with no body.Abstract class cannot be instantiated.Abstract class is a base class it required derived class for the implementation of method. Interface is a syntactical contract that all derived class should follow it define properties ,method,events which are known as member of interface. Then They asked me what is the difference between them. I said abstract class interface 1.abstact class can implement method 1.interface cant 2.abstact class can contain constructor, 2.interface cant destructor 3.abstract class cannot support multiple 3.interface support inheritance etc Then they said some different answer I said dont no. Then they ask me when i should make abstract class for an project and when i should make interface. I said if suppose there is two class which must be having method with different logic then we sholud make abstract class. and if suppose we have two class having method .with different logic then we can make interface . Am i correct with my explaination.if not correct me .please provide me that when should we create abstract class and interface and what is difference .please help me

1 Answers  


Categories