Answer:
Answered below
Explanation:
Index of the first element compared to the key is 5. The element itself is 55.
This index is evaluated by the addition of the index of the first element which is 0(zero) and the the index of the last element which is 10.
( Index of the last element is determined by subtracting the one from the total number of elements)
After the addition, the result is divided by 2 to get the first index from which the binary search begins.
firstIndex = 0
lastIndex = array.length - 1
midpoint = (firstIndex + lastIndex) / 2
Answer:
ok!
Explanation:
Word is more for writing documents and letters, PowerPoint is used for presentations for a class work etc. Excel is a handy software that can be used to store and organize many data sets. Using its features and formulas, you can also use the tool to make sense of your data. For example, you could use a spreadsheet to track data and automatically see sums averages and totals.
Adware. Adware displays ads and popups. The other options are completely different from each other