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

1) An iterator acts like a pointer to an element.
2) STL algorithms can operate on C-like pointer-based arrays.
3) STL algorithms are encapsulated as member functions within each container class.
4) When using the remove algorithm on a vector, the algorithm does not decrease the size of the vector from which elements are being removed.
5) Container member function end yields the position of the container’s last element.


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

Computer Science & Information Technology

You might also like to view...

The default when a document containing track changes is opened is Simple Markup.

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

Computer Science & Information Technology

?Which is NOT a PowerPoint primary view?

A. ?Text View B. ?Normal View C. ?Outline View D. ?Notes Page View

Computer Science & Information Technology

The responsibilities of a systems analyst at a small firm are exactly the same as those at a large corporation.

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

Computer Science & Information Technology

On Mac OS X and on most Linux distros, the default shell is called _______________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology