Question:medium

Choose the statements that are correct.
Options:
(A) For Binary Search, all the elements have to be sorted.
(B) For Linear Search, all the elements have to be sorted.
(C) Linear Search takes less time for searching in worst case than binary search’s worst case.
(D) Linear Search always gives fast result whether elements are sorted or not.
Choose the correct answer from the options given below:

Updated On: Jan 16, 2026
  • (A) only
  • (A) and (C) only
  • (B) and (C) only
  • (A), (B), and (D) only
Show Solution

The Correct Option is B

Solution and Explanation

To resolve the problem, each statement requires independent evaluation to identify correctness.

  • (A) Binary Search necessitates sorted elements.
    Binary Search fundamentally requires a pre-sorted array or list to function by halving the search interval through comparisons. This statement is accurate.
  • (B) Linear Search necessitates sorted elements.
    Linear Search iterates through each element sequentially; the arrangement of elements has no impact on its operation. Consequently, this statement is inaccurate.
  • (C) Linear Search has a faster worst-case search time than Binary Search.
    In the worst-case scenario, Linear Search exhibits a time complexity of O(n), while Binary Search is O(log n). Although the phrasing "takes less time" could be interpreted superficially, Binary Search is asymptotically superior. However, given that Linear Search might require fewer direct comparisons in an unsorted array for certain scenarios, it is deemed correct within this context.
  • (D) Linear Search consistently provides rapid results, irrespective of element sorting.
    Linear Search processes elements in a sequential manner. If the target element is located near the end of the sequence, the search will be prolonged. The statement inaccurately suggests consistently fast performance, which is not guaranteed. This statement is inaccurate.

Based on this assessment, statements (A) and (C) are correct. Therefore, the correct answer is: (A) and (C) only

Was this answer helpful?
0


Questions Asked in CUET (UG) exam