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 |
How to write test cases for Auditing in Health care Applications?
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).
How does C pass variables to a function ?
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?
differences between pass by reference and pass by value in c language?
What do you think determines a person's progress in a good company?
how can read number 1 to 100,without use anyloop.
what is need of interface. what is the diff b/w interface and abstract class
write a program for input is 56 output will be 5+6=10?
If a stored procedure is taking a table data type, how it looks?
basic difference between run time and compile time polymorphism
Describe circular polarization?
Civil Engineering (5086)
Mechanical Engineering (4453)
Electrical Engineering (16638)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)