Class Hierarchies, Library & Containers Quiz 2
1 / 50
What is the lifetime of the element in container?
2 / 50
What is the use of the allocator interface in the user-defined container?
3 / 50
What do maps and sets support?
4 / 50
Which are presented in the container adaptors?
5 / 50
By using which of the following the elements in the associate container can be efficiently accessed?
6 / 50
Which of the follwoing function(s) of Array classes are similar to [] operator?
7 / 50
What is the name of the container which contains group of multiple objects?
8 / 50
Pick out the correct statement about vector.
9 / 50
What type of access does deque and vector provide?
10 / 50
How many instances are allowed by map and set while inserting an element into container?
11 / 50
Which of the following type does the container should define?
12 / 50
What is the use of header
13 / 50
Which is optional in the declaration of vector?
14 / 50
Which is used for manually writing lookup table?
15 / 50
Which of the following is/are advantage(s) of Sequence Container arrays over C-like arrays?
16 / 50
What do vectors represent?
17 / 50
Which are the parameters for the content of the buffer?
18 / 50
How many sets of requirements are need in designing a container?
19 / 50
Which interface in the container is required for storage management?
20 / 50
In which context does the stack operates?
21 / 50
How can the member functions in the container be accessed?
22 / 50
How many iterators are needed for the defining a new container?
23 / 50
How the list containers are implemented?
24 / 50
How many vector container properties are there in c++?
25 / 50
What header file is included to use array classes?
26 / 50
What does the sequence adaptor provide?
27 / 50
Pick the correct statement.
28 / 50
What is mandatory for designing a new container?
29 / 50
Where does the vector add the item?
30 / 50
Which operator is used in priority queue?
31 / 50
To what type of object does the container can be instantiated?
32 / 50
What type of class template is list?
33 / 50
Which is present in the basic interface of the allocator interface?
34 / 50
Which of the following does not support any insertion or deletion?
35 / 50
Which are not full container classes in c++?
36 / 50
How many items are presented in the associate container?
37 / 50
Which of the following will return the new element at the end of container?
38 / 50
In which type of storage location are the vector members stored?
39 / 50
Which of the following class template are based on arrays?
40 / 50
What do we return if we use simple array on a internal container?
41 / 50
What do container adapter provide to interface?
42 / 50
What kind of library is Standard Template Library?
43 / 50
How many different ways are there to access an element of array classes at the ith position?
44 / 50
What do associate containers implement?
45 / 50
How many items are there in sequence container?
46 / 50
Which container provides random access iterators?
47 / 50
What is sequence container arrays?
48 / 50
What do all STL containers define?
49 / 50
What are the design requirements for building a container from the sratch?
50 / 50
How many types of container classes are there in c++?
Provide Your Information
Your score is
The average score is 0%
Restart quiz