A ‘Do’ loop is executed at least once.

Each statement below is either TRUE or FALSE. Choose the most appropriate one
and ENTER in the “tear-off” sheet attached to the question paper, following
instructions therein.

2.1 A ‘Do’ loop is executed at least once.
2.2 Objects of the string class can be copied with the assignment operator.
2.3 Inheritance is used to improve data hiding and encapsulation.
2.4 An abstract class is never used as a base class.
2.5 A file pointer always contains the address of the file.
2.6 Template creates different versions of a function at run time.
2.7 Throwing an exception always causes program termination.
2.8 Derived classes of an abstract class that do not provide an implementation of a pure
virtual function are also abstract.
2.9 A function template can have more than one template argument.
2.10 The function that has return type void does not return anything.

Leave a Reply