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
Nonamiya [84]
3 years ago
9

Disk requests come in to the disk driver for cylinders 10, 22, 20, 2, 40, 6, and 38, in that order. A seek takes 6 msec per cyli

nder. How much seek time is needed for: (a) First-come, first served (b) Closest cylinder next (c) Elevator algorithm (initially moving upward) In all cases, the arm is initially at cylinder 20.
Mathematics
1 answer:
m_a_m_a [10]3 years ago
3 0

Answer:

a) 876 ms

b) 360 ms

c) 348 ms

Step-by-step explanation:

a) When using the  First-come, first serve order, the starts at the initial cylinder  and is served in the same order as it arrives.

For  First-come, first serve, the order is served from (20), 10, 22, 20, 2, 40, 6, and 38.

Seek time = 10 + 12 + 2+ 18 + 38 + 34 + 32 = 146 cylinder

The request uses 146 cylinders, therefore the seek time = 146 cylinder * 6 ms/cylinder = 876 ms

b) When using the Closest cylinder next the  request starts at the initial cylinder  and is served using the shortest movement from current position.

For Elevator algorithm, the order is served from (20), 20, 22, 10, 6, 2, 38, 40

Seek time = 0 + 2 + 12+ 4 + 4 + 36 + 2 = 60 cylinder

The request uses 146 cylinders, therefore the seek time = 60 cylinder * 6 ms/cylinder = 360 ms

c) When using the Elevator algorithm the  request starts at the initial cylinder and moves upwards, then reverses direction.

For  Closest cylinder next, the order is served from (20), 20, 22, 38, 40, 10, 6, 2

Seek time = 0 + 2 + 16+ 2 + 30 + 4 + 4 = 58 cylinder

The request uses 146 cylinders, therefore the seek time = 58 cylinder * 6 ms/cylinder = 348 msa) When using the  First-come, first serve order, the starts at the initial cylinder  and is served in the same order as it arrives.

For  First-come, first serve, the order is served from (20), 10, 22, 20, 2, 40, 6, and 38.

Seek time = 10 + 12 + 2+ 18 + 38 + 34 + 32 = 146 cylinder

The request uses 146 cylinders, therefore the seek time = 146 cylinder * 6 ms/cylinder = 876 ms

b) When using the Closest cylinder next the  request starts at the initial cylinder  and is served using the shortest movement from current position.

For Elevator algorithm, the order is served from (20), 20, 22, 10, 6, 2, 38, 40

Seek time = 0 + 2 + 12+ 4 + 4 + 36 + 2 = 60 cylinder

The request uses 146 cylinders, therefore the seek time = 60 cylinder * 6 ms/cylinder = 360 ms

c) When using the Elevator algorithm the  request starts at the initial cylinder and moves upwards, then reverses direction.

For  Closest cylinder next, the order is served from (20), 20, 22, 38, 40, 10, 6, 2

Seek time = 0 + 2 + 16+ 2 + 30 + 4 + 4 = 58 cylinder

The request uses 146 cylinders, therefore the seek time = 58 cylinder * 6 ms/cylinder = 348 ms

You might be interested in
19 1/2 is 3/4 of what number?
steposvetlana [31]

Answer:

19.5 = 0.75x

x = 26

I hope this finds you well and have a great day.

7 0
3 years ago
What are the steps to solve this problem? -16=-7 b/2
skelet666 [1.2K]

-16 = -7b/2

-7b = -32

b=32/7

3 0
4 years ago
I have to write it in standard form and expanded form <br> Plz help me
natulia [17]

Answer:

hope it helps youuuuuuuu

7 0
3 years ago
in jillians garden there are 3 rows of carrots 2 rows of string beans and 1 row of peas there are 8 plants in each row how many
aleksklad [387]
There are twenty plants in the garden
8 0
3 years ago
Read 2 more answers
Steven’s new cell phone plan charges a flat monthly fee of $24. The plan allows an unlimited number of text messages, but each m
earnstyle [38]
The amount he pays per month can be represented by
24 + .15m
5 0
3 years ago
Other questions:
  • 19 to 17 ratio in simplest form
    10·2 answers
  • How to write 3 thousand 16 tens 7 ones in standard form
    6·1 answer
  • Please helpp me do this...
    7·1 answer
  • I need help. I will give brainliest to a correct answer. The question is the image attached.
    9·2 answers
  • Which regression line properly describes the data relationship in the scatterplot? On a graph, a trend line has a positive slope
    13·2 answers
  • Factor the expression using GCF 10v + 12u
    5·1 answer
  • How do I divide decimals?​
    9·1 answer
  • Two tugboats that are 118 ft apart pull a barge, as shown. If the length of one cable is 206 and the length of
    11·1 answer
  • Graphing Quadratic Functions (help please )
    11·1 answer
  • Solve the following system of equations using substitution <br> x = 4 <br> 2x + 4y = 36
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!