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

Nonmodifying sequence algorithms do not change the elements in the containers they
1. work on.
The runtime for insertion at any position into a vector is O(1). Explain what ‘runtime
2. is O(1)’ means.
Insertion into an STL list takes O(1) time at any position in the list. What does ‘
3. takes O(1) time’ mean?
4. A failing find() operation on an STL set returns a null pointer value.
STL ranges [first, last) are always ‘half-open’ – from the first element to a
5. designation for one past the last element.


1. True
2. False
3. True
4. False
5. True.

Computer Science & Information Technology

You might also like to view...

Expression Web uses the ____ name for the home page.

A. index.html B. default.html C. first.html D. startpage.html

Computer Science & Information Technology

Windows PowerShell is installed by default when you install Windows Server 2008.

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

Computer Science & Information Technology

Most users rely on ____ for finding, viewing, and managing information on their computers.

A. search boxes B. the address bar C. the resolution finder D. folder windows

Computer Science & Information Technology

To save time would it be possible to store intermediate values in registers on the datapath such as the Program Counter or Instruction Register? Explain why or why not.

What will be an ideal response?

Computer Science & Information Technology