Derived Classes, Templates & Exception Handling in C++ Quiz 1
1 / 50
What does inheritance allow you to do?
2 / 50
From where does the template class derived?
3 / 50
Pick out the correct option.
4 / 50
How many types of templates are there in c++?
5 / 50
How many parameters are legal for non-type template?
6 / 50
What is the correct syntax of defining function template/template functions?
7 / 50
Which constructor will initialize the base class data member?
8 / 50
What is meant by pure virtual function?
9 / 50
How many constructors can present in a class?
10 / 50
Pick out the correct statement about multiple inheritances.
11 / 50
What are Templates in C++?
12 / 50
Which interface determines how your class will be used by another program?
13 / 50
Which is used to describe the function using placeholder types?
14 / 50
Which is the correct syntax of defining a pure virtual function?
15 / 50
What is meant by polymorphism?
16 / 50
In how many ways templates concept can be used?
17 / 50
What is meant by container ship?
18 / 50
Pick out the correct statement about the override.
19 / 50
Where is the derived class is derived from?
20 / 50
How to declare a template?
21 / 50
Which is also called as abstract class?
22 / 50
What is a function template?
23 / 50
How many kinds of classes are there in c++?
24 / 50
What should be the name of the constructor?
25 / 50
How many types of the constructor are there in C++?
26 / 50
Pick the correct statement.
27 / 50
What is a pure virtual function in C++?
28 / 50
Which is the correct statement about pure virtual functions?
29 / 50
What does derived class does not inherit from the base class?
30 / 50
How many types of class are there in c++?
31 / 50
What is the difference between normal function and template function?
32 / 50
Pick out the correct statement.
33 / 50
Which of the following can derived class inherit?
34 / 50
Pick out the correct statement about string template.
35 / 50
Which operator is used to declare the destructor?
36 / 50
Which keyword is used for the template?
37 / 50
How many types of inheritance are there in c++?
38 / 50
Which class is used to design the base class?
39 / 50
How many ways of reusing are there in the class hierarchy?
40 / 50
Templates simulate which of the following feature?
41 / 50
What is a template?
42 / 50
43 / 50
Where does the abstract class is used?
44 / 50
Which are done by compiler for templates?
45 / 50
What may be the name of the parameter that the template should take?
46 / 50
What is the syntax of inheritance of class?
47 / 50
Which is used to create a pure virtual function?
48 / 50
What can be passed by non-type template parameters during compile time?
49 / 50
What is an abstract class in C++?
50 / 50
What is the syntax of class template?
Provide Your Information
Your score is
The average score is 0%
Restart quiz