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

1) Standard Library algorithms are encapsulated as member functions within each container
class.
2) When using the remove algorithm on a container, the algorithm does not decrease the
size of the container from which elements are being removed.
3) One disadvantage of using Standard Library algorithms is that they depend on the implementation
details of the containers on which they operate.
4) The remove_if algorithm does not modify the number of elements in the container, but
it does move to the beginning of the container all elements that are not removed.
5) The find_if_not algorithm locates all the values in the range for which the specified
unary predicate function returns false.


1. False. Standard Library algorithms are not member functions. They operate indirectly
on containers, through iterators.
2. True.
3. False. Standard Library algorithms do not depend on the implementation details of
the containers on which they operate.
4. True.
5. False. It locates only the first value in the range for which the specified unary predicate
function returns false.

Computer Science & Information Technology

You might also like to view...

The word "wiki" comes from a Hawaiian term for "________."

Fill in the blank(s) with correct word

Computer Science & Information Technology

The Europeans belief that Americans are rude and pushy is an example of ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

To display the conditional formatting options, you click the Conditional Formatting button in the:

A) Format group on the View tab. B) Styles group on the View tab. C) Styles group on the Home tab. D) Format group on the Home tab.

Computer Science & Information Technology

Saving the closing lines of a letter is a poor application of creating a Quick Part for later use.

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

Computer Science & Information Technology