Deck 21: Standard Template Library STL

Full screen (f)
exit full mode
Question
A template is a powerful tool that promotes code reuse.
Use Space or
up arrow
down arrow
to flip the card.
Question
What are the three main components of the STL?
Question
What are the three predefined sequence containers?
Question
The function copy can be used with any container type.
Question
Modifying algorithms modify the elements of the container by ____________________.
Question
Are functions that modify their internal states considered to be predicates? Explain your answer.
Question
What does these terms refer to:

- \gg Associative container:
Question
What does these terms refer to:

- \gg Bidirectional iterators:
Question
What does these terms refer to:

- \gg Container:
Question
What does these terms refer to:

- \gg Container adapter:
Question
What does these terms refer to:

- \gg Deque:
Question
What does these terms refer to:

- \gg Forward iterators:
Question
What does these terms refer to:

- \gg Function object:
Question
What does these terms refer to:

- \gg Generic algorithm:
Question
What does these terms refer to:

- \gg Heap algorithm:
Question
What does these terms refer to:

- \gg Input iterators:
Question
What does these terms refer to:

- \gg Insert iterator:
Question
What does these terms refer to:

- \gg Iterator:
Question
What does these terms refer to:

- \gg List:
Question
What does these terms refer to:

- \gg Modifying algorithm:
Question
What does these terms refer to:

- \gg Mutating algorithm:
Question
What does these terms refer to:

- \gg Nonmodifying algorithm:
Question
What does these terms refer to:

- \gg Numeric algorithm:
Question
What does these terms refer to:

- \gg Output iterators:
Question
What does these terms refer to:

- \gg Predicate:
Question
What does these terms refer to:

- \gg Random access iterators:
Question
What does these terms refer to:

- \gg Sequence container:
Question
What does these terms refer to:

- \gg Vector:
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/28
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 21: Standard Template Library STL
1
A template is a powerful tool that promotes code reuse.
True
2
What are the three main components of the STL?
containers, iterators, algorithms
3
What are the three predefined sequence containers?
vector, deque, and list
4
The function copy can be used with any container type.
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
5
Modifying algorithms modify the elements of the container by ____________________.
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
6
Are functions that modify their internal states considered to be predicates? Explain your answer.
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
7
What does these terms refer to:

- \gg Associative container:
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
8
What does these terms refer to:

- \gg Bidirectional iterators:
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
9
What does these terms refer to:

- \gg Container:
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
10
What does these terms refer to:

- \gg Container adapter:
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
11
What does these terms refer to:

- \gg Deque:
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
12
What does these terms refer to:

- \gg Forward iterators:
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
13
What does these terms refer to:

- \gg Function object:
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
14
What does these terms refer to:

- \gg Generic algorithm:
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
15
What does these terms refer to:

- \gg Heap algorithm:
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
16
What does these terms refer to:

- \gg Input iterators:
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
17
What does these terms refer to:

- \gg Insert iterator:
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
18
What does these terms refer to:

- \gg Iterator:
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
19
What does these terms refer to:

- \gg List:
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
20
What does these terms refer to:

- \gg Modifying algorithm:
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
21
What does these terms refer to:

- \gg Mutating algorithm:
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
22
What does these terms refer to:

- \gg Nonmodifying algorithm:
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
23
What does these terms refer to:

- \gg Numeric algorithm:
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
24
What does these terms refer to:

- \gg Output iterators:
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
25
What does these terms refer to:

- \gg Predicate:
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
26
What does these terms refer to:

- \gg Random access iterators:
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
27
What does these terms refer to:

- \gg Sequence container:
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
28
What does these terms refer to:

- \gg Vector:
Unlock Deck
Unlock for access to all 28 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 28 flashcards in this deck.