DS – mcq on Arrays
The following are the objective questions on the topic related to Arrays in data structures using C/C++.
1. An Array is a ___ type of data structure.
- Linear
- Non-Linear.
- Both A and B
- None
Answer: A
2.What is the index of a one dimensional array?
- 1
- 2
- 3
- 0
Answer: A
3.What does argv refers to?
- Array of character pointers.
- Pointer to an array of character pointers.
- Array of strings
- Array of values.
Answer: A
4.Array performs ____ operations.
- Insertion
- Merging
- Deletion
- All the above
Answer: D
5.Array performs ___ to visit all the elements in an array.
- Traversing
- Merging
- Sorting
- Deletion
Answer: A
6.If you want to arrange an element in a specific order in an array___ operation is performed.
- Merging
- Sorting
- Searching
- None of the above.
Answer: B
7.______ operation is performed to combine the elements in an array.
- Merging
- Insertion
- Sorting
- Traversing
Answer: A
8.To find an element in an array ___ operation is used.
- Traversing
- Sorting
- Find Arr.
- Searching
Answer: D
9.Pointer array stores the __ of an array.
- Location
- Address
- Element
- None of the above.
Answer: B
10.Which one of the following will be a simplest type of data structure?
- Linear array.
- One dimensional array
- N dimensional array
- Multiple dimensional array.
Answer: A