Time left:

[All Quizzes] → [Programming With C++] → [Containers, Design Patterns and Unit-testing]


1. ► Factory pattern helps in memory management by centralized object creation

A.
B.

2. ► Design patterns are solutions to commonly ocuring problems

A.
B.

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

A.
B.

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

A.
B.

5. ► vector allows random access

A.
B.

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

A.
B.

7. ► cppunit is based on XUnit architecture

A.
B.

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

A.
B.

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

A.
B.

10. ► Only one object of a singleton class is allowed

A.
B.

11. ► A test running in 10 minutes qualifies as unittest

A.
B.

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

A.
B.

13. ► Test fixture provides test parameters

A.
B.

14. ► Callbacks help to process objects without being part of corresponding classes

A.
B.

15. ► googletest allows one to perform test at class level

A.
B.


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