Questions and Answers


  1. Which are not full container classes in c++?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    Container adaptors are not full container classes, but classes that provide a specific interface relying on an object of one of the container classes such as deque or list to handle the elements.


  1. Where does the vector add the item?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    End



  1. What type of access does deque and vector provide?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    Because they can manipulate the values on anywhere in the program, So it is providing random access.


  1. What type of class template is list?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    It is node-based because it allows efficient insertion anywhere on the program.



  1. To what type of object does the container can be instantiated?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    any type of object