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

0%
0

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

1 / 50

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

2 / 50

What is a template?

3 / 50

From where does the template class derived?

4 / 50

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

5 / 50

What is meant by polymorphism?

6 / 50

How many parameters are legal for non-type template?

7 / 50

Templates simulate which of the following feature?

8 / 50

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

9 / 50

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

10 / 50

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

11 / 50

Pick out the correct statement about string template.

12 / 50

Which is used to describe the function using placeholder types?

13 / 50

Pick out the correct statement.

14 / 50

What is a function template?

15 / 50

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

16 / 50

Where is the derived class is derived from?

17 / 50

Which is used to create a pure virtual function?

18 / 50

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

19 / 50

Pick out the correct statement about the override.

20 / 50

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

21 / 50

What is the syntax of class template?

22 / 50

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

23 / 50

What does inheritance allow you to do?

24 / 50

How to declare a template?

25 / 50

What is the syntax of inheritance of class?

26 / 50

Which keyword is used for the template?

27 / 50

Pick out the correct statement.

28 / 50

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

29 / 50

Which is also called as abstract class?

30 / 50

Which constructor will initialize the base class data member?

31 / 50

Pick out the correct option.

32 / 50

Which of the following can derived class inherit?

33 / 50

What are Templates in C++?

34 / 50

In how many ways templates concept can be used?

35 / 50

What should be the name of the constructor?

36 / 50

What is the difference between normal function and template function?

37 / 50

Which class is used to design the base class?

38 / 50

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

39 / 50

Which are done by compiler for templates?

40 / 50

Which operator is used to declare the destructor?

41 / 50

What is meant by container ship?

42 / 50

Pick out the correct statement about multiple inheritances.

43 / 50

What is meant by pure virtual function?

44 / 50

What is an abstract class in C++?

45 / 50

How many constructors can present in a class?

46 / 50

Pick the correct statement.

47 / 50

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

48 / 50

What is a pure virtual function in C++?

49 / 50

Where does the abstract class is used?

50 / 50

Which is the correct statement about pure virtual functions?

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