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
oksano4ka [1.4K]
4 years ago
7

The binary search algorithm ________. will have a maximum number of comparisons equal to the number of elements in the array wil

l, normally, have the number of comparisons that is half the number of elements in the array is less efficient than the sequential search algorithm will cut the portion of the array being searched in half each time it fails to locate the search value
Computers and Technology
1 answer:
dimaraw [331]4 years ago
4 0

Answer:

Hi!

The correct answer is:

The binary search algorithm will cut the portion of the array being searched in half each time it fails to locate the search value.

Explanation:

Important! The elements of the array have to be in order to perform a binary search.

For example.

An array of 10 position. Each position represent the value of the element.

If you have to seek the number 1:

  • The first loop takes position 5 and evaluates. The value is greater than  searched, discard the upper part of the array.

      1  2  3  4  5  6  7  8  9  10

  • The second loop takes the position 3 and evaluates. The value is greater than searched, discard the upper part of the array.

      1  2  3 <em> 4  --- 5  6  7  8  9  10</em>

  • The third loop takes the position 2 and evaluates. The value is greater than searched, discard the upper part of the array.

      1  --- <em>2  3</em> <em> 4  5  6  7  8  9  10</em>

  • The fourth loop takes the position 1 and evaluates. The value is equal to searched, finish the seek.

      1 <em> </em><em> ---</em> <em>2 </em> <em>3</em> <em> 4  5  6  7  8  9  10</em>

<em />

You might be interested in
Which tab is used to edit objects on the Slide Master and layouts?
andreev551 [17]
When your trying to master the slide layouts you must go to the Slide Layout tab.
4 0
3 years ago
Which power backup method will continually provide power to a server if the power goes out during a thunderstorm
ohaa [14]

Answer:

An online UPS

Explanation:

An online uninterrupted power supply (ups) can be defined as an electronic device that is designed to supply continuous power to a load that uses alternating current (AC), through the inverter and rectifier arrangement (combination) during normal operation of the device. Thus, an online UPS through its inverter supplies continuous AC power in the event of a power failure.

Hence, an online UPS power backup method is designed and developed to continually provide power to a server (load) if there is a power outage as a result of a thunderstorm.

In conclusion, an online uninterrupted power supply (ups) guarantees a 24 hour power supply when properly installed and connected to a load or end user device such as a server.

5 0
3 years ago
Submitting Unit 11 Assignment – Step 1 Python CS Fundamentals<br> Need the code to this.
oksano4ka [1.4K]

The Step 1 Python CS Fundamentals  coding work is given in the document attached below.

<h3 /><h3>What are the basic fundamentals of Python?</h3>

The basic steps or lessons in Python is made up of:

  • Kinds of Data types ( such as int, float, strings)
  • The kinds of Compound data structures ( such as lists, tuples, and dictionaries), etc.

Note that by knowing the Step 1  of the Python CS Fundamentals  coding work, one can know what to do next. See the document attached for more information.

Learn more about Coding from

brainly.com/question/16397886

#SPJ1

Download docx
8 0
2 years ago
Some smartphones use ______ text, where you press one key on the keyboard or keypad for each letter in a word, and software on t
Oksanka [162]

Answer:

The answer is "predictive".

Explanation:

The statement lacks some details, which can be answered by the choice of the question:

A. Presumptive .

B. suggestive .

C. interpretive.

D. predictive.

Predictive text is considered to be auto-correct text as well. It is an input technique, which allows people to type words onto a smartphone throughout the text field. It's focused on both the significance of the words and letters in the message, and certain choices were wrong, which can be defined as follows:

  • Option B and Option D both were wrong because it provides the synonyms of the words.
  • In option C It is wrong because it is a text version.

5 0
4 years ago
I paid $23.99 to subscribe for the “no adds” version.. its now been a week since then but today I’m shown adds and advertisement
Aliun [14]

contact the staffs or  it's a weekly paid item

8 0
3 years ago
Other questions:
  • Why is a cable modem classified as a digital model?
    12·1 answer
  • The word biodegradable on a label doesn't necessarily mean a product is environmentally safe?
    12·1 answer
  • What are the three business writing formats
    12·1 answer
  • A domain name is used to: *
    15·1 answer
  • When making decisions, it is important to remember that ______.
    8·2 answers
  • Help on What i should say to my IT school lady? Read all three pages
    10·1 answer
  • Which is a method used with arrays?<br><br> find<br><br> index<br><br> insert<br><br> sort
    8·1 answer
  • I hack3d into my schools computer system to unblock everything but now I am scared that I am going to get caught so I want to de
    13·2 answers
  • Ergonomics implications of computer​
    12·1 answer
  • Question # 2 Multiple Select You wrote a program to compare the portion of drivers who were on the phone. Which statements are t
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!