You have an array with 1023 numbers. You use linear search to determine whether number 239 is in this array or not. How many elements of the array will you look at if number 239 is not present in the array?

Correct

Incorrect

Question 2 of 4

2. Question

Can you use binary search to find number 8 in the array [1, 24, 25, 23, 17, 8, 9]?

Correct

Incorrect

Question 3 of 4

3. Question

You have a sorted array with 1023 elements. You use binary search to determine whether number 239 is present in this array or not. How many elements of the array will you compare it with if number 239 is not present in this array?

Correct

Incorrect

Question 4 of 4

4. Question

What is the maximum number of iterations a binary search will make to find some number in the array [1, 2, 3, 5, 8, 13, 21, 34]?