Time left:

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


1. ► By default everything is in std namespace

A.
B.

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

A.
B.

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

A.
B.

4. ► Using const is a good design practice to avoid the possibility of side-effects

A.
B.

5. ► Templates can be used to provide compile time constraints

A.
B.

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

A.
B.

7. ► static_cast makes use of run-time information

A.
B.

8. ► Most common unary operator is ‘()’

A.
B.

9. ► C++ allows easy data initialization through constructors

A.
B.

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

A.
B.

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

A.
B.

12. ► Design patterns are solutions to commonly ocuring problems

A.
B.

13. ► Assertions have no place in unittesting

A.
B.

14. ► Indenting code doesn’t help improving readability

A.
B.

15. ► Operator overloading may lead to copies

A.
B.


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