Top 50+ Solved Object Oriented Programming Using C++ MCQ Questions Answer

From 1 to 15 of 30

Q. Which of the two features match each other?

a. Inheritance and Encapsulation

b. Encapsulation and Polymorphism

c. Encapsulation and Abstraction

d. Abstraction and Polymorphism

  • c. Encapsulation and Abstraction

Q. If a function can perform more than 1 type of tasks, where the function name remains same, which feature of OOP is used here?

a. Encapsulation

b. Inheritance

c. Polymorphism

d. Abstraction

  • c. Polymorphism

Q. Which feature in OOP is used to allocate additional function to a predefined operator in any language?

a. Operator Overloading

b. Function Overloading

c. Operator Overriding

d. Function Overriding

  • a. Operator Overloading

Q. Which among the following best defines abstraction?

a. Hiding the implementation

b. Showing the important data

c. Hiding the important data

d. Hiding the implementation and

  • d. Hiding the implementation and

Q. A base class is also known as class.

a. Basic

b. Inherited

c. Super

d. Sub

  • c. Super

Q. If class A is derived from another derived class B which is derived from class C, which class will have maximum level of abstraction?

a. Class A

b. Class B

c. Class C

d. All have the same level of abstraction

  • c. Class C

Q. Derived class is also known as                              

a. Sub Class

b. Small Class

c. Big Class

d. Noticeable Class

  • a. Sub Class

Q. Which of the following gets called when an object is being created?

a. Constructor

b. Virtual Function

c. Destructors

d. Main

  • a. Constructor

Q. Which of the following is used for comments in

a. //comment

b. /comment

c. *comment

d. ?comment

  • a. //comment

Q. What is used to read from the console in C++?

a. cin

b. scanf

c. read

d. getline

  • a. cin

Q. What is used to write/display to the console in C++?

a. printf

b. cout

c. write

d. putline

  • b. cout

Q. Which operator is used with cin ?

a. >>

b. <<

c. >

d. <

  • a. >>
Subscribe Now

Get All Updates & News