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
The volume of a large tank is 210 ft3. It is 5 3/5
IRISSAK [1]

Answer:

20 5/6 ft

Step-by-step explanation:

5 3/5 = 28/5

1 4/5 = 9/5

V = l * w * h

210 = l * 28/5 * 9/5

210 = l * 252/25

multiply both sides by 25/252

5250/25 = l

Reduce

20 5/6 = l

20 5/6 ft

6 0
3 years ago
1) Suppose the heights of 18-year-old men are approximately normally distributed, with mean 71 inches and standard deviation 5 i
Luba_88 [7]

Answer:

Suppose the heights of 18-year-old men are approximately normally distributed, with mean 71 inches and standard deviation 4 inches.

(a) What is the probability that an 18-year-old man selected at random is between 70 and 72 inches tall? (Round your answer to four decimal places.)

z1 = (70-71)/4 = -0.25

z2 = (72-71/4 = 0.25

P(70<X<72) = p(-0.25<z<0.25) = 0.1974

Answer: 0.1974

(b) If a random sample of thirteen 18-year-old men is selected, what is the probability that the mean height x is between 70 and 72 inches? (Round your answer to four decimal places.)

z1 = (70-71)/(4/sqrt(13)) = -0.9014

z2 = (72-71/(4/sqrt(13)) = 0.9014

P(70<X<72) = p(-0.9014<z<0.9014) = 0.6326

Answer: 0.6326

please mark me the brainiest

3 0
2 years ago
Paul finished his 800 meter race in 2 minutes and 2 seconds. Jeff finished in 121 seconds. Who finished first? (PLESES SHOW WORK
elixir [45]

Answer:

Jeff finished first

Step-by-step explanation:

To solve this equation, I can either converts 2 minutes 2 seconds to seconds or convert 121 seconds to minutes

<u><em>CONVERT 2 MINUTES 2 SECONDS TO SECONDS</em></u>

60 seconds = 1 minutes

to convert 2 minutes 2 seconds to seconds, multiply 2 minutes by 60 and then add 2 seconds to it

2 x 60 = 120 seconds

120 seconds + 2 seconds = 122 seconds

Paul finished in 122 seconds while Jeff finished in 121 seconds. Jeff finished first

<u><em>CONVERT 121 SECONDS TO MINUTES</em></u>

60 seconds = 1 minutes

To convert 121 seconds to minutes, we have to divide by 60

121/60 = 2 minutes 1 second

Paul finished the race in 2 minutes 2 seconds while eff finished the race in 2 minutes 1 second. Jeff finished first

6 0
3 years ago
What mathematical operation do you use to solve to waist to hip ratio
scoray [572]
Divition is the answer 
Ex. a/b = a:b
5 0
3 years ago
• Machine s is cleaned every 12 weeks. •Machine that is cleaned every 8 weeks. What is the fewest number of weeks that will pass
vfiekz [6]
Week 24,assuming that both machines are cleaned at week 0, because multiples of 12 are 12, 24,36. And multiples of 8 are 8, 16, 24. 24 is also the LCM.
7 0
3 years ago
Other questions:
  • One watermelon from the supermarket costs $4. Danielle wants to buy several watermelons for a family picnic. She cannot spend mo
    14·1 answer
  • Which is the more reasonable temperature for a snowy day: 30° C or 30° F?
    9·2 answers
  • Jade ran 6 times around her neighborhood to complete a total of 1 mile. How many times will she need to run to complete 5/6 of a
    15·2 answers
  • Abel is making brownies for a bake sale
    11·1 answer
  • PLEASE ANSWER FAST! 20 POINTS+BRAINLIEST!!!
    12·2 answers
  • 7ab=c solve for a. Answer
    7·1 answer
  • What is the value of y?
    8·1 answer
  • Seth runs 420 meters in 1 minute. what is his speed in mph?​
    14·1 answer
  • Admission to the county fair is $15, and each ride ticket costs $1.75. Write an expression to describe the total cost of 8 rides
    13·1 answer
  • Jasper wants to buy 4kilograms of nails and 4kilograms of standard washers .How much will hespend? rivets $0.69 per kg​ nails $0
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!