Question:

In Object-Oriented methodology, the focus is on which of the following entities?

Show Hint

In {Object-Oriented Programming}, programs are designed around {objects} that combine both data and functions.
  • Data
  • Functions
  • Objects
  • Procedures
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

Step 1: Understanding Object-Oriented methodology.
Object-Oriented Programming (OOP) is a programming methodology that organizes software design around objects rather than functions or procedures. It focuses on representing real-world entities in the form of objects that contain both data and behavior.
Step 2: Meaning of objects in OOP.
An object is a fundamental unit of an object-oriented system. It consists of two main components:
Attributes (Data): These represent the properties or characteristics of the object.
Methods (Functions): These define the actions or behaviors that the object can perform.
For example, in a student management system, a Student object may contain attributes such as name, roll number, and marks, along with methods to calculate grades or update records.
Step 3: Analysis of options.
(A) Data: Incorrect. Traditional programming focuses mainly on data structures rather than objects.
(B) Functions: Incorrect. Procedural programming focuses on functions.
(C) Objects: Correct. Object-oriented methodology centers around objects and their interactions.
(D) Procedures: Incorrect. Procedural programming focuses on procedures rather than objects.
Step 4: Conclusion.
Therefore, in object-oriented methodology, the primary focus is on objects.
Final Answer: Objects
Was this answer helpful?
0
0