1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
algol13
1 year ago
15

What is the maximum number of comparisons that a binary search should do for a sorted array of 81,014 elements ?

Physics
1 answer:
Pachacha [2.7K]1 year ago
7 0

The maximum number of comparison is 4502

Binary array : it is an array consist of only 0s and 1s only.

Binary search - an efficient algorithm for finding items from a sorted list.

it is called binary because it divide array into tow halves.

It is used to excess data more faster when the space is tight.

binary search will search the array by dividing it into two halves till it find the value.

The main advantage of it is that is more quicker than a serial search.

binary search algorithm can be implemented in the two ways :

1. Iteration method

2. Recursive method

the maximum number of comparisons is 4502.

To know more about binary array :

brainly.com/question/28346440

#SPJ4

You might be interested in
What formal regions are located in the western hemisphere
Tju [1.3M]

Answer: Part of Europe, part of Africa, part of Antarctic and the entire America.

Explanation: Western hemisphere or west hemisphere encompasses all regions located west of the longitude 0 °, or meridian of Greenwich.

The formal regions located in the western hemisphere is Europe, Africa, Antarctic and America.

4 0
3 years ago
Plz help me with this question ​
Ahat [919]

Explanation:

Here,

initial velocity(u)=25m/s

final velocity (v)=0m/s

time taken(t)= 5 second

Now,

4 0
3 years ago
Why was the concern over global cooling replaced with a concern over global warming?
velikii [3]
<span>During 1970s, same observations were seen as what we have observed today pertaining to our climate. Journals were discussing that there would be warming because of greenhouse gases emissions. Also, it was observed between the years 1970 to 1990 that there was a steady surface temperature increase. Due to this, people are now fixated with global warming rather than on global cooling.</span>
4 0
3 years ago
What is the force on object exerts on another?<br>​
vagabundo [1.1K]
Normal contact force
3 0
3 years ago
You are in a car travelling to dinner when a light ahead suddenly turns red.
mamaluj [8]

Answer:

The car needs nearly 2.6 s

8 0
3 years ago
Other questions:
  • Longitudional waves travel through a series of ________ and ___________.
    13·1 answer
  • A reaction where one element takes the place of another element in a compound is an example of which type of reaction?
    6·1 answer
  • One alternative to burning non-renewable fuels, which harm the environment, could be to burn
    9·1 answer
  • 9. Which of the following characteristics of water is most responsible for the sinking of the Titanic? A. Water is liquid at roo
    9·1 answer
  • Compute your average velocity in the following two cases: (a) You walk 50.2 m at a speed of 2.21 m/s and then run 50.2 m at a sp
    13·1 answer
  • If 2 trains are going at the speed of sound then what is the speed they will stop at
    14·1 answer
  • Atoms in a solid
    13·2 answers
  • When potential energy ___________ , kinetic energy increases.
    12·2 answers
  • Help me pls its important
    15·1 answer
  • is friction always a bad thing? can u think of some situations of tools that take advantage of frictional force??
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!