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]
4 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]4 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
A jet is travelling at a speed of 1200 km/h and drops cargo from a height of 2.5 km above the ground Calculate the time it takes
OLEGan [10]

a) Time of flight: 22.6 s

To calculate the time it takes for the cargo to reach the ground, we just consider the vertical motion of the cargo.

The vertical position at time t is given by

y(t) = h +u_y t - \frac{1}{2}gt^2

where

h = 2.5 km = 2500 m is the initial height

u_y = 0 is the initial vertical velocity of the cargo

g = 9.8 m/s^2 is the acceleration of gravity

The cargo reaches the ground when

y(t) = 0

So substituting it into the equation and solving for t, we find the time of flight of the cargo:

0 = h - \frac{1}{2}gt^2\\t=\sqrt{\frac{2h}{g}}=\sqrt{\frac{2(2500)}{9.8}}=22.6 s

b) 7.5 km

The range travelled by the cargo can be calculated by considering its horizontal motion only. In fact, the horizontal motion is a uniform motion, with constant velocity equal to the initial velocity of the jet:

v_x = 1200 km/h \cdot \frac{1000 m/km}{3600 s/h}=333.3 m/s

So the horizontal distance travelled is

d=v_x t

And if we substitute the time of flight,

t = 22.6 s

We find the range of the cargo:

d=(333.3)(22.6)=7533 m = 7.5 km

7 0
3 years ago
What does the energy of an electromagnetic wave depend on?
Mrrafil [7]
It depends on frequency
6 0
3 years ago
What are the names of the 4 types of fronts? How are they created?
jeka57 [31]

Answer:

Stationary Front, warm front, cold front, Occluded Front.

Explanation:

Stationary Front. When the surface position of a front does not change (when two air masses are unable to push against each other; a draw), a stationary front is formed.

cold front is the leading edge of a cooler mass of air at ground level that replaces a warmer mass of air and lies within a pronounced surface trough of low pressure. It often forms behind an extratropical cyclone (to the west in the Northern Hemisphere, to the east in the Southern), at the leading edge of its cold air advection pattern—known as the cyclone's dry "conveyor belt" flow. Temperature differences across the boundary can exceed 30 °C (86 °F) from one side to the other. When enough moisture is present, rain can occur along the boundary. If there is significant instability along the boundary, a narrow line of thunderstorms can form along the frontal zone. If instability is weak, a broad shield of rain can move in behind the front, and evaporative cooling of the rain can increase the temperature difference across the front. Cold fronts are stronger in the fall and spring transition seasons and weakest during the summer.

A warm front is a density discontinuity located at the leading edge of a homogeneous warm air mass, and is typically located on the equator-facing edge of an isotherm gradient. Warm fronts lie within broader troughs of low pressure than cold fronts, and move more slowly than the cold fronts which usually follow because cold air is denser and less easy to remove from the Earth's surface. This also forces temperature differences across warm fronts to be broader in scale. Clouds ahead of the warm front are mostly stratiform, and rainfall gradually increases as the front approaches. Fog can also occur preceding a warm frontal passage. Clearing and warming is usually rapid after frontal passage. If the warm air mass is unstable, thunderstorms may be embedded among the stratiform clouds ahead of the front, and after frontal passage thundershowers may continue. On weather maps, the surface location of a warm front is marked with a red line of semicircles pointing in the direction of travel.

In meteorology, an occluded front is a weather front formed during the process of cyclogenesis. The classical view of an occluded front is that they are formed when a cold front overtakes a warm front, such that the warm air is separated (occluded) from the cyclone center at the surface. The point where the warm front becomes the occluded front is called the triple point; a new area of low-pressure that develops at this point is called a triple-point low. A more modern view of the formation process suggests that occluded fronts form directly during the wrap-up of the baroclinic zone during cyclogenesis, and then lengthen due to flow deformation and rotation around the cyclone.

3 0
3 years ago
Read 2 more answers
1. Johnny wants to know where the water line is in a dark well. He drops a penny into the well and counts until he hears the pen
777dan777 [17]

Answer:

3 feet down

Explanation:

i think

8 0
3 years ago
Why does a stream or river change direction when going down a steep mountain
ziro4ka [17]

Answer:

gravity

Explanation:

6 0
3 years ago
Other questions:
  • What is the kinetic energy of a 1 kg pie traveling at a speed of 4 m/s?
    12·1 answer
  • You generally need a transformer to operate a doorbell because doorbells are designed to work with much smaller voltages than wh
    10·1 answer
  • Why do i lose at corn hole
    14·2 answers
  • How would the terminal velocity of a piece of tissue paper compare to the terminal velocity of a rock?
    11·1 answer
  • Number of electrons in Na
    14·2 answers
  • Use the information from the graph to answer the
    10·1 answer
  • A sound having a frequency of 395 Hz travels through air at 331 m/s. What is the wavelength of the sound? Answer in units of m.
    11·1 answer
  • Gizmo Warm-up: Lifting a piano A pulley is a simple machine that is used to lift heavy objects. A pulley is a wheel with a groov
    10·1 answer
  • In a second order lever system the force ratio is 2.5, the load is at the distance of 0.5m from the fulcrum find distance of eff
    5·1 answer
  • Under the Big Top elephant. Ella [2500 kg]. is attracted to Phant, the 3,000 kg elephant. They are separated by 8 m. What is the
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!