CMPU-203: Introduction to Computer Science III

Quiz #2
Due: Tues., Feb. 12

  1. The following are elements of a container c: { 1, 3, 4, 7, 89, 1345 }. There are two iterators, i and j, that reference elements of this container such that *i == 3 and *j == 89. What elements are included in the range defined by i and j?

  2. In the same container, what would the value of *c.end() be?

  3. In STL, what is the difference between a concept and a model?

  4. A multiset is a set. Is the STL multiset class a refinement of the STL set class?