To locate a value in an ordered array of 100 items, binary search must examine at most ________ values.

Answers

Answer 1

To locate a value in an ordered array of 100 items, using binary search, requires examining at most _________ values.

7


Related Questions

In not more than 3 pages discuss the concept of digital literacy

Answers

I don’t know if you want me something to

why was the first cell phone created

Answers

Cooper wanted people to have freedom to talk on the phone away from their cars.
Cooper wanted people to have freedom to talk on the phone away from their cars. So in reaction, he and Motorola embarked on a project to create a more portable device. ... Martin Cooper placed what's recognized as the first public cell phone call in New York City in 1973. :)

b. WAP to check whether input number is palindrome number or not using SUB...... END SUB.​

Answers

For a number to be palindrome, the reverse of the number and the original number must be the same.

The main program

The program written in Python, where comments are used to explain each line is as follows:

#This gets input for the number

num = input()

#This reverses the number

numrev = num[::-1]

#If the reverse and the original number is the same

if num == numrev:

   #This prints Palindrome

   print("Palindrome")

else:

   #Otherwise, it prints Not palindrome

   print("Not palindrome")

Read more about Python programs at:

https://brainly.com/question/26497128

11.1.1: Miles to track laps.


One lap around a standard high-school running track is exactly 0.25 miles. Write a program that takes a number of miles as input, and outputs the number of laps.

Ex: If the input is 1.5, the output is:

6.0

Ex: If the input is 2.2, the output is:

8.8

Your program should define and call a function:

Function MilesToLaps(float userMiles) returns float userLaps
i need the code in coral launague

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:                

 This program is written in coral language. The code of the program is given below:

.................................................................................................................................

Function MilesToLaps(float usermiles) returns float lap

  lap = usermiles*4

Function Main() returns nothing

  float userMiles

  float laps

  userMiles = Get next input

  laps = MilesToLaps(userMiles)

  Put laps to output

.................................................................................................................................

                                   

Answer:

Coral Language Code

Explanation:

Make sure you input the digits for output:

Ex: If the input is:  1.5  the output is:  6.0

Ex: If the input is:  2.2 the output is:  8.8

Function MilesToLaps(float userMiles) returns float userLaps

  userLaps = userMiles / 0.25

 

Function Main() returns nothing

  float result

  float userMiles

  userMiles = Get next input

  result = MilesToLaps(userMiles)

  Put result to output

Which of the following best describes personal responsibility.

Answers

Answer:

Provides the basis for your code of ethics even if no one is watching

Explanation:

The option that best describes personal responsibility is how you act even if no one is watching.

What is Personal responsibility?

This is known to be the ability of  a person to be willing to accept the importance of standards that a society has set up and also live by those standards.

Note therefore that the option that best describes personal responsibility is how you act even if no one is watching as it tells more about what a person can or cannot do.

Learn more about personal responsibility from

https://brainly.com/question/1461386

#SPJ2

P a. Write a program to input a side of a square. Calculate and print the area of a square.

Answers

Answer:

INPUT "What is the side of the square"; sidelength

areasquare = sidelength*sidelength

PRINT areasquare

Explanation:

the formula for area of a square is side times side

done in QBASIC programming language!

(1 point)
5. Which of the following types of professionals are most likely to perform administrative tasks
during training?
O Market research analysts
O Public relations specialists
O Advertising sales agents
O Advertising, marketing, and promotions managers

Answers

Answer: b public relations specialist

Explanation: took the quiz on edge, got 100%

A mid-sized company's IT security engineer is attempting to make it more difficult for their wireless network to be compromised. She is using techniques such as using a random challenge-response dialogue for authentication, timestamps on authentication exchanges, and one-time pad or session-based encryption. What form of wireless attacks is she defending against

Answers

The form of wireless attacks is she defending against is Hijack .

Hijack attack on a system?

Cyber hijacking is a term that is also called  computer hijacking. This is known to be a  type of network security attack where  the attacker often have full control of computer systems, software programs and others.

