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), 23.06.2019 12:00
Carrie received a w-2 form, 1099-misc, and a 1099-int. what is most likely true about carrie?
Answers: 1
question
Advanced Placement (AP), 24.06.2019 20:00
Suppose you are making a map of stars around the sun, and you draw earth 1 cm from the sun on your map. the brightest star in the night sky is 8.6 light-years from the sun. on your map, how far would you place that star from the sun?
Answers: 1
question
Advanced Placement (AP), 24.06.2019 22:30
99 pts which of the following statements refers to the wage-price spiral process? the salary of a worker fluctuates with the amount of sales he or she accomplishes per month. an employee loses his or her job, finds a position at another company, and is underemployed. employees only receive a raise when their purchasing power has been eroded by inflation. a worker receives a raise, which increases costs for the employer.
Answers: 1
question
Advanced Placement (AP), 25.06.2019 16:00
Evidence suggests that the ancient romans had a very formal medical system. it included which of the following? click all that apply. medical schools universities physician apprenticeships nursing homes hospital facilities
Answers: 1
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, 25.04.2020 05:22
question
Chemistry, 25.04.2020 05:22
Questions on the website: 13722367