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

1. The template stack and queue adapters have a copy constructor, an overloaded operator assignment, and a destructor.

2. The associative containers store their data in an order different from the insertion order.


1. True
Explanation: These adapters have the BIG THREE, which is the copy constructor, the overloaded operator assignment and the destructor. Both the stack and queue adaptor have all three.
2. True
Explanation: In order to be able to find data quickly, the associative containers store the data in sorted order.

Computer Science & Information Technology

You might also like to view...

If the value of age is ____, the condition below produces a value of true.age > 12 && age < 20 

A. 12 B. 13 C. 20 D. 25

Computer Science & Information Technology

A ____ runs on a remote Web server somewhere on the Internet.

A. software application B. Web application C. remote application D. portable application

Computer Science & Information Technology

Computer hardware devices need which of the following items to communicate with the computer?

A) drivers B) RAM C) cables D) video card

Computer Science & Information Technology

The ____ contains a magnification box.

a. zoom bar b. magnification bar c. scroll bar d. status bar

Computer Science & Information Technology