Due to the attack, the company or firm cannot have control over their system and as such the engineer  in the above firm is defending against is Hijack.

The options are below

What form of wireless attack is she defending against?

Eavesdropping Insertion Hijack Replay

Learn more about Hijack from

https://brainly.com/question/23294592

The recipients title located

Answers

In the inside address....

Answer:

in the Inside Address

Explanation:

In this question, you will experimentally verify the sensitivity of using a precise Pi to the accuracy of computing area. You need to perform the following activities with Python program:

a. Compute the area of a circle with radius 10 using Pi from the Python Math Module. Assign the area to a variable, say realA.
b. Now compute the area of the circle using the Pi value with precision 1,2, and 3 points after the decimal place. (i.e., Pi = 3.1, 3.14 & 3.141). Then Print the percentage difference between each of the areas calculated using each of these values of Pi and realA.

Answers

Answer:

Follows are the code to this question:

import math as x #import math package

#option a

radius = 10#defining radius variable  

print("radius = ", radius)#print radius value

realA = x.pi * radius * radius#calculate the area in realA variable

print("\nrealA = ", realA)#print realA value

#option b

a1 = 3.1  * radius * radius#calculate first area in a1 variable  

print("Area 1= ", a1)#print Area

print("Percentage difference= ", ((realA - a1)/realA) * 100) #print difference  

a2 = 3.14  * radius * radius#calculate first area in a2 variable                            

print("Area 2= ", a2)#print Area

print("Percentage difference= ", ((realA - a2)/realA) * 100)#print difference  

a3 = 3.141  * radius * radius#calculate first area in a2 variable                       print("Area 3= ", a3)#print Area

print("Percentage difference= ", ((realA - a3)/realA) * 100) #print difference  

Output:

please find the attached file.

Explanation:

In the given Python code, firstly we import the math package after importing the package a "radius" variable is defined, that holds a value 10, in the next step, a "realA" variable is defined that calculate the area value.

In the next step, the "a1, a2, and a3" variable is used, which holds three values, that is "3.1, 3.14, and 3.141", and use the print method to print its percentage difference value.  

whoever answers first gets lots of points

Answers

Firssstttttt ayyyyyyeeeeeeeeeeeee

One of the features of using web mining is that it improves website usability. This usability refers to how easily website users can ________ with the site.

Answers

This usability above refers to how easily website users can query with the site.

What is Web content mining?

Web content mining is known as the act of looking into the unstructured content of Web pages thoroughly

Web structure mining  is one that is done to analyze or handle the universal resource locators found or seen in Web pages. Web mining is known as the application of data mining methods to known the various patterns from the World Wide Web.

Learn more about web mining from

https://brainly.com/question/2889076

when I turn on my pc using a graphics card, it does give video, and everything is normal, but when I try to turn on my pc with the integrated graphics of the cpu, nothing appears on the screen, could you help me to be able to use the integrated graphics?

Answers

Answer:

Check BIOS

Explanation:

There are many reasons this could occur I highly would recommend checking BIOS to see if anything seems off their under the Graphics and CPU tab, because a common thing amoung lots of people are that their intergrated graphic setting is turned off in BIOS. If this doesnt work try updating BIOS/motherboard to see if there a change.

Which of these are NOT a common mistake in the website structure?
Question 8 options:

Having too many options on the navigation.

No category landing pages.

Not promoting important articles.

Having a navigation bar in a standard location.

Lack of search and structure integration.

Answers

The choices which is not a common mistake in the website structure is;

Having a navigation bar in a standard location.

Mistakes in Website Structure

It's common for local businesses specifically to have problem with bad or outdated website design as it scares customers away. If one's customers are being scared away by the way the website looks, one is going to lose out on a lot of revenue.

However, having a navigation bar in a standard location is a good practice and hence is not a common mistake.

Read more on mistakes in web design;

https://brainly.com/question/19118327

what is purpose of indexing​

Answers

ANSWER:
Indexing is accessing your data faster; readings and updates in the database.

