If the Binary search algorithm determines that the search arguments is in the lower half of the array, which of the following statements will set the appropriate variable to the appropriate value.

1
start sub = middle sub - 1
2
start sub = middle sub + 1
3
stop sub = middle sub - 1
4
stop sub = middle sub + 1
5
None of above

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation