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
Llana [10]
4 years ago
14

You are in charge of the IT division for a company that has 1,048,576 customers. Your boss asks you to decide between buying a d

atabase system from Vendor A or Vendor B. Both systems are the same price but Vendor B’s computer (computers are included in each system) has hardware that is 1000 times faster than that provided by vendor A. However, Vendor A’s system is based on an algorithm that returns a response to a query in time proportional to 10nlog2n machine operations where n is the number of customers in the database while Vendor B’s system is based on an algorithm that returns a response to a query in time proportional to 10n2 machine operations. Vendor A’s computer has a speed of 1 nanosecond (=10-9 seconds) per operation.
How long (in seconds, rounded correctly to three decimal places to the right of the decimal) would Vendor A’s system take to return a response to a query based on your current number of customers? seconds


How long (in seconds, rounded correctly to three decimal places to the right of the decimal) would Vendor B’s system take to return a response to a query based on your current number of customers? seconds
Computers and Technology
1 answer:
8090 [49]4 years ago
4 0

Answer:

See explaination for the details

Explanation:

Vendor A's total operation = 10 * (1048576) * (log2(1048576)) = 209715200

time taken for A's = 209715200 * 10-9 = 0.2097152 second = 0.210 second

Now Vendor B's total operation = 10 * (1048576)2 = 1.09951163 * 1013

time taken for B's = 1.09951163 * 1013 * 10-9 = 1099.51163 second = 1099.512 second

You might be interested in
List and describe with details at least three approaches to selecting processes from priority-based multi-level queues.
garik1379 [7]

Based on the information given, it is important to give higher priority to the queue that contains the high priority thread.

<h3></h3><h3>What is the Important Fact?</h3>
  • A lot of interrupts can take place at any time, and due to that, they cannot always be ignored as  the part of code affected by interrupts need to be guarded from constant use.
  • So, the load-balancing requirements for keeping about the same number of threads would need to be taken or retained and the important case of top priority thread would also be kept.
  • An  priority-based scheduling algorithm can handle this situation if one run queue had all high-priority threads and a second queue had all low-priority threads because if giving greater priority to the two queue that has the national priority comment section as well as, so, first method is the thread in all of the queue.
  • Multi-level queue scheduling algorithm is used in scenarios where the processes can be classified into groups based on property like process type, CPU time, IO access, memory size, etc. One general classification of the processes is foreground processes and background processes.

To learn more about multi-level refer to:

brainly.com/question/16902508

#SPJ4

6 0
1 year ago
How does the technology work
Ivan

Answer:  it does – or perhaps appears to do – in the world.

Explanation:

sorry if am not right have a nice day lol

6 0
3 years ago
Read 2 more answers
A ________ is an input device that responds to finger touch.
AURORKA [14]

1 - 3 21 - 3 21 - 3 21 - 3 21 - 3 21 - 3 21 - 3 21 - 3 21 - 3 21 - 3 21 - 3 21 - 3 21 - 3 21 - 3 2

6 0
3 years ago
Read 2 more answers
Which entry by the user will cause the program to halt with an error statement?
kicyunya [14]

Answer:

A

Explanation:

6 0
3 years ago
Read 2 more answers
A tornado may be approaching if you observe which of the following?
musickatia [10]
I would go with a funnel cloud on this one. It is the most common sign although it does not guarantee a tornado. Most tornadoes that reach the ground do expand from funnel clouds, but a condensation funnel cloud formation is not absolutely necessary for a tornado to form.
5 0
3 years ago
Other questions:
  • What would make this comparison statement False? Complete with the appropriate relational operator. "G" _____= "G"
    10·1 answer
  • Which command would you use to move a file from one location to another?
    6·2 answers
  • You have a large company, and it is important to your business that your employees' work is backed up regularly. Which network w
    7·2 answers
  • Prior to the release of a movie, a film studio launches a website that allows people to play online games featuring actors in th
    15·2 answers
  • What device can boost an analog signal? a digital signal?
    12·1 answer
  • Identify the characteristics of logic problems.select all that apply
    5·1 answer
  • 1.Menciona tres factores o variables que consideras influirán en el oscurecimiento del alimento cortado o pelado expuesto a la i
    8·1 answer
  • Plz help
    8·1 answer
  • Agent Phil Coulson developed this program to register Avengers in S.H.I.E.L.D's database using cutting-edge programming language
    15·1 answer
  • Pls anyone answer this Resource sharing is the need of network because?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!