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
max2010maxim [7]
3 years ago
14

Assume that the system has a multiple level queue with a variable time quantum per queue, and that the incoming job needs 80 ms

to run to completion. If the first queue has a time quantum of 5 ms and each queue thereafter has a time quantum that is twice as large as the previous one, how many times will the job be interrupted and on which queue will it finish its execution? Calculate how much time in ms that it spends in each queue.
Computers and Technology
1 answer:
storchak [24]3 years ago
7 0

Answer:

a. No. of times Job interrupted = 4

b. Job Finish at Which Queue = 5th

c. Time Spends on each Queue

Queue 1 = 5ms

Queue 2 = 2x 5ms = 10ms

Queue 3 = 2x 10ms = 20ms

Queue 4 = 2x 20ms = 40ms

Queue 5 = 2x 40ms = 80 ms

Explanation:

<u>Given Data:</u>

Total Time Required to complete the job = 80ms

Time Quantum of First Queue = 5ms

<u>To Find</u>

a. No. of times Job interrupted ?

b. Job Finish at Which Queue ?

c. Time Spends on each Queue?

<u>Solution</u>

As Given Data

Queue 1 = 5ms

each Queue has double time Quantum than Previous one so that,

Queue 2 = 2x 5ms = 10ms

Queue 3 = 2x 10ms = 20ms

Queue 4 = 2x 20ms = 40ms

Queue 5 = 2x 40ms = 80 ms

a. The System will interrupt 4 times as there are five queue in the system.

b. As mentioned in Question that 80ms will it take to complete the job so, This task will be completed in 5th Queue.

c. Total Time Spends in each queue is calculated above as

Queue 1 = 5ms

Queue 2 = 2x 5ms = 10ms

Queue 3 = 2x 10ms = 20ms

Queue 4 = 2x 20ms = 40ms

Queue 5 = 2x 40ms = 80 ms

You might be interested in
The japanese call the practice of stopping production when a defect occurs
lana66690 [7]

Answer:

Jidoka

Explanation:

hope this helps:)

4 0
3 years ago
One symptom of malware infection is that your antivirus software is disabled and cannot be re-enabled. Choose the answer. True F
Trava [24]

Answer:

False

Explanation:

Some malware software take advantage of the fact your computer has a virus and will try to advertise "anti-virus" software they made to hurt your computer even more.

4 0
3 years ago
A standard cd-rom is called a single-session disc. why are they called single-session discs?
katrin [286]
CD-ROM= Compact Disc- Read Only Memory (Can only be used once)
6 0
3 years ago
When actual hardware, network, and system software components are acquired and installed, they make up a(n) ____ for one or more
Kobotan [32]
Description i think i remember
7 0
3 years ago
What is a relationship between an object and a class?
oee [108]

Answer:

A.  An object is an instance of class

Explanation:

An object is an identifiable identity with some common characteristics state and behaviour

whereas

A class is a blueprint of a set of objects

3 0
3 years ago
Other questions:
  • What is cryptocurrency ? I need to do a research one it please help!
    6·1 answer
  • Ok so sometimes when i do something i see a box with a question mark in it, how do i remove it, i am on a macOs High Sierra earl
    11·1 answer
  • What are table buffers?
    10·1 answer
  • How does color affect your mood?
    11·2 answers
  • Jenny is working on a laptop computer and notices that the computer is not running very fast. She looks and realizes that the la
    14·1 answer
  • Order the steps for accessing the junk email options in outlook 2016
    14·1 answer
  • 1.
    9·1 answer
  • Mary wants to send a message to Sam in such a way that only Sam can read it. Which key should be used to encrypt the message
    9·1 answer
  • The current annual interest rate is 5 percent, and you are taking out a 20-year loan with a monthly end-of-month payment. If you
    5·1 answer
  • What made the digital distribution of both data and visualization more accessible to a broader audience?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!