Class 7  >  C++ Programming for Beginners  >  Test: C++ OOP Concept Download as PDF

Test: C++ OOP Concept


Test Description

15 Questions MCQ Test C++ Programming for Beginners | Test: C++ OOP Concept

Test: C++ OOP Concept for Class 7 2023 is part of C++ Programming for Beginners preparation. The Test: C++ OOP Concept questions and answers have been prepared according to the Class 7 exam syllabus.The Test: C++ OOP Concept MCQs are made for Class 7 2023 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests for Test: C++ OOP Concept below.
Solutions of Test: C++ OOP Concept questions in English are available as part of our C++ Programming for Beginners for Class 7 & Test: C++ OOP Concept solutions in Hindi for C++ Programming for Beginners course. Download more important topics, notes, lectures and mock test series for Class 7 Exam by signing up for free. Attempt Test: C++ OOP Concept | 15 questions in 15 minutes | Mock test for Class 7 preparation | Free important questions MCQ to study C++ Programming for Beginners for Class 7 Exam | Download free PDF with solutions
1 Crore+ students have signed up on EduRev. Have you?
Test: C++ OOP Concept - Question 1

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

Detailed Solution for Test: C++ OOP Concept - 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 for Test: C++ OOP Concept - 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 for Test: C++ OOP Concept - 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 for Test: C++ OOP Concept - 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 for Test: C++ OOP Concept - 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 for Test: C++ OOP Concept - 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 for Test: C++ OOP Concept - 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 for Test: C++ OOP Concept - 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 for Test: C++ OOP Concept - 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 for Test: C++ OOP Concept - 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 for Test: C++ OOP Concept - 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 for Test: C++ OOP Concept - 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 for Test: C++ OOP Concept - 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 for Test: C++ OOP Concept - 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 for Test: C++ OOP Concept - 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
Use Code STAYHOME200 and get INR 200 additional OFF
Use Coupon Code
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