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