Answer the following statements true (T) or false (F)

1) A class template can be derived from a non-template class.
2) A class template cannot be derived from a class template.
3) A non-template class can be derived from a class template instantiation.
4) Templates can make available to the programmer the generality of algorithms that implementation with specific types conceals.
5) With regard to programming usage, consistency in coding is more important than optimality.


1) T
2) F
3) T
4) T
5) T

Computer Science & Information Technology

You might also like to view...

When a thread obtains the monitor lock on an object, then determines that it cannot continue with its task on that object until some condition is satisfied, the thread can call Object method ________; this releases the monitor lock on the object, and transitions the thread waits to the waiting state.

a. waitForOtherThreads b. stop c. waitForCondition d. wait

Computer Science & Information Technology

The share options available may depend on the type of ________ used to create the Sway

A) Microsoft account B) Windows version C) Office application D) Local drive

Computer Science & Information Technology

In the accompanying figure, Item 4 points to a(n) ____.

A. thumbnail mark B. paragraph mark C. end-of-row mark D. end-of-cell mark

Computer Science & Information Technology

Which of the following involves the ongoing running of a system and identifying and making necessary changes to the system due to errors or new user or business requirements?

a. Disposition b. Implementation c. Integration and testing d. Operation and maintenance

Computer Science & Information Technology