simple question about the Binary search method

in a binary search method
if my search key is not in the array will the program search the whole entire array until it realizes it does not exist?
Binary search requires the data to be sorted, so no it won't.
thank you
Topic archived. No new replies allowed.