In this Topic, We Provide the Latest Object Oriented Programing MCQs with Answers to Easily Prepare for your Online Test or Exams and Improve your Knowledge and Learning Skills.
1) Howe many objects are involved in the binary association
- 1
- 4
- 3
- 2
2) In generalization, general class represents the _____________ behavior of the classes.
- Specific
- Different
- Common
- Accurate
3) We can allocate dynamic memory in C++ through ____________ operator
- New
- Global
- Static
- Const
4) Object orientation approach can be achieved using objects and their _____________.
- Interactions
- Models
- None
- Attributes
5) Which of the following is true about Polymorphism
- It is powerful tool to develop reusable systems
- It is a powerful tool to develop flexible systems.
- It is feature of Object-Oriented Programming
- All of the given options
6) A relationship in which one class object gets destroyed if the other class objects is destroyed
- Aggregation
- Composition
- Association
- Inheritance
7) In OOP, we can achieve reusability through _________
- Inheritance
- Aggregation
- Encapsulation
- Association
8) Specialization means that derived class is behaviorally________ with the base class
- Compatibility
- Same
- Different
- Incompatibility
9) The technique in which we visualize our programming problems according to real life’s problem is called ______________
- Sequential programming
- Object oriented programming
- Structure programming
- Procedural programming
10) In _____________ sender of a message does not need to know exact class of the receiver.
- Aggregation
- Composition
- Encapsulation
- None of the given options
11) Which of the following is TRUE about class
- It is a mechanism in C++ to realize objects in a program
- It is concrete implementation of object in C++
- It is used to create new type in C++ according to our requirement
- All of the given options
12) Identify the common attributes of the given scenario:
- Color, Vertices
- Color, Angle
- Verities, Radius
- Vertices, Radius
13) Which of the following is the part of the class in UML diagram
- Class Name
- Attributes
- Behaviors
- All of the given options
14) Entities in 00 model are represented by:
- Rectangle
- Circle
- Lines
- Square
15) Which of the following is TRUE about Destructor
- It is used to perfume house keeping operations
- It is used to free memory that is allocated through dynamic allocation
- Free memory allocated using new operator by over self in destructor
- All of the given option
16) Subtyping means that derived class is behaviorally _______________ with the base class.
- Incompatible
- Compatible
- Different
- Same
17) Which of the following classes are used by Amphibious vehicle to inherit characteristics
- Both land and water Vehicle
- Water Vehicle
- Land Vehicle
- None of the given option