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
Tems11 [23]
3 years ago
13

After performing many sequential searches on a list of 6000 entries, what would you expect to be the average number of times tha

t the target value would have been compared to a list entry? What if the search algorithm was the binary search?
Computers and Technology
2 answers:
zhannawk [14.2K]3 years ago
7 0
Hello there.
<span>
After performing many sequential searches on a list of 6000 entries, what would you expect to be the average number of times that the target value would have been compared to a list entry? What if the search algorithm was the binary search?
</span>
3000.

nordsb [41]3 years ago
5 0
<span>The worst case for searching a list of n entries sequentially is n compares (one for each entry that doesn't match). The best case is 1 compare. Sequential search is thus O(n) complexity. However, ON AVERAGE, n/2 entries have to be examined. The average of the best and worst case (1 and n) is n / 2. The second best and second worst is n / 2, etc. So, the answer is 3000. </span>
You might be interested in
What are two characteristics of switches? (Choose two.) * 1 point A. Switches identify the intended destination of the data that
tigry1 [53]

Answer:

A. Switches identify the intended destination of the data that they receive. And C. Switches are capable of sending and receiving data at the same time

Explanation:

Switches can be used as inputs (Analog), or outputs (digital). These inputs and outputs are signals that the switches send or receive- Or at least as push button switches... But the same applies to network switches.

Hope this helps! Have a great day!

7 0
3 years ago
Which view is most often used to reorder slides in a presentation that has already been created?
riadik2000 [5.3K]

Answer:

Normal view

Explanation:

The normal view is best used because it is just to drag and drop

4 0
3 years ago
Read 2 more answers
Why am i doing the investigation​
juin [17]
Because it’s your interest
6 0
3 years ago
What is the definition of a unit test from a devops perspective?.
igomit [66]

Answer:

khhghgl

Explanation:

8 0
3 years ago
A method to move data through a network of links and switches which reserves communication sessions between end systems is calle
lubasha [3.4K]

Answer:Circuit switching and packet switching

Explanation: Circuit switching is the switching technique through the connection from the source port to the destination port.Packet switching is also a switching techniques in connectionless form for the data packets. Both these switching techniques helps in communication between end and start ports.

Other option are incorrect as the access networks provide the access to the network and throughput is the input passing in the network.Thus, the correct option is circuit switching and packet switching .

3 0
4 years ago
Other questions:
  • What is a partition gap, and how might it be used to hide data?â?
    8·2 answers
  • Ted is asked to create a page containing his family photos for a family reunion website. He will has about 20 pictures to post,
    14·1 answer
  • Why is it that even though there aren't the max number of answers on a question, (or sometimes even NO answers) When I click the
    11·1 answer
  • Write a program that uses an "if" statement to determine if the number is greater than one. If the number is greater than 1, the
    9·1 answer
  • Being nice take the points​
    9·1 answer
  • An array A[0..n - 2] contains `n-1` integers from 1 to `n` in increasing order. (Thus one integer in this range is missing.) Des
    11·1 answer
  • arrange the following numbers from the highest to the lowest. ⅔,-7,0. no file or photo​
    8·1 answer
  • Write a function, AvgList, that takes a single argument, a list, and returns the average (mean) of the numbers in the list. You
    10·1 answer
  • I will give brainliest to the best answer. what is a good screen recorder
    11·1 answer
  • What is the meaning of Ram?​
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!