EXPLANATION:
Indexes allow you to look up a small subset of the fields called keys, which are stored in an ordered order, and find the actual data using the key. These keys in the index point to the actual data records.

Indexes also help in sort operations, if the sort is on an indexed field. Also, a single index can be useful in multiple queries.

Indexes take up storage space and, while they are running, memory. When data is created or updated, the indexes need updates, sometimes; that's extra write. Therefore, the use of indices needs careful study.

If a user inserts a piece of clip art over some text but does not want the art to block the text, the user should select
the piece of clip art and click which option?
OBring Forward
OSend Backward
O Align
ORotate

Answers

Answer:

send backward

Explanation:

Answer:

Send Backwards

write the implementation (.cpp file) of the gastank class of the previous exercise. the full specifiction of the class is:

Answers

Answer: (no specifications)

Explanation:

Given that there is nothing listed about the class there would be no specifications for the class. This part of the question will not provide you with enough information to write code.

PLEASE HURRY!!!!

Fill in the blank in order to convert the user’s response to a number without a decimal point.
>>> answer = input("How many sodas do you want? ")
How many sodas do you want? 5
>>> numberAnswer = (answer)

Answers

Answer:

int

Explanation:

This pretty late from the day you asked but for anyone else that has to take this horrid online class it's int

Answer:

>>> numberAnswer =  int (answer)

Explanation:

After you input this line of code, all you have to do is input the line">>>numberanswer" and you will get the number 5 back

When people buy products from people instead of companies, it's called:

Answers

Answer:

when people buy products from people instead of companies it's called as secondary exchange

Explanation:

mark as brainiest

how can the various templates that are available for new word documents to be accessed?
A opening up an instance of word
B pressing CTRL+N with word open
C clicking file to enter backstage view
D all of the above​

Answers

Answer:

ITS D ALL OF THE ABOVE.

Explanation:

HOPE THIS HELPS?

The various templates that are available for new word documents can be accessed by opening up an instance of word, pressing CTRL+N with word open and clicking file to enter backstage view. The correct option is D.

What is template?

Pre-made designs and documents that can be customized are referred to as design templates.

Templates are frequently designed to meet specific standards or specifications in order to be consistent across users and mediums.

A template is a document format that you can use to create your own. The templates available for new Word documents can be accessed by clicking File and then New.

Here you will find all of the templates available for use as well as the option to search for templates online that can be downloaded.

To access the various templates available for new Word documents, open a new instance of Word, press CTRL+N with Word open, and then click file to enter backstage view.

Thus, the correct option is D.

For more details regarding templates, visit:

https://brainly.com/question/13566912

#SPJ5

What is the difference between Mac, PC, Tablets, and Cell Phones?

Answers

Answer:

In the strictest definition, a Mac is a PC because PC stands for personal computer. However, in everyday use, the term PC typically refers to a computer running the Windows operating system, not the operating system made by Apple.

Explanation:

Hope this helps !!

difference between mobile and tablet is because the size of the screen and based on its power with different capabilities

SQL provides all the necessary functionalities for managing and analyzing big data. Group of answer choices True

Answers

SQL provides all the necessary functionalities for managing and analyzing big data is a true statement.

What is the role of SQL?

SQL is known to be a term that connote Structured Query Language (SQL). It is regarded as  a standardized programming language that is often employed to handle relational databases and carry out various operations on the data in them.

It is often used by big firms to access, read, work on , and analyze the data stored in a database and they also help to get useful insights to push an informed decision-making process.

Learn more about SQL from

https://brainly.com/question/25694408

12 points. Which option represents the location of the Goal Seek function?
Goal tab
Data tab, Forecast group
Formulas tab, Forecast group
Insert tab on the ribbon

Answers

Answer:

goaltab

Explanation:

The represents the location of the Goal Seek function is Data tab, Forecast group. The correct option is (B).

What do you mean by the Goal Seek function?

In Excel, the Goal Seek command may be found in the Forecast command group in the What-If Analysis dropdown menu on the Data tab.

