Exam 4: Standard Template Library (STL) I

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

Elements can be inserted in the middle of a deque container.

(True/False)
4.8/5
(33)

Containers are essentially used ____.

(Multiple Choice)
4.8/5
(32)

The class vector contains only one constructor.

(True/False)
4.8/5
(31)

The ____ provides class templates to process lists (contiguous or linked), stacks, and queues.

(Multiple Choice)
4.8/5
(39)

The deque class is a type of container adapter.

(True/False)
4.9/5
(43)

Assuming deq is a deque object. the expression deq.back() returns the position of the last element of deq.

(True/False)
5.0/5
(35)

A vector is a type of ____.

(Multiple Choice)
4.9/5
(36)

If the data needs to be processed in a Last In First Out (LIFO) manner, we typically use a(n) ____.

(Multiple Choice)
4.8/5
(29)

To use a deque container in a program, the program must include the statement ____.

(Multiple Choice)
4.9/5
(34)

The statement vecList.pop_back() puts the last deleted element back on the vector.

(True/False)
4.8/5
(31)

Containers are class templates.

(True/False)
4.8/5
(46)

The effect of the expression rAccessIterator - n is that it ____.

(Multiple Choice)
4.9/5
(38)

Forward iterators combine all of the functionality of input iterators and almost all the functionality of output iterators.

(True/False)
4.9/5
(34)

The class deque contains only one constructor.

(True/False)
4.8/5
(28)

A ____ encapsulates data, and operations on that data, into a single unit.

(Multiple Choice)
4.9/5
(35)

The function ____ returns a pointer to the last element into a container.

(Multiple Choice)
4.8/5
(31)

____ iterators, with read access, step forward element-by-element and so return the values element-by-element.

(Multiple Choice)
4.7/5
(41)

Every container contains the typedef reverse_iterator.

(True/False)
4.9/5
(39)

To use the template function copy, the program must include the statement ____.

(Multiple Choice)
4.8/5
(38)

The expression vecList.front() moves an element to the front of the vector.

(True/False)
4.9/5
(37)
Showing 21 - 40 of 47
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)