Class Hierarchies, Library & Containers Quiz 1

0%
0

Class Hierarchies, Library & Containers Quiz 1

1 / 50

What is meant by type_info?

2 / 50

Which of the following advantages we lose by using multiple inheritances?

3 / 50

Which symbol is used to create multiple inheritances?

4 / 50

Which operator is used in pointer to member function?

5 / 50

How can object be allocated outside the object lifetime?

6 / 50

Which operator is used to create the user-defined streams in c++?

7 / 50

What does the cerr represent?

8 / 50

What is Inheritance in C++?

9 / 50

Which is the correct syntax of declaring a virtual function?

10 / 50

Which is best for coding the standard library for c++?

11 / 50

Pick out the wrong header file about strings.

12 / 50

Which operators are part of RTTI?

13 / 50

The concept of deciding which function to invoke during runtime is called ______________________

14 / 50

What will happen when introduce the interface of classes in a run-time polymorphic hierarchy?

15 / 50

Which operators are used in the free store?

16 / 50

To which type of class, We can apply RTTI?

17 / 50

At which time does the static_cast can be applied?

18 / 50

Which design patterns benefit from the multiple inheritances?

19 / 50

What must be an operand of operator delete?

20 / 50

Which is the best design choice for using pointer to member function?

21 / 50

What is the importance of mutable keyword?

22 / 50

What is the operation for .*?

23 / 50

If a class is derived privately from a base class then ______________________________

24 / 50

What are the things are inherited from the base class?

25 / 50

Which classes are called as mixin?

26 / 50

What is the order of Constructors call when the object of derived class B is declared, provided class B is derived from class A?

27 / 50

What is a pure virtual function?

28 / 50

Members of which access specifiers are not inherited?

29 / 50

Pick the correct statement.

30 / 50

Which statement is incorrect about virtual function.

31 / 50

Which is referred by pointers to member?

32 / 50

How many specifiers are used to derive a class?

33 / 50

What is meant by multiple inheritance?

34 / 50

What is the use of clog?

35 / 50

To which of the following access specifiers are applicable?

36 / 50

What is meant by vector in the container library contains?

37 / 50

Which specifier makes all the data members and functions of base class inaccessible by the derived class?

38 / 50

What is the order of Destructors call when the object of derived class B is declared, provided class B is derived from class A?

39 / 50

Pick out parameter for rehash method in unordered_set in c++?

40 / 50

Which is used to allocate and deallocate storage for objects during the execution?

41 / 50

What is a virtual function in C++?

42 / 50

Pick out the wrong header file.

43 / 50

How many types of guarantees are there in exception class can have?

44 / 50

Which concept of OOPs is shown by Virtual Functions?

45 / 50

Which of the following describes the protected access specifier?

46 / 50

What is meant by standard c++ library?

47 / 50

What type of class member is operator new?

48 / 50

What should be used to point to a static class member?

49 / 50

What is the Run-Time Type Information?

50 / 50

Which access specifier is used where one wants data members to be accessed by other classes but not from outside objects?

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