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
Two small plastic spheres are given positive electrical charges. When they are 15.0 cm apart, the repulsive force between them h
Tems11 [23]

Answer:

a) q_1=q_2= 7.42*10^-7 C

b) q_2= 3.7102*10^-7 C , q_1 = 14.8*10^-7 C

Explanation:

Given:

F_e = 0.220 N

separation between spheres r = 0.15 m

Electrostatic constant k = 8.99*10^9

Find: charge on each sphere

part a

q_1 = q_2

Using coulomb's law:

F_e = k*q_1*q_2 / r^2

q_1^2 = F_e*r^2/k

q_1=q_2= sqrt (F_e*r^2/k)

Plug in the values and evaluate:

q_1=q_2= sqrt (0.22*0.15^2/8.99*10^9)

q_1=q_2= 7.42*10^-7 C

part b

q_1 = 4*q_2

Using coulomb's law:

F_e = k*q_1*q_2 / r^2

q_2^2 = F_e*r^2/4*k

q_2= sqrt (F_e*r^2/4*k)

Plug in the values and evaluate:

q_2= sqrt (0.22*0.15^2/4*8.99*10^9)

q_2= 3.7102*10^-7 C

q_1 = 14.8*10^-7 C

4 0
3 years ago
Read 2 more answers
A T-Bar is similar to a_______
dezoksy [38]

Answer:

Donkey

Explanation:

3 0
3 years ago
A small marble attached to a massless thread is hung from a horizontal support. When the marble is pulled back a small distance
s2008m [1.1K]

Answer:

f' = 2 f

Explanation:

The frequency of the pendulum that swings in simple harmonic motion is given by :

f={2\pi}\sqrt{\dfrac{l}{g}}

Where

l is the length of pendulum

g is the acceleration due to gravity

If the length of the thread is increased by a factor of 4, such that, l' = 4 l, let f' is the new frequency such that,

f'={2\pi}\sqrt{\dfrac{l' }{g}}

f'={2\pi}\sqrt{\dfrac{4l}{g}}

f'=2\times {2\pi}\sqrt{\dfrac{l}{g}}

f' = 2 f

So, the new frequency of the pendulum will become 2 time of initial frequency. Hence, the correct option is (b) "2f"

3 0
3 years ago
A solid object has a density of 2.85 g/cm3. According to Archimedes, what can be done to make this object float in water?
Juli2301 [7.4K]
2: It's not just the capillary action, but the pull from transpiration (the evaporation of water from the tree) that is used to pull water up from the roots. 

<span>The second question needs context. Strong bonds alone won't cause tension. I don't see how adhesion is different. High vapour pressure could do it, but it's the difference in pressures that'd cause tension (and the resistance of that pressure by the surface). So, a low and high pressure would be needed. Poorly worded question :( </span>

<span>1: "Adhesion is the tendency of certain dissimilar molecules to cling together due to attractive forces." [1] </span>

<span>3: The other three answere would not work. Think of a boat. </span>

<span>3: If you push gas, it will be compressed(get smaller). If you push liquid it will push something else. Thus, liquids are good for transferring force. This is a hydraulic system.</span>
4 0
3 years ago
According to the lecture, all of the following are defense mechanisms except __________.
Liula [17]
<span>According to the lecture, all of the following are defense mechanisms except: Moderate Exercise

A defense mechanism is the actions that people do as an excuse so they don't have to deal with their real problem. Moderate exercise on the other hands is the action that people do to maintain their health.</span>
4 0
4 years ago
Other questions:
  • Your digestive system has three main functions digestion, absorption and elimination. in which organ does absorption begin?
    10·2 answers
  • The eiffel tower is a steel structure whose height increases by 19.5 cm when the temperature changes from −8 to +42 °c. what is
    12·1 answer
  • The picture shown shows a practical application of
    8·1 answer
  • Two 18 x 21 x 25 mm rubber mounts are used to isolate the vibrational motion of a machine from its supports. A 420-N applied loa
    8·1 answer
  • The number that is used to show the value of one currency compared to another is called the __________. A. trade rate B. currenc
    6·1 answer
  • Answer quick and correct for 100 points plus brainliest
    5·2 answers
  • A hypothesis is an assumption or a best guess that
    12·2 answers
  • Suppose that you connect the terminals of two batteries of different emfs positive to positive and negative to negative (opposin
    13·1 answer
  • A less than youthful 82.6 kg physics professor decides to run the 26.2 mile (42.195 km) Los Angeles Marathon. During his months
    12·1 answer
  • Suppose you are an engineer building a road across a mountain. From a prudential point of view, it would be easier and cheaper t
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!