Answer the following statements true (T) or false (F)
1. You can assign stacks of the same base type
2. You cannot copy stacks.
3. The template stack and queue adapters have a copy constructor, an overloaded operator assignment, and a destructor.
4. The associative containers store their data in an order different from the insertion order.
5. The set container keeps track of how many copies of a data item you insert in the set object.
1. True
Template stack adapters have operator assignment defined.
2. False
The stack template adaptor has a copy constructor.
3. True
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.
4. True
In order to be able to find data quickly, the associative containers store the data in sorted order.
5. False
In this respect the set container behaves like the mathematical set. Inserting ‘A’ into a set of char multiple times has no effect after the first insertion. This is like a attempting to turn on a toggle switch that is already on, no matter how many times you push it towards “on”, nothing changes.
You might also like to view...
A management information system (MIS) is exactly the same as a transaction processing system (TPS); the two terms can be used interchangeably.
Answer the following statement true (T) or false (F)
The oval symbol in a flowchart is called the ____ symbol.
A. start/stop B. input/output C. process D. flow
A VBA module consists of one or more ________, which are named sequences of statements that perform a series of actions for a defined task
Fill in the blank(s) with correct word
Which of the following BEST describes server virtualization?
A. A single logical server operating on multiple physical servers. B. Applications hosted on a single server and deployed to multiple users. C. Multiple servers used to host applications for multiple users. D. Multiple logical servers operating on the same physical server.