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