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
devlian [24]
3 years ago
8

Suppose that a disk drive has 5,000 cylinders, numbered 0 to 4,999. the drive is currently serving a request at cylinder 2,150,

and the previous request was at cylinder 1,805. the queue of pending requests, in fifo order, is: 2069, 1212, 2296, 2800, 544, 1618, 356, 1523, 4965, 3681
Mathematics
1 answer:
Anni [7]3 years ago
4 0

Answer:

13011, 7586, 7492 , 7424, 9917, and 9137.

Step-by-step explanation:

(1). FCFS is generally based on what is refer to as first come, first serve. That is to say the first one to come will be treated first so, we have that;

FCFS = 81 + 857 + 1084 + 504 + 2256 + 1074 + 1262 + 1167 + 3442 + 1284 = 13011.

(2). (SSTF) Is all about the shortest distance, for example in this question the shortest distance is =

Thus;

Total distance = (2150 - 2069) + (2296 - 2069) + ( 2296 - 2800) +( 3681 - 2800) + (4965 - 3681) + ( 4965 - 1618) + ( 1618-1523) + ( 1523-1212) + ( 1212-544) + ( 544 - 356).

=81 + 227 + 504 + 881 + 1284 + 3347 + 95 + 311 + 668 + 188 = 7586.

(3).SCAN deals with the processing of the nearest request

The distance =146 + 504 +881 + 1284 + 34(4999-4965) + 2930(4999-2069) + 451 + 95 + 311 + 668 +188 = 7492.

(4). LOOK is just like scan.

The distance = 146 + 504 + 881 + 1284 + 2896 + 451 + 95 + 311 + 668 + 188 = 7424.

(5). C-SCAN: this is the kind of scan from one end to the other.

The distance = 146 + 504 +881 +1284 + 34 (4999 - 4965) + 4999 (4999 -0 )+ 356 (356 -0 )+ 188 + 668 + 311 + 95 + 451 = 9917.

(6). C-LOOK : moves in the following order: 2150, 2296, 2800, 3681, 4965, here head moves back 356, 544, 1212, 1523, 1618, 2069.

Thus;

The distance = 146 + 504 + 881+ 1284 + 4609 (4965 - 356) + 188 + 668 + 311+ 95 + 451 = 9137.

You might be interested in
Write an equivalent expression using Distributive property. <br> 28 + 42<br> ( How did you solve)
kupik [55]

Answer:

the answer is 7(4 +6)

Step-by-step explanation:

24 + 42

7(4 + 6)

5 0
3 years ago
CONVERTING METRIC UNITS - LENGTH WEIGHT &amp; VOLUME 1
zzz [600]

Answer:

2 KM 2 L 2 KG I dont know the rest i figured i could help someone but thats all i can do at the moment sorry i might come back to finish it later.

Step-by-step explanation:

4 0
3 years ago
The sum of 3 times a number and 6 is 8.
Anastaziya [24]

Answer:

The number is 4/9

Step-by-step explanation:

3(6*(4/9))=3*(2+(2/3))=8

7 0
3 years ago
Read 2 more answers
2. Starting at a fixed time, each car entering an intersection is observed to see whether it turns left (L), right (R), or goes
jasenka [17]

Answer:

Natural numbers (integers greater than zero)

X = 3,  5,  4,  4,  3

Step-by-step explanation:

The least number of cars that can be observed in this experiment is 1, if the first car turns left. On the other hand, the experiment could go on forever if no car ever turns left, thus the highest number of cars approaches infinite.

The possible values of X are integers greater than zero, which are known as the Natural numbers.

If X = number of cars observed, simply count the number of letters in each outcome for the value of X:

Outcome = RRL, AARRL, AARL, RRAL, ARL

            X = 3,  5,  4,  4,  3

7 0
3 years ago
Please help as soon as possible!
AnnZ [28]

Answer:

D

Step-by-step explanation:

The equation of a line in slope- intercept form is

y = mx + c ( m is the slope and c the y- intercept )

To calculate m use the slope formula

m = ( y₂ - y₁ ) / (x₂ - x₁ )

with (x₁, y₁ ) = (3, 6) and (x₂, y₂ ) = (8, 4)

m = \frac{4-6}{8-3} = - \frac{2}{5}, hence

y = - \frac{2}{5} x + c ← is the partial equation

To find c substitute either of the 2 points into the partial equation

Using (8, 4), then

4 = - \frac{16}{5} + c ⇒ c = 4 + \frac{16}{5} = \frac{36}{5}

y = - \frac{2}{5} x + \frac{36}{5} ← equation of line

6 0
3 years ago
Read 2 more answers
Other questions:
  • The legs of a right triangle measure 5√2 cm and 4√2 cm. Find the area.
    9·2 answers
  • A life insurance policy costs $6.88 for every $1,000 of insurance at this rate what is the cost for $17,500 worth of life insura
    7·2 answers
  • The staff takes 1/2 of an hour to assemble 1/7 of the booths for a carnival. How long does it take the staff to assemble all of
    11·2 answers
  • Mega middle school had a valentine dance four fifths of the students plus 7 teachers were there if there was 495 people at the d
    15·1 answer
  • Sam is conducting a science experiment about the effects of fertilizer on the growth of a plant. In week 1, his plant grew 12.26
    9·1 answer
  • The cost to manufacture x pairs of sunglasses can be represented by a function, C(x). If it cost 398 to manufacture 4 pairs of s
    14·1 answer
  • Find the slope <br> Plz help
    10·1 answer
  • Find the volume of the composite solid.<br> 4 ft<br> 3 ft<br> 6 ft<br> 13<br> 6 ft
    10·2 answers
  • Which of the following equations has a slope of -3 and a y-intercept of 8? *
    8·1 answer
  • Which of the following does NOT represent a student learning at the rate of 15 vocabulary words in 30 minutes
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!