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
When you normally drive the freeway between Sacramento and San Francisco at an average speed of 115 km/hr (71 mi/h ), the trip t
erik [133]

Answer:

It takes 20 minutes and 24 seconds more on Friday than that of normal days.

Explanation:

Given:

Average speed on normal days (s₁) = 115 km/h = 71 mi/h

Time taken on normal days (t₁) = 1 hr and 13 min

Average speed on Friday (s₂) = 90 km/h = 56 mi/h

Time taken on Friday (t₂) = ?

Distance covered is same in both case.

Converting time from minutes to hours using the conversion factor, we have:

1 min = \frac{1}{60} hour

∴ 13 min = \frac{13}{60}=0.22\ h

So, t_1=1\ h+0.22\ h=1.22\ h

Using the distance formula for both the days, we get:

d=speed\times time\\\\d=s_1t_1\\d=s_2t_2

Therefore,

s_1t_1=s_2t_2\\\\115\ km/h\times 1.22\ h=90\ km/h\times t_2\\\\t_2=\frac{140.3\ km}{90\ km/h}\\\\t_2=1.56\ hrs

So, time taken on Friday is 1.56 hours.

Time taken on Friday is more and the difference is given as:

Time difference = Time taken on Friday - Time on normal days

Time difference = 1.56 - 1.22 = 0.34 hours

Converting time from hours to minutes using the conversion factor, we have:

1 hour = 60 min

∴ 0.34 hours = 0.34 × 60

                      = 20.4

                      = 20 mins + 0.4 mins

                      = 20 min + (0.4 × 60) = 20 mins + 24 s

So, it takes 20 min and 24 seconds more on Friday than that of normal days.

4 0
3 years ago
A 200-N force acts on a 10-kg object. The acceleration of the object is
jeyben [28]
200N/10kg = 20 m/s^2
3 0
3 years ago
What other issues, besides addiction, might go along with overuse of phones?
inn [45]
Eye strain and self confidence issues.
6 0
3 years ago
What do you mean by physical quantity
Naddika [18.5K]

A physical quantity is something which can be measured and whose measurement is necessary because all the laws of physics are given in terms of these physical quantities. The examples of physical quantity are mass, length, time, temperature, electric current, velocity , acceleration, force, work, weight,power, energy etc.

There are some quantities which cannot be measured and hence are not classified as physical quantities , for example, love, honesty, hatred etc

Thus a physical quantity is a quantity which can be measured.

7 0
3 years ago
Read 2 more answers
You need to determine the density of a ceramic statue. If you suspend it from a spring scale, the scale reads 28.4 NN . If you t
shtirl [24]

Answer:

2491.23 kg/m³

Explanation:

From Archimedes principle,

R.d = weight of object in air/ upthrust in water = density of the object/density of water

⇒ W/U = D/D' ....................... Equation 1

Where W = weight of the ceramic statue, U = upthrust of the ceramic statue in water, D = density of the ceramic statue, D' = density of water.

Making D the subject of the equation,

D = D'(W/U).................... Equation 2

Given: W = 28.4 N, U = lost in weight = weight in air- weight in water

U = 28.4 - 17.0 = 11.4 N,

Constant: D' = 1000 kg/m³.

Substitute into equation 2,

D = 100(28.4/11.4)

D = 2491.23 kg/m³

Hence the density of the ceramic statue = 2491.23 kg/m³

7 0
3 years ago
Other questions:
  • While punting a football, a kicker rotates his leg about the hip joint. the moment of inertia of the leg is 3.75 kg m2 and its r
    13·2 answers
  • A closed-end manometer was attached to a vessel containing argon. The difference in the mercury levels in the two arms of the ma
    5·1 answer
  • Which of the following is an example of benefits?
    12·1 answer
  • A toy gun uses a spring with a force constant of 285 N/m to propel a 9.5-g steel ball. Assuming the spring is compressed 7.6 cm
    8·1 answer
  • What mass of water will change its temperature by 20.0 degrees Celsius when 515 J of heat is added to it? the specific heat of w
    10·1 answer
  • How would mass determine if an egg will crack or not and why?
    9·1 answer
  • Fnet = 110 N
    14·1 answer
  • How many different plant and animal species can be found in tropical rainforests
    6·2 answers
  • The nucleus in an iron atom has a radius of about 4.0 10-15 m and contains 26 protons. (a) What is the magnitude of the repulsiv
    5·1 answer
  • What is the purpose of delivering medical aid through drones
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!