Ask Question
16 April, 03:25

In an array of 100 items sorted in ascending order, if you are searching for the number 165 and the entry at array index[50] has a value of 72, what can we conclude?

a. If the value is in the array, it will found somewhere at indexes [51] through [99]

b. One half of the array can be ignored in the next step.

c. The value will not be found at indexes [0] hrouh[50].

d. All of the above.

+5
Answers (1)
  1. 16 April, 05:08
    0
    D (All of the Above)

    Explanation:

    Since the array is sorted in ascending order and having found that the element at index 50 is 72, considering that 165 is greater than 72, it means that the following must be true

    1) 165 can only be at a higher index (51-100)

    2) The first half of the array (0-49) indexes can be ignored
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “In an array of 100 items sorted in ascending order, if you are searching for the number 165 and the entry at array index[50] has a value of ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers