compair and contrast procedrual and object oriented
programming language



compair and contrast procedrual and object oriented programming language..

Answer / Ajay Kumar Jain

Procedural programming languages focus on defining procedures or functions to manipulate data, while object-oriented programming (OOP) languages revolve around creating objects that contain both data and methods to operate on the data. Here's a brief comparison:n
1. Control Structure: Procedural languages have a simple control structure based on sequential, selection, and repetition statements. In contrast, OOP uses classes and objects for encapsulation and inheritance.
2. Abstraction: Both procedural and object-oriented programming support abstraction but approach it differently. Procedural languages abstract by defining functions, while OOP achieves abstraction through classes and interfaces.
3. Reusability: Object-oriented programming promotes reusability through inheritance and polymorphism, allowing programmers to create generalized components that can be reused in multiple applications. Procedural languages offer limited reusability by defining functions separately.
4. Coupling: Object-oriented programming tends to have lower coupling due to the encapsulation of data within objects. In procedural programming, functions can interact directly with each other, leading to higher coupling.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Engineering AllOther Interview Questions

How to write test cases for Auditing in Health care Applications?

1 Answers  


Give an algorithm for the following problem and determine its time complexity. Given a list of n distinct positive integers, partition the list into two sublists, each of size n/2, such that the difference between the sums of the integers in the two sublists is maximized. You may assume that n is a multiple of 2 (i.e. n is even).

1 Answers  


How does C pass variables to a function ?

1 Answers   Geometric Software,


who is the judge in case of the auditor has raised an NCR against an auditee? who should decide weather this NCR is acceptable and the auditee has to accept?

1 Answers   AES,


differences between pass by reference and pass by value in c language?

1 Answers  


What do you think determines a person's progress in a good company?

1 Answers  


how can read number 1 to 100,without use anyloop.

1 Answers  


what is need of interface. what is the diff b/w interface and abstract class

1 Answers  


write a program for input is 56 output will be 5+6=10?

2 Answers   Infosys,


If a stored procedure is taking a table data type, how it looks?

0 Answers  


basic difference between run time and compile time polymorphism

3 Answers  


Describe circular polarization?

2 Answers  


Categories
  • Civil Engineering Interview Questions Civil Engineering (5086)
  • Mechanical Engineering Interview Questions Mechanical Engineering (4453)
  • Electrical Engineering Interview Questions Electrical Engineering (16638)
  • Electronics Communications Interview Questions Electronics Communications (3918)
  • Chemical Engineering Interview Questions Chemical Engineering (1095)
  • Aeronautical Engineering Interview Questions Aeronautical Engineering (239)
  • Bio Engineering Interview Questions Bio Engineering (96)
  • Metallurgy Interview Questions Metallurgy (361)
  • Industrial Engineering Interview Questions Industrial Engineering (259)
  • Instrumentation Interview Questions Instrumentation (3014)
  • Automobile Engineering Interview Questions Automobile Engineering (332)
  • Mechatronics Engineering Interview Questions Mechatronics Engineering (97)
  • Marine Engineering Interview Questions Marine Engineering (124)
  • Power Plant Engineering Interview Questions Power Plant Engineering (172)
  • Textile Engineering Interview Questions Textile Engineering (575)
  • Production Engineering Interview Questions Production Engineering (25)
  • Satellite Systems Engineering Interview Questions Satellite Systems Engineering (106)
  • Engineering AllOther Interview Questions Engineering AllOther (1379)