CBSE Class 10  >  Class 10 Test  >  C++ Programming for Beginners  >  Test: C++ OOP Concept - Class 10 MCQ

C++ OOP Concept - Free MCQ Practice Test with solutions, Class 10 Programming


MCQ Practice Test & Solutions: Test: C++ OOP Concept (15 Questions)

You can prepare effectively for Class 10 C++ Programming for Beginners with this dedicated MCQ Practice Test (available with solutions) on the important topic of "Test: C++ OOP Concept". These 15 questions have been designed by the experts with the latest curriculum of Class 10 2026, to help you master the concept.

Test Highlights:

  • - Format: Multiple Choice Questions (MCQ)
  • - Duration: 15 minutes
  • - Number of Questions: 15

Sign up on EduRev for free to attempt this test and track your preparation progress.

Test: C++ OOP Concept - Question 1

Wrapping data and its related functionality into a single entity is known as _____________

Detailed Solution: Question 1

In OOPs, the property of enclosing data and its related functions into a single entity(in C++ we call them classes) is called encapsulation.

Test: C++ OOP Concept - Question 2

What does polymorphism in OOPs mean?

Detailed Solution: Question 2

In OOPs, Polymorphism is the concept of allowing a user to override functions either by changing the types or number of parameters passed.

Test: C++ OOP Concept - Question 3

How access specifiers in Class helps in Abstraction?

Detailed Solution: Question 3

Abstraction is the concept of hiding things from the outer world and showing only the required things to the world, which is where access specifiers private, protected and public helps in keeping our knowledge hidden from the world.

Test: C++ OOP Concept - Question 4

What does modularity mean?

Detailed Solution: Question 4

Modularity means dividing a program into independent sub programs so that it can be invoked from other parts of the same program or any other program.

Test: C++ OOP Concept - Question 5

Which of the following class allows to declare only one object of it?

Detailed Solution: Question 5

Singleton class allows the programmer to declare only one object of it, If one tries to declare more than one object the program results into error.

Test: C++ OOP Concept - Question 6

Which of the following is correct?

Detailed Solution: Question 6

C++ does not allow a derived class pointer to point a base class pointer whereas Base class can point to a derived class object. Both base class and derived class can have pointer objects.

Test: C++ OOP Concept - Question 7

What is the other name used for functions inside a class?

Detailed Solution: Question 7

Functions of a class are also known as member functions of a class.

Test: C++ OOP Concept - Question 8

Why references are different from pointers?

Detailed Solution: Question 8

References cannot be made null whereas a pointer can be. References cannot be changed whereas pointers can be modified.
Pointers need * operator to dereference the value present inside it whereas reference does not need an operator for dereferencing.

Test: C++ OOP Concept - Question 9

How many types of polymorphism are there in C++?

Detailed Solution: Question 9

There are two types of polymorphism in C++ namely run-time and compile-time polymorphisms.

Test: C++ OOP Concept - Question 10

How compile-time polymorphisms are implemented in C++?

Detailed Solution: Question 10

Compile-time polymorphism is implemented using templates in which the types(which can be checked during compile-time) are used decides which function to be called.

Test: C++ OOP Concept - Question 11

Which concept means the addition of new components to a program as it runs?

Detailed Solution: Question 11

Dynamic loading is the concept of adding new components to a program as it runs.

Test: C++ OOP Concept - Question 12

Which of the following explains the overloading of functions?

Detailed Solution: Question 12

Ad-hoc polymorphism is a type of polymorphism in which a function denotes heterogeneous implementation depending upon the types of argument.

Test: C++ OOP Concept - Question 13

Which of the following approach is used by C++?

Detailed Solution: Question 13

C++ is an object-oriented language and OOL uses a bottom-up approach to solve/view a problem.

Test: C++ OOP Concept - Question 14

Which of the following is not a type of Constructor?

Detailed Solution: Question 14

Friend function is not a constructor whereas others are a type of constructor used for object initialization.

Test: C++ OOP Concept - Question 15

Out of the following, which is not a member of the class?

Detailed Solution: Question 15

Friend function is not a member of the class. They are given the same access rights as the class member function have but they are not actual members of the class.

15 videos|20 docs|13 tests
Information about Test: C++ OOP Concept Page
In this test you can find the Exam questions for Test: C++ OOP Concept solved & explained in the simplest way possible. Besides giving Questions and answers for Test: C++ OOP Concept, EduRev gives you an ample number of Online tests for practice
Download as PDF