Google News
logo
Algorithm - Quiz(MCQ)
Identify the description of a linear search
A)
Elements do not need to be in order, check each item in turn
B)
Put the elements in order, check each item in turn
C)
Put the elements in order, compare to the middle value, split the list in order and repeat
D)
Elements do not need to be in order, compare to the middle value, split the list in order and repeat

Correct Answer : Option (A) :   Elements do not need to be in order, check each item in turn

Advertisement