subject

Hel m 1. What is the first step using Binary Search to look for the number 17 in this list:

[15, 42, 73, 24, 10, 17, 16, 25, 32, 53, 45, 27, 51, 99, 75]

A Compare the number 25 to the given number.

B Compare the number 24 to the given number

C order the list

D Compare the number 27 to the given number

2. What is the third step using Binary Search to look for the number 32 in this ORDERED list:

[1, 2, 3, 4, 10, 11, 16, 25, 32, 33, 45, 47, 51, 69, 75]

A Compare the number 25 to the given number.

B Compare the number 4 to the given number

C Compare the number 33 to the given number

D Compare the number 47 to the given number

3. Which of the following is true of two algorithms designed to solve the same problem?

A If two algorithms solve the same problem they must have the same efficiency

B If two algorithms solve the same problem they must have different efficiency

C For any given problem there is a single algorithm that can solve it with a single efficiency

D It is possible for two algorithms with different efficiencies to solve the same problem

ansver
Answers: 2

Another question on Advanced Placement (AP)

question
Advanced Placement (AP), 22.06.2019 08:00
Find the mean and range 26 19 23 399 31 34 25
Answers: 1
question
Advanced Placement (AP), 25.06.2019 22:00
When must a driver yield to a pedestrian? a. only when the pedestrian is in the roadway b. only when the pedestrian is in a designated crosswalk c. only when the pedestrian has a walk signal d. always
Answers: 1
question
Advanced Placement (AP), 25.06.2019 23:00
Which of the following best explains why the game of economics does not have a single goal
Answers: 1
question
Advanced Placement (AP), 26.06.2019 20:50
What if all school closed down and you got kicked from the will you do
Answers: 2
You know the right answer?
Hel m 1. What is the first step using Binary Search to look for the number 17 in this list:
Questions
question
Mathematics, 10.05.2021 01:10
question
Social Studies, 10.05.2021 01:10
question
Mathematics, 10.05.2021 01:10
question
Mathematics, 10.05.2021 01:10