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
In which electric circuit would the voltmeter read 10 volts ?
ki77a [65]

Given that,

Voltage = 10 volt

Suppose, The three resistance is connected in parallel and each resistance is 12 Ω. find the current in the electric circuit.

We need to calculate the equivalent resistance

Using formula of parallel

\dfrac{1}{R}=\dfrac{1}{R_{1}}+\dfrac{1}{R_{2}}+\dfrac{1}{R_{3}}

Put the value into the formula

\dfrac{1}{R}=\dfrac{1}{12}+\dfrac{1}{12}+\dfrac{1}{12}

\dfrac{1}{R}=\dfrac{1}{4}

R=4\ \Omega

We need to calculate the current in the circuit

Using ohm's law

V=IR

I=\dfrac{V}{R}

Where, V = voltage

R = resistance

Put the value into the formula

I=\dfrac{10}{4}

I=2.5\ A

Hence, The current in the circuit is 2.5 A

4 0
3 years ago
6. An excited dog runs full-speed toward his owner who has just returned home from
mixas84 [53]

Answer:

v = 8.65 m/s

Explanation:

Given that,

Distance covered by the doge, d = 45 m

Time taken, t = 5.2 s

We need to find its average speed. The total distance covered divided by the total time taken is called the average speed of an object. So,

v=\dfrac{45\ m}{5.2\ s}\\\\=8.65\ m/s

So, the average speed is 8.65 m/s.

4 0
3 years ago
What is the difference between real and apparent weightlessness?
MrRissso [65]

Answer:

In space we feel weightlessness because the earth's gravity has less effect on us. The Earth's gravitational attraction at those altitudes is only about 11% less than it is at the Earth's surface. If you had a ladder that could reach as high as the shuttle's orbit, your weight would be 11% less at the top.

Explanation:

Hope this helps:)

4 0
3 years ago
The chart shows data for a moving object. A 2-column table with 3 rows. Column 1 is labeled time in seconds with entries 2, 4, 6
Rashid [163]
The object is not accelerating. I think I got this question right
3 0
3 years ago
Can someone please explain the quantum theory in simple terms
BaLLatris [955]
Quantum theory is the theoretical basis of modern physics that explains the nature and behavior of matter and energy on the atomic and subatomic level. The nature and behavior of matter and energy at that level is sometimes referred to as quantum physics and quantum mechanics.
6 0
3 years ago
Other questions:
  • Does air play a role in the propagation of the human voice from one end of a lecture hall to the other
    15·1 answer
  • Why are the constellations in the summer sky different from those in the winter?
    9·1 answer
  • A 4 kg body is traveling at 3 m/s with no external force acting on it. At a certain instant an internal explosion occurs, splitt
    8·1 answer
  • The energy an object has as a result of it being in motion is called? What kind of energy?
    7·2 answers
  • Michael decided to build a model roller coaster with a car that has a mass of 3 kg. If at point c it travels 6 m/s, what is the
    14·1 answer
  • A rock at the top of a 20 meter tall hill.The rock has a mass of 10 kg. How much potentail   energy does it have?
    7·1 answer
  • Two narrow slits are illuminated by light of wavelength λ. The slits are spaced 20 wavelengths apart. What is the angle, in radi
    11·1 answer
  • During take-off a 5kg model rocket, initially at rest, burns fuel for 4.6s causing its speed to increase from rest to 39m/s duri
    9·1 answer
  • How many significant figures does the following number have: 0.002040?
    9·1 answer
  • Directions: Consider a 2-kg
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!