Time left:

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


1. ► string in C++ is just a char array with NULL termination

A.
B.

2. ► Assertions have no place in unittesting

A.
B.

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

A.
B.

4. ► Which of the following tools cannot be used as debugger

A.
B.
C.

5. ► Operator overloading is very much like function overloading

A.
B.

6. ► By default, all members of a class are public

A.
B.

7. ► Derived class must implement pure virtual functions

A.
B.

8. ► Defining a class will result in creating an object of this class in the program

A.
B.

9. ► string comparison is as efficient as number comparison

A.
B.

10. ► Unittests are typically done at class level

A.
B.

11. ► In ‘int * const’, interger value is a constant

A.
B.

12. ► Which of the following classes is output stream in C++

A.
B.
C.

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

A.
B.

14. ► An object of abstract class cannot be created

A.
B.

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

A.
B.


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