Superficially the term “objectoriented”, means that, we organize software as a

2014

Superficially the term “objectoriented”, means that, we organize software as a

  1. A.

    collection of continuous objects that incorporates both data structure and behaviour.

  2. B.

    collection of discrete objects that incorporates both discrete structure and behaviour.

  3. C.

    collection of discrete objects that incorporates both data structure and behaviour.

  4. D.

    collection of objects that incorporates both discrete data structure and behaviour.

Attempted by 215 students.

Show answer & explanation

Correct answer: C

Answer: collection of discrete objects that incorporates both data structure and behaviour.

Why this is correct:

  • Objects are discrete entities: each object represents a separate unit with its own identity and state.

  • Each object encapsulates data (the object's state) and behavior (methods or operations the object can perform).

  • Classes act as blueprints to create objects, enabling reuse and organization of related data and behavior.

Why the other wordings are incorrect or misleading:

  • 'Continuous objects' is incorrect because objects are intended to be distinct, identifiable units rather than a continuous entity.

  • Phrases like 'discrete structure' or 'discrete data structure' are misleading; the emphasis should be on the object's data (state) and behavior, not on an abstract 'discrete structure'.

Key concepts to remember: encapsulation, abstraction, inheritance, and polymorphism help structure object-oriented systems around discrete objects that package data and behavior together.

Explore the full course: Mppsc Assistant Professor