Time left:

[All Quizzes] → [Programming With C++] → [Random - All Topics]


1. ► Model-View-Controller pattern allows to design modular and testable user interface

A.
B.

2. ► vector allows random access

A.
B.

3. ► mpty function in most of the containers executes in constant time

A.
B.

4. ► Stream operator “>>” cannot be overloaded

A.
B.

5. ► Polymorphism results in more memory because of:

A.
B.
C.

6. ► Operator overloading allows to write common operator definition of user defined classes

A.
B.

7. ► ‘>>’ operator is used to write into a stream

A.
B.

8. ► We can have only public inheritance

A.
B.

9. ► Like set, bitset also has iterators to find all the bits

A.
B.

10. ► Operator ‘[]’ on map must not be used to find an element to avoid unintentional insertion

A.
B.

11. ► Design pattern is a library consisting of various classes

A.
B.

12. ► Polymorphism is slower than function overloading

A.
B.

13. ► While creating an object of a derived class, only its constructor is called. Base class has no role to play.

A.
B.

14. ► list<T>::empty is more efficient than list<T>::size

A.
B.

15. ► Templates are used for making a function or a class type agnostic

A.
B.


© 2016 VirtuQ™ Education All right reserved. | Terms of Use | Privacy Policy