Which of the following was a major motivation behind the development of…

2025

Which of the following was a major motivation behind the development of Object-Oriented Programming?

  1. A.

    Eliminate the need for compilers

  2. B.

    Support mathematical computation in early computers

  3. C.

    Improve runtime speed of assembly code

  4. D.

    Model real-world entities in software design

Attempted by 112 students.

Show answer & explanation

Correct answer: D

Object-Oriented Programming was developed mainly to solve software complexity and make programs easier to design and maintain. Its major motivations are:

  1. Manage complexity – Break large programs into smaller objects.

  2. Model real-world entities – Represent real-world concepts using classes and objects.

  3. Code reusability – Use Inheritance to reuse existing code.

  4. Data security – Use Encapsulation to protect data.

  5. Flexibility – Use Polymorphism for adaptable code.

  6. Easy maintenance – Simplifies debugging and updates.

Explore the full course: Rssb Senior Computer Instructor