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

0%
0

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

1 / 50

What should be the name of the constructor?

2 / 50

Pick out the correct statement.

3 / 50

Which is used to describe the function using placeholder types?

4 / 50

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

5 / 50

Which constructor will initialize the base class data member?

6 / 50

What is the syntax of inheritance of class?

7 / 50

Pick out the correct statement about string template.

8 / 50

Templates simulate which of the following feature?

9 / 50

How many parameters are legal for non-type template?

10 / 50

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

11 / 50

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

12 / 50

What is an abstract class in C++?

13 / 50

What is the syntax of class template?

14 / 50

Which is used to create a pure virtual function?

15 / 50

Where is the derived class is derived from?

16 / 50

Which are done by compiler for templates?

17 / 50

What is meant by pure virtual function?

18 / 50

Which is also called as abstract class?

19 / 50

Where does the abstract class is used?

20 / 50

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

21 / 50

From where does the template class derived?

22 / 50

Pick out the correct statement about the override.

23 / 50

What is meant by container ship?

24 / 50

What is a pure virtual function in C++?

25 / 50

What are Templates in C++?

26 / 50

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

27 / 50

What is a function template?

28 / 50

What is the difference between normal function and template function?

29 / 50

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

30 / 50

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

31 / 50

Pick out the correct statement about multiple inheritances.

32 / 50

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

33 / 50

What is a template?

34 / 50

Which class is used to design the base class?

35 / 50

In how many ways templates concept can be used?

36 / 50

How many constructors can present in a class?

37 / 50

What does inheritance allow you to do?

38 / 50

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

39 / 50

What is meant by polymorphism?

40 / 50

Which is the correct statement about pure virtual functions?

41 / 50

Which keyword is used for the template?

42 / 50

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

43 / 50

Which of the following can derived class inherit?

44 / 50

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

45 / 50

Pick out the correct statement.

46 / 50

Pick the correct statement.

47 / 50

Which operator is used to declare the destructor?

48 / 50

How to declare a template?

49 / 50

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

50 / 50

Pick out the correct option.

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