Basics Concepts of C++ Quiz 1
1 / 50
What are the escape sequences?
2 / 50
Which members are inherited but are not accessible in any case?
3 / 50
Which of the following is correct in C++?
4 / 50
Which of the following is a static polymorphism mechanism?
5 / 50
How many types of polymorphism are there in C++?
6 / 50
Which of the following is used for comments in C++?
7 / 50
Wrapping data and its related functionality into a single entity is known as _____________
8 / 50
Which of the following is called address operator?
9 / 50
Which of the following is the correct syntax of including a user defined header files in C++?
10 / 50
Which of the following class allows to declare only one object of it?
11 / 50
Which operator is overloaded for a cout object?
12 / 50
What happens if a class does not have a name?
13 / 50
What are the actual parameters in C++?
14 / 50
What are the formal parameters in C++?
15 / 50
Which of the following is correct?
16 / 50
1. How compile-time polymorphisms are implemented in C++?
17 / 50
Which function is used to write a single character to console in C++?
18 / 50
Which of the following escape sequence represents carriage return?
19 / 50
How run-time polymorphisms are implemented in C++?
20 / 50
Out of the following, which is not a member of the class?
21 / 50
Which of the following supports the concept that reusability is a desirable feature of a language?
22 / 50
Which of the following provides a programmer with the facility of using object of a class inside other classes?
23 / 50
24 / 50
Which concept allows you to reuse the written code?
25 / 50
Which of the following is an abstract data type?
26 / 50
A language which has the capability to generate new data types are called ________________
27 / 50
C++ is ______________
28 / 50
What does modularity mean?
29 / 50
How access specifiers in Class helps in Abstraction?
30 / 50
Which of the following shows multiple inheritances?
31 / 50
Who created C++?
32 / 50
Which of the following approach is used by C++?
33 / 50
Which of the following is a correct identifier in C++?
34 / 50
Which concept means the addition of new components to a program as it runs?
35 / 50
36 / 50
Why references are different from pointers?
37 / 50
What does polymorphism in OOPs mean?
38 / 50
Which of the following is not a type of inheritance?
39 / 50
Which of the following cannot be used with the virtual keyword?
40 / 50
Which of the following cannot be a friend?
41 / 50
Which of the following is called extraction/get from operator?
42 / 50
Which of the following is called insertion/put to operator?
43 / 50
Which of the following explains the overloading of functions?
44 / 50
Which of the following is not a type of Constructor?
45 / 50
1. Which of the following escape sequence represents tab?
46 / 50
Which function is used to read a single character from the console in C++?
47 / 50
What is the other name used for functions inside a class?
48 / 50
Which concept is used to implement late binding?
49 / 50
Which of the following is used to make an abstract class?
50 / 50
How structures and classes in C++ differ?
Provide Your Information
Your score is
The average score is 72%
Restart quiz