By altering an underlying assumption, the Goal Seek Excel function (also known as What-If-Analysis) allows one to solve for a desired output.

Back-solving is effectively done by the function by feeding in guesses and trying different solutions until it finds the right one.

The formula used for goal seek uses the input value to produce the target value. Then, by altering the formula's input value,

Goal Seek makes an effort to find an answer for the input value. Goal Seek only functions with one input variable value.

Therefore, the  represents the location of the Goal Seek function is Data tab, Forecast group.

To know more about the Goal Seek function, visit:

https://brainly.com/question/21530148

#SPJ2

you can increase the resonant frequency of a series-tuned RLC circuit by

Answers

you need to increase l.

Answer:

  decreasing the inductance or capacitance or both

Explanation:

The frequency of a resonant LC circuit is inversely proportional to the square root of the product of L and C. Thus increasing the resonant frequency requires decreasing the product of L and C. This can be done by decreasing L, decreasing C, or both.

When would you prefer to use a jump drive over using a hard drive? Choose the most appropriate answer.
when you want to back up your data on the same computer
when you need quick access to the data
when you want to rename your data files on your computer
when you want to carry your data with you while on vacation

Answers

Answer:

The answer to this question is given below in the explanation section. The correct option is:

when you want to carry your data with you while on vacation

Explanation:

The question is when would you prefer to use a jump drive over using a hard drive? Choose the most appropriate answer.

when you want to back up your data on the same computer when you need quick access to the data when you want to rename your data files on your computer when you want to carry your data with you while on vacation

The correct option of this question is 4 i.e you would prefer to use a jump drive over using a hard drive when you want to carry your data with you while on vacation. Because carrying data on a computer while on vacation seems not good, and also handling it becomes difficult. It is good to carry data in a jump drive while you are planning to go on vacation.

The slide that is used to introduce a topic and set the tone for the presentation is called the Question 1 options: Title slide Bullet slide Table slide Graph slide

Answers

Answer:

Title Slide

Explanation:

The slide that is used to introduce a topic and set the tone for the presentation is called the Title slide. Then the correct option is A.

What is the title slide?

A presentation's opening slide is the title slide. Both a title and a subtitle are typically present. The first slide in a presentation is one of the most crucial since the title slide typically establishes the mood. However, a lot can go wrong in this situation as well.

Microsoft creates a Title slide by default when you create a new presentation because it expects the first slide in your presentation will be for the title. Two text placeholders are included on a title slide.

The Title slide is used to introduce a topic and establish the mood for the presentation. Then, choice A is the best one.

More about the title slide link is given below.

https://brainly.com/question/25647444

#SPJ6

Given the following code segment, what is output after "result = "? int x = 1, y = 2, z = 3; cout << "result = " << (x < y ? y : x) << endl;

a. 1
b. 2
c. 3
d. 4

Answers

Answer:

b. 2

Explanation:

Here we have a program which is calling the subtract function to calculate the difference between two numbers. The value from the subtract function is being stored in a variable called answer. Then answer is being displayed.

Code is not executing as expected. Instead of seeing the answer, we are seeing the word "None."
Modify the code within the subtract function so the value for solution is returned when the function is called. When you are finished, the output should Desired Output.

# Define the subtraction function
def subtraction(minuend, subtrahend):
solution = minuend-subtrahend
print(minuend,"minus",subtrahend,"equals",solution)

# Call the subtraction function
subtraction(4, 10)

desired output:

10 minus 4 equals 6

Answers

Answer:

See explanation

Explanation:

Given

The above program that subtracts two numbers and returns the result

Required

Modify the source code to run perfectly

When the given program is tested, it displays

4 minus 10 equals -6

Which is different from the expected output of

10 minus 4 equals 6

Modify

solution = minuend-subtrahend

to

solution = subtrahend  - minuend

And that does it.

what is the difference between delete and backspace key?​

Answers

they are the same thing

Answer: delete what's in front (right) vs behind (left) of cursor

Explanation:

