Array in data structure mcq (Multiple choice questions)

Array in data structure mcq (MULTIPLE CHOICE QUESTONS)

1.Which operation can be performed on an array.
a.Traversing
b.Merging
c.Sorting
d.All of the Above

array is a linear data structure and we can performe diiferent operations on the array like sorting, merging, transversing, searching, etc

2.Merging of two arrays means arranging arrays in some logical order?
a.True
b.False

3.Bubble sort method in array is used for __________ .
a.Merging two arrays
b.Sorting array
c.Inserting an element in an array
9.None of above

4.Which is not a searching method in array ____________
a.Linear search
b.Average search
c.Binary search
d.None of above

5.The elements of the array must be in any sorted order in __________
a.Linear search
b.Binary search
c.Both a and b
d.None of above

6.Another name of bubble sort algorithm is __________ .
a.Quick sort
b.Exchange sort
c.Selection sort
d.Insertion sort

7.Which one is not a sparse matrix __________ .
a.Diagonal matrix
b.Upper traingular matrix
c.Lower triangular matrix
d.None of above

8.Method of linearization is a technique in which elements of matrix stored in a one dimensional array.
a.True
b.False

9.Memory used by array cannot be increased or decreased at run time or compile time.
a.Yes
b.No

10.The elements of the array not need to be in sorted order in __________ search.
a.Linear
b.Binary
c.Both a and b
d.Tree

Post a Comment

0 Comments