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
Fed [463]
3 years ago
10

4. Assume a multiple level queue system with a variable time quantum per queue, and that the incoming job needs 50ms to run to c

ompletion. If the first queue has a time quantum of 5ms 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? Explain how much time it spends in each queue.
Physics
1 answer:
Troyanec [42]3 years ago
6 0

Answer:

Explanation:

For the completion of incoming job it will take 50ms

First queue takes 5ms quantum time and the subsequent queue takes double of the previous question

So,

First queue T_1 = 5ms

Second queue T_2 = 2 × T_1 = 2 × 5 = 10ms

Third queue T_3 = 2 × T_2 = 2 × 10 = 20ms

Fourth queue T_4 = 2 × T_3 = 2 × 20 = 40ms

Fifth queue T_5= 2 × T_4 = 2 × 40 = 80ms.

Now, the job will be done after the fifth queue.

So, after the first queue, the job is not completed, so, we have first interruption

After the second queue, the job is not completed, so, we have second interruption

After the third queue, the job is not completed, so we have third interruption.

After the fourth queue, the job is not yet completed, so we have the fourth interruption

And in the fifth queue the job is completed, so we don't have any interruption here.

So, the job will be interrupted 4 times and it will finished on the fifth queue.

You might be interested in
What living things began to increase in numbers following this mass extinction?
RoseWind [281]

pigsExplanation: population

8 0
3 years ago
A truck accelerating at 0.0083 meters/second2 covers a distance of 5.8 × 104 meters. If the truck's mass is 7,000 kilograms, wha
zhannawk [14.2K]
Work done = force * distance moved (in direction of the force)

force= mass* acceleration 

force=58.1N

58.1*(5.8*10^4)
=3,369,800 J
7 0
3 years ago
Read 2 more answers
Where do you think the government should put the greatest support: solar energy, wind energy, clean coal, oil exploration, gas e
True [87]
The government should put it support in a combination of sources, as no source in the present can fully provide all energy requirements.
7 0
3 years ago
Read 2 more answers
The odometer of a car changes from 1048 km to 1096 km in 40
Makovka662 [10]

Answer:

20m/s

Explanation:

it covers 20 metres in a second

3 0
2 years ago
Define and Explain the Sovereignty
GarryVolchara [31]

Sovereignty is a political concept that refers to dominant power or supreme authority.

Explanation:

Sovereignty is an attribute of states that is both an idea and a reality of state power. It is one of the means, an important one, by which the government of a state seeks to ensure the best it possibly can for its people. As such, it also changes over time.

6 0
3 years ago
Other questions:
  • A point charge is at the origin. With this point charge as the source point, what is the unit vector r^ in the direction of (a)
    13·1 answer
  • Please help me.
    10·2 answers
  • Definition These are the components of the reservoirs of oxygen that are exchanged in our environment.
    9·1 answer
  • Suppose a 49-N sled is resting on packed snow. The coefficient of kinetic friction is 0.11. If a person weighing 585 N sits on t
    12·1 answer
  • Please help on this one?
    8·1 answer
  • A woman is standing in the ocean, and she notices that after
    6·1 answer
  • Which of the following is an inorganic compound?
    9·2 answers
  • There are several ways to model a compound. One type of model is shown. What is the chemical formula for the molecule modeled? О
    12·1 answer
  • In the following diagrams the larger vector has a magnitude of 10, and the smaller
    8·1 answer
  • A 250 kg engine block is being dragged across the pavement by a sturdy chain with a tension force of 10,000 N, as seen in the fr
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!