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

1) multimaps offer one-to-many mapping with duplicates allowed and rapid key-based
lookup.
2) Associative containers are nonlinear data structures that typically can locate elements
stored in the containers quickly.
3) The container member function cbegin returns an iterator that refers to the container’s
first element.
4) The ++ operation on an iterator moves it to the container’s next element.
5) The * (dereferencing) operator when applied to a const iterator returns a const reference
to the container element, allowing the use of non-const member functions.


1. True.
2. True.
3. False. It returns a const_iterator.
4. True.
5. False. Disallowing the use of non-const member functions.

Computer Science & Information Technology

You might also like to view...

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

1. A logic bomb is the event or condition that determines when the payload is activated or delivered. 2. Many forms of infection can be blocked by denying normal users the right to modify programs on the system. 3. A macro virus infects executable portions of code. 4. E-mail is a common method for spreading macro viruses. 5. In addition to propagating, a worm usually carries some form of payload.

Computer Science & Information Technology

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

1. The constructor for class counter is automatically executed each time an object of type counter is declared. 2. All member functions of a class must be public 3. The terms "data members" and "attributes" of a class are interchangeable. 4. A state attribute of a class should be initialized prior to use. 5. There are at most 5 operations that can be performed on the object of a class.

Computer Science & Information Technology

Which of the following are vertical bars that display to specify the line that contains revision marks?

A) Revision marks B) Show Markup C) Changed lines D) Comments

Computer Science & Information Technology

The Service Bus and StorSimple services on Microsoft Azure fall under what Azure cloud service category?

A. Compute B. Web and Mobile C. Storage D. Enterprise Integration

Computer Science & Information Technology