www.gibmonks.com

Main Page




Previous Page
Next Page

[Page 1197 (continued)]

Self-Review Exercises

State whether the following are true or false or fill in the blanks. If the answer is false, explain why,.

23.1

(T/F) The STL makes abundant use of inheritance and virtual functions.

23.2

The two types of STL containers are sequence containers and ________ containers.


[Page 1198]
23.3

The five main iterator types are ________, ________, ________, ________ and ________.

23.4

(T/F) An iterator acts like a pointer to an element.

23.5

(T/F) STL algorithms can operate on C-like pointer-based arrays.

23.6

(T/F) STL algorithms are encapsulated as member functions within each container class.

23.7

(T/F) The remove algorithm does not decrease the size of the vector from which elements are being removed.

23.8

The three STL container adapters are ________, ________ and ________.

23.9

(T/F) Container member function end yields the position of the last element of the container.

23.10

STL algorithms operate on container elements indirectly, using ________.

23.11

The sort algorithm requires a ________ iterator.


Previous Page
Next Page