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
Two resistors, A and B, are connected in a series circuit with a battery. The resistance of A is twice that of B. Which resistor
IgorC [24]

Answer:

A dissipates more power.

Explanation:

  • In a series circuit, the current is the same at any point in it.
  • The power dissipated in any resistor follows Joule's law, as follows:

        P = I^{2} * R

  • So, for a given current, the power is directly proportional to the resistance of the resistor.
  • In this case, as resistor A has twice the resistance of resistor B, A dissipates twice more power than B.
8 0
3 years ago
The equation of a transverse wave traveling along a string is 1 1 y (2.00 mm)sin[(20 m )x (600 s )t] − − = − Find the (a) amplit
Lelu [443]

Answer:

a)Amplitude ,A = 2 mm

b)f=95.49 Hz

c)V=  30 m/s  ( + x direction )

d)  λ = 0.31 m

e)Umax= 1.2 m/s

Explanation:

Given that

y=2\ mm\ sin[(20m^{-1})x-(600s^{-1})t]

As we know that standard form of wave equation given as

y=A sin(\phi -\omega t)

A= Amplitude

ω=Frequency (rad /s)

t=Time

Φ = Phase difference

y=2\ mm\ sin[(20m^{-1})x-(600s^{-1})t]

So from above equation we can say that

Amplitude ,A = 2 mm

Frequency ,ω= 600 rad/s                     (2πf=ω)

ω= 2πf

f= ω /2π

f= 300/π = 95.49 Hz

K= 20 rad/m

So velocity,V

V= ω /K

V= 600 /20 = 30 m/s  ( + x direction )

V = f λ

30 = 95.49 x  λ

 λ = 0.31 m

We know that speed is the rate of displacement

U=\dfrac{dy}{dt}

U=2\ mm\ sin[(20m^{-1})x-(600s^{-1})t]

U=1200\ cos[(20m^{-1})x-(600s^{-1})t]\ mm/s

The maximum velocity

Umax = 1200 mm/s

Umax= 1.2 m/s

8 0
3 years ago
What type of appeal does Gore mostly use to persuade the audience?
Mazyrski [523]
I thinks its He uses proof to show the evidence is relevant. But im not totally positive on it hope this helps
8 0
3 years ago
Read 2 more answers
A 2.0-kilogram ball rolls down a ramp. if the ball accelerates at a rate of 12 m/s2, the net force causing the acceleration is:
ehidna [41]

Answer:

D

Explanation:

f = ma

2 x 12 = 24

answer could differ since it's rolling down a ramp. if an angle is given our approach differs.

7 0
2 years ago
The AC voltage source is connected to an inductor and a resistor in series. If the frequency of the source is increased the curr
DaniilM [7]

Answer:

If the frequency of the source is increased the current in the circuit will decrease.

Explanation:

The current through the circuit is given as;

I = \frac{V}{Z}

Where;

V is the voltage in the AC circuit

Z is the impedance

Z = \sqrt{R^2 + X_L^2}

Where;

R is the resistance

X_L is the inductive reactance

X_L = ωL = 2πfL

where;

L is the inductance

f is the frequency of the source

Finally, the current in the circuit is given as;

I = \frac{V}{\sqrt{R^2 + (2\pi fL)^2} }

From the equation above, an increase in frequency (f) will cause a decrease in current (I).

Therefore, If the frequency of the source is increased the current in the circuit will decrease.

5 0
3 years ago
Other questions:
  • Which law explains why a book flying in the air hitting a person would hurt more than a feather hitting a person?
    6·2 answers
  • if a ball was dropped from 120 meters. if it takes 2 seconds for the ball to fall 60 meters, how long will it take for the ball
    7·1 answer
  • What does the heliocentric view of a solar system imply
    15·2 answers
  • physics a flower pot falls from a windowsill 25.0m above the sidewalk. how much time does a passerby on the sidewalk below have
    8·1 answer
  • An 0.80-m aluminum bar is held with its length parallel to the east-west direction and dropped from a bridge. Just before the ba
    6·1 answer
  • The Kinetic energy, K, of an object with mass m moving with velocity v can be found using the formula - E_{\text{k}}={\tfrac {1}
    5·1 answer
  • Rainbow can appear at night,they are called Moonbow?
    5·1 answer
  • If gravity on mars is less that that of earth so you weigh more or less on mars
    11·2 answers
  • A 45000 watt crane operating at full power lifts a 2100 kg object vertically for 17.4 seconds. How high has the crane lifted the
    12·1 answer
  • What is the difference between potential difference and voltage​
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!