C++ Demo Test Series-1
Q:   Templates are abstract recipe for producing a concrete code, and it is used for ____.
- A:  Producing functions
- B:  Producing classes
- C:  Nothing
- D:  Both A and B
Q:   A template function is a function that is produced by ___.
- A:  Functions
- B:  Arrays
- C:  Templates
- D:  None of them
Q:   Vectors have advantage of direct access that is also called as ____.
- A:  Sequential access
- B:  Random access
- C:  Iterative access
- D:  None of them
Q:   Same template is used to generate many different instances, this can be done by ____.
- A:  Functions
- B:  Template parameters
- C:  Operators
- D:  None of them
Q:   Referring an element outside array bounds is a ____.
- A:  Syntax error
- B:  Logical error
- C:  Execution time error
- D:  Both B and C
Q:   Each element of an array is searched against searching key, is specialty of ____.
- A:  Bubble sort
- B:  Linear search
- C:  Binary search
- D:  All of them
Q:   A one-dimensional array of one-dimensional arrays is called ___.
- A:  Multi-dimensional Array
- B:  Multi-casting Array
- C:  Two-dimensional Array
- D:  Three-dimensional Array
Q:   Sequence of objects that have same type, is called ___.
- A:  Functions
- B:  Operators
- C:  Arrays
- D:  Stacks
Q:   A stack is a simple data structure that simulates an ordinary stack of objects of ____.
- A:  Same type
- B:  Different type
- C:  Integer type
- D:  Character type
Q:   An iterator is an object that has ability to traverse ____.
- A:  Through a container object
- B:  Through a function
- C:  Through an array
- D:  All of them
Hey Hi,
If You Like Our Work, and Love What We Do, You Can Contribute ANY Amount, for our Hard-Working Backend & Frontend Team Who Handles, Makes, Manages All Your Contents (Notes, QP, Soln, Remedial,& Others)
So that Your Pressure in Engineering, Can Be Lowered.
Your Contribution Will Help Us to reach More Students & Provide Much Better Services.
More Tests Will Be Launching Soon, So Stay Tunned and Keep Checking, and follow us on Instagram too for more updates.