Q10.webp
thuyhoa90

Q10.webp

Question: 10
(Choose 1 answer)
Which of the following statements is true regarding search algorithms for a list of elements?
A. Binary search is more efficient than sequential search for large lists, but it requires the list to be sorted.
B. Binary search can be used on an unsorted list to improve search efficiency compared to sequential search.
C. Sequential search requires fewer comparisons than binary search in the worst case, regardless of whether
the list is sorted or not.
D. Sequential search and binary search require the same number of comparisons in the worst case if the list
is sorted.

Thông tin

Category
CSI106
Thêm bởi
thuyhoa90
Ngày thêm
Lượt xem
2,762
Lượt bình luận
5
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom