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
Montano1993 [528]
3 years ago
5

Suppose the inventory is unordered (!) and a sequential search is done to locate a specific artifact. Given that the search is e

xecuted on a computer that can do 12,000 comparisons per second, about how much time on the average would the search require? Assuming the inventory is sorted, about how much time would a binary search require?
Computers and Technology
1 answer:
lana [24]3 years ago
6 0

Answer:

The computer can do 12000 searches per second. Suppose there are 60000 inventory items. And we need to search one item from it in a sequential manner. The computer can do 12000 searches in one second. Hence it can search in a list of 60000 inventory in 5 seconds, as 12000 x 5 =60000 searches, in the worst case. And if the item is below 12000 on the list, it will take less than 1 second(1/12000 sec in best case), and so on.

And if we assume that the list is sorted, and perform a binary search. then in the worst case, the number of searches required in the worst case will be 60000/2= 30000. And the time required will be 30000/12000= 5/2=2.5 seconds, and (1/24000) seconds in the best case. Its 1/24000 as its binary search.

Explanation:

Please check the answer section.

You might be interested in
A very simple device that connects network components and sends packets of data to all other connected devices is called a _____
Nadusha1986 [10]
A. hub

I can't think of a good reason to use a hub anymore, I always use a switch instead.
3 0
3 years ago
unscramble the letters to identify which step of the scientific method each statement repesents why is the sliced cheese in the
Rudiy27
Sorry the only word I could get from that is problem, is that possibly the answer?
5 0
3 years ago
Which ipsec subprotocol provides data encryption?
Mrac [35]
I'm not sure but I think LastPass?
6 0
4 years ago
Which of the operating systems listed below is not proprietary?
Jobisdone [24]
One which is open source, linux based
3 0
3 years ago
I have an android tablet, when I charged it, it was at 23%. I put away my charger and just started playing. My percent didn't go
Irina-Kira [14]
Try resetting the tablet and see what happens. If that doesn't work you can hard reset it (This will remove everything on your device and make it look brand new)
6 0
3 years ago
Other questions:
  • Write a fragment of code that will read words from the keyboard until the word done is entered. For each word except done, repor
    14·1 answer
  • The term____relates to all things that we see.
    13·1 answer
  • How many pairs of chromosomes do human body cells contain?
    7·2 answers
  • The data set monarch from Computer-Active Data Analysis by Lunn andMcNeil (1991) contains the years lived after inauguration,ele
    9·1 answer
  • The automatic number of worksheets that appear when you open a blank Excel workbook is ? 1.One 2.Three 3.Six 4.Ten
    8·1 answer
  • What is an Action Button?
    10·1 answer
  • The keys to successful outsourcing are accountability, reporting, and ___
    7·1 answer
  • Write an algorithm for a program which inputs the lengths a, b and c of the three sides of a triangle. The program then determin
    9·1 answer
  • Write down the stages in the information prcessing cycle in correct order​
    5·1 answer
  • HOW TO CHANGE GRADE IN SKYWARD!!
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!