Delete allows you to remove whats in front of the cursor while backspace allows you to remove whats behind the cursor.

In the microsoft powerpoint wiew ribbon. Which presentation wiew enables a user to view one slide at a time in the slide pain?

Answers

Answer:

The answer to this question is given below in the explanation section.

Explanation:

In the Microsoft PowerPoint view ribbon. A normal presentation view enables a user to view one slide at a time in the slide pain.

As we know that there are different views of presentation, such as, normal view, reading view, slider sorter, outline view, and note pages.

Only a Normal view allows you to see one slide at a time in the slide pain.

Other Questions
write step by step pls1/2r3=3(43/2r) A toy car has a mass of 3 Kg is pushed horizontally with a force of 3 N. Friction is so small it can be ignored.What is the acceleration?How fast is it going after 8 s if it starts from rest?How far did it go? Which sequence: an=-2(an-1),a1=4 Match each equation to its equivalent equation.-6x - 2y = 102x + 5y = 18-4x + 3y = 2012x - 9y = -60-24x - 8y = 404x + 10y = 36 28. Someone inspired by the writings of Thomas Paine in 1776 would MOST LIKELY support whichof the following statements? (1 point)A. "The colonies must proclaim their independence!"B. "Slavery is moral outrage and must be abolished."C. "Long live King George!"D. "Laws passed by Parliament must be respected." What scale factor is shown in the graph? Guess my zodiac sign correctly and you will be marked brainliest! June is driving from Brookline, Massachusetts to Brooklyn, new york. The cities are 200 miles apart. Pretend June lives in a world in which she encounters no traffic jams and can drive at a constant speed of 50mph the entire way. Consider the following function. the distance June has traveled, c, is a function of her driving time, t. Happy Birthday is having a party this weekend. The ratio of community friends to school friends attending the party is 8 to 14. Find an equivalent ratio of school friends to community friends.Group of answer choices24 to 1828 to 1616:2818:24 Which of the following is NOT one of the main components of the cell theory? 1. cells must contain cell walls 2. all living things are made of cells 3.cells can only come from other cells 4. cells are the basic unit of life In a recent year , 1286 female deer were born in Clark country.That is 93 fewer than the number of male deer born .How many male deer were born that year? can someone please help me? 3) Alex drove for 3 hours at anaverage speed of 60 miles perhour and for 2 hours at 45miles per hour. What is hisaverage speed for the wholejourney? (Help ASAP will give 20 points for 2 questions) Do you agree with the Symbolist goal of bringing deeper meaning to art, or do you prefer, like many 20th century artists, to appreciate "art for art's sake"? Why?50 points Which of the following best describes the location of all climate zones? Found near the equator Located in areas north of the equator Located in areas north or south of the equator Located in areas south of the equator PLS HELP 30 points Which point represents the outlier in the scatter plot?(A) (2,4)(B) (5,10)(C) (9,10)(D) (10,9) Click some of the other color choices and read the corresponding analyses. How do these analyses compare to yours? Why are force fields necessary to describe gravity?A. Gravity is a type of air resistance.B. Gravity acts between any two objects with charges.C. Gravity is a noncontact force.D. Gravity can only push objects apart. What is the relationship between these two paragraphs?Its not easy being a bird, especially when you cant figure out how to fly. That was Donnys problem. No matter how hard he tried, he couldnt lift off the ground. He watched the other birds and tried to imitate what they did, but nothing seemed to help.Summer was almost over, and the leaves were starting to fall off the trees. It would soon be winter, and everyone would be heading south for the summer. Donny didnt want to be left behind, and he didnt want to be a burden. He needed to teach himself to fly once and for all.A. The first paragraph is the exposition, and the second paragraph is the climax of the story.B. The first paragraph describes the conflict, and the second paragraph resolves the problem.C. The first paragraph outlines the plot, and the second paragraph describes the theme of the story.D. The first paragraph describes the main character, and the second paragraph describes the conflict.E. The first paragraph identifies the narrator, and the second paragraph tells about the setting.