Ask Question

45, 78, 23, 12, 63, 90, 38, 56, 88, 15 Using the sequential search as described in this chapter, how many comparisons are required to find whether the following items are in the list? (Recall that by comparisons we mean item comparisons, not index comparisons.)

a. 90

b. 14

c. 45

d. 23

e. 5

+2
Answers (1)
  1. 17 September, 06:03
    0
    By using the sequential search we find the following results.

    The first key is 90 and its comparison number is 6. The second key is 14 and its comparison number is 10. The third key is 45 and its comparison number is 1. The fourth key is 23 and its comparison number is 3. The fifth key is 5 and its comparison number is 10.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “45, 78, 23, 12, 63, 90, 38, 56, 88, 15 Using the sequential search as described in this chapter, how many comparisons are required to find ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers