C++ MCQs with answers Page - 137

Here, you will find a collection of MCQ questions on C++. Go through these questions to enhance your preparation for upcoming examinations and interviews.

To check the correct answer, simply click the View Answer button provided for each question.

Have your own questions to contribute? Click the button below to share your MCQs with others!

+ Add Question

A

Admin • 833.24K Points
Coach

Q. Which one is the Object Oriented Programming language?

  • (A) Cobol
  • (B) C
  • (C) C++
  • (D) both C & C++

A

Admin • 833.24K Points
Coach

Q. The wrapping up of data and functions into a single unit is called ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐.

  • (A) inheritance
  • (B) encapsulation
  • (C) data hiding
  • (D) polymorphism

A

Admin • 833.24K Points
Coach

Q. The process by which objects of one class acquire the properties of objects of another class is called ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ .

  • (A) abstraction
  • (B) inheritance
  • (C) encapsulation
  • (D) polymorphism

A

Admin • 833.24K Points
Coach

Q. In OOP which cocept provides the idea of reusability.

  • (A) inheritance
  • (B) encapsulation
  • (C) data hiding
  • (D) polymorphism

A

Admin • 833.24K Points
Coach

Q. The process of making an operator to exhibit different behaviors in different instances is called ‐‐‐ ‐‐.

  • (A) function overloading
  • (B) operator overloading
  • (C) inheritance
  • (D) none of these

A

Admin • 833.24K Points
Coach

Q. The process of making a function to exhibit different behaviors in different instances is called ‐‐‐‐‐.

  • (A) function overloading
  • (B) operator overloading
  • (C) inheritance
  • (D) none of these

A

Admin • 833.24K Points
Coach

Q. Objects communicate with one another by using ‐‐‐‐‐‐‐‐‐‐.

  • (A) message passing
  • (B) operator overloading
  • (C) inheritance
  • (D) both a & b

A

Admin • 833.24K Points
Coach

Q. Through ‐‐‐‐‐‐‐‐ we can eliminate redundant code and extend the use of existing class.

  • (A) inheritance
  • (B) operator overloading
  • (C) encapsulation
  • (D) both a & b

A

Admin • 833.24K Points
Coach

Q. The ‐‐‐‐‐‐‐‐‐ principle helps the programmer to build secure programs.

  • (A) operator overloading
  • (B) encapsulation
  • (C) data hiding
  • (D) polymorphism

A

Admin • 833.24K Points
Coach

Q. What are the basic run time entities in an object oriented program?

  • (A) objects
  • (B) functions
  • (C) datas
  • (D) none of these

Add MCQ in this Category

If you want to share an MCQ question in this category, it's a great idea! It will be helpful for many other students using this website.

Share Your MCQ