Derived Classes, Templates & Exception Handling in C++ Quiz 1

0%
0

Derived Classes, Templates & Exception Handling in C++ Quiz 1

1 / 50

What may be the name of the parameter that the template should take?

2 / 50

How many ways of reusing are there in the class hierarchy?

3 / 50

How many types of inheritance are there in c++?

4 / 50

Pick out the correct statement about multiple inheritances.

5 / 50

Which constructor will initialize the base class data member?

6 / 50

What is the correct syntax of defining function template/template functions?

7 / 50

What is the difference between normal function and template function?

8 / 50

How many parameters are legal for non-type template?

9 / 50

How many types of class are there in c++?

10 / 50

What does derived class does not inherit from the base class?

11 / 50

In how many ways templates concept can be used?

12 / 50

Which of the following can derived class inherit?

13 / 50

Templates simulate which of the following feature?

14 / 50

What can be passed by non-type template parameters during compile time?

15 / 50

Which is used to describe the function using placeholder types?

16 / 50

How many types of the constructor are there in C++?

17 / 50

Where does the abstract class is used?

18 / 50

Pick out the correct statement about string template.

19 / 50

What is a template?

20 / 50

Which keyword is used for the template?

21 / 50

What is meant by polymorphism?

22 / 50

Pick out the correct statement about the override.

23 / 50

What is the syntax of inheritance of class?

24 / 50

Where is the derived class is derived from?

25 / 50

What is meant by pure virtual function?

26 / 50

What is a pure virtual function in C++?

27 / 50

What is a function template?

28 / 50

How many constructors can present in a class?

29 / 50

What does inheritance allow you to do?

30 / 50

From where does the template class derived?

31 / 50

How to declare a template?

32 / 50

Which are done by compiler for templates?

33 / 50

How many types of templates are there in c++?

34 / 50

Pick out the correct option.

35 / 50

Which is used to create a pure virtual function?

36 / 50

Which operator is used to declare the destructor?

37 / 50

What is the syntax of class template?

38 / 50

What is meant by container ship?

39 / 50

Which class is used to design the base class?

40 / 50

How many kinds of classes are there in c++?

41 / 50

Which interface determines how your class will be used by another program?

42 / 50

What should be the name of the constructor?

43 / 50

Pick out the correct statement.

44 / 50

Pick the correct statement.

45 / 50

Which is also called as abstract class?

46 / 50

Which is the correct statement about pure virtual functions?

47 / 50

Pick out the correct statement.

48 / 50

What is an abstract class in C++?

49 / 50

What are Templates in C++?

50 / 50

Which is the correct syntax of defining a pure virtual function?

Provide Your Information

Your score is

The average score is 0%

0%

Qunoot e Nazilah
Dua e Hajat
4 Qul
6 Kalma
Dua-e-Akasha
Darood Akbar
Surah Fatiha
Dua-e-Ganj Ul Arsh
Dua-e-Jamilah
Ayat-ul-Kursi