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

Other questions on the subject: Advanced Placement (AP)

image
Advanced Placement (AP), 22.06.2019 20:30, ellemarshall13
How is the introduction of the cane toad to queensland, australia an example of the unintended consequences of using non-native species to control pests? (site 1)
Answers: 2
image
Advanced Placement (AP), 23.06.2019 12:00, marieroberts8122
What are your academic resolutions for 2019? what plans do you have to yourself accomplish those goals?
Answers: 1
image
Advanced Placement (AP), 25.06.2019 03:00, janeou17xn
Secondary school falls between a . kindergarten & elementary b. elementary school & post secondary school c. post secondary school & higher education d. middle school & high school
Answers: 1
image
Advanced Placement (AP), 25.06.2019 13:00, csterner101
Which allows college students to work part time jobs to pay for educational expenses ?
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 in other subjects:

Konu
English, 16.10.2019 13:50
Konu
Mathematics, 16.10.2019 13:50