Problem 1
State whether the following are true or false or fill in the blanks. If the answer is false, explain why, (T/F) The STL makes abundant use of inheritance and virtual functions.
Problem 4
State whether the following are true or false or fill in the blanks. If the answer is false, explain why, (T/F) An iterator acts like a pointer to an element.
Problem 5
State whether the following are true or false or fill in the blanks. If the answer is false, explain why, (T/F) STL algorithms can operate on C-like pointer-based arrays.
Problem 6
State whether the following are true or false or fill in the blanks. If the answer is false, explain why, (T/F) STL algorithms are encapsulated as member functions within each container class.
Problem 7
State whether the following are true or false or fill in the blanks. If the answer is false, explain why, (T/F) The remove algorithm does not decrease the size of the vector from which elements are being removed.
Problem 9
State whether the following are true or false or fill in the blanks. If the answer is false, explain why, (T/F) Container member function end yields the position of the last element of the container.
Problem 12
Write a function template palindrome that takes a vector parameter and returns TRue or false according to whether the vector does or does not read the same forward as backward (e.g., a vector containing 1,2,3,2,1 is a palindrome, but a vector containing 1,2,3,4 is not).