1. How many parameters are needed for minmax function?
Correct Answer is : function objects
2. Which function is used to return the minimum element in the range?
3. Which operator is used to compare the values to find min and max?
4. What is the use of middle parameter in rotate method?
Correct Answer is : 45326
5. What kind of object is modifying sequence algorithm?
6. How the sequence of objects can be accessed?
Correct Answer is : constant expression
7. How many kind of operation can be applied to transform method in c++?
Correct Answer is : template
8. What operator is used to remove the dupplicates in the range?
Correct Answer is :
template void(T a){cout<
9. which of the following is used to implement the c++ interfaces?
Correct Answer is : A function taking a single generic parameter and returning nothing
10. What is the ability to group some lines of code that can be included
in the program?
Correct Answer is : A function taking a single generic parameter and returning a generic type
11. How many types do functions fall depends on modularization?
Correct Answer is : A function taking a single generic parameter and returning a generic type which may be different from argument type
12. How many types of modularization are there in c++?
Correct Answer is : Error
13. What does the client module import?
14. Identify the correct statement.
15. Which of the following implements the module in the program?
Correct Answer is : replace templates T, U with auto keyword
16. Which container is used to store elements as key-value pair?
Correct Answer is : func(3,’a’);
17. Which container can have the same keys?
18. Which container is best to keep the collection of distinct elements?
Correct Answer is : A function that is expanded at each call during execution
19. Which container is used to keep priority based elements?
Correct Answer is : run-time
20. Sets are implemented using _______________________
Correct Answer is : i, iii, iv