answer.
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]
2 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]2 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
there are 6 grams of fat per serving of granola. each serving provides 180 calories. what percentage of these calories is from f
expeople1 [14]

<span>There are 6 grams of fat per serving in granola. </span>
<span>Each serving provides 180 calories. </span>
<span>There are 9 calories of fat in each gram. </span>
<span>The percentage of calories from fat in granola is? </span>
<span>
30% </span>
7 0
2 years ago
The area of the conference table in Mr. Nathan’s office must be no more than 175 ft2. If the length of the table is 18 ft more t
Usimov [2.4K]
 The answer to the question is 300 square feet
4 0
2 years ago
Bill is saving for his son's college education. If the savings account earns 5% interest compounded monthly, and he wants to hav
Otrada [13]

Total money that will be in the account in 10 years = 45000

Time period = 10 years

Rate of interest = 5% or 0.05

n = 12 (number o times the money is compounded)

Let the principal (p) be = x

Formula for compound interest = A=p(1+\frac{r}{n})^{nt}

Putting the values in the formula we get,

45000=x(1+\frac{0.05}{12})^{10*12}

45000=x(\frac{12+0.05}{12})^{120}

45000=x(1.004)^{120}

45000=1.614x

x=27881.04

Hence, the principle amount should be approximately $27881.

6 0
2 years ago
Read 2 more answers
If 50 pounds of weight is located at point x and 100 pounds at point z, how much weight must be located at point y to balance th
Troyanec [42]
It will have to be 50
6 0
2 years ago
Read 2 more answers
On the way to school, a student rides his bike to the bus stop. He then waits a few minutes for the bus to come and rides the bu
andriy [413]

Answer:

No, the graph is only increasing while the student rides his bike, rides the bus, and walks. It is stays the same while he waits for the bus and when the bus stops to let him off.

Step-by-step explanation:

3 0
2 years ago
Read 2 more answers
Other questions:
  • Before she started hiking, Jessica’s altimeter read +250 meters. She climbed 200 meters and reached point A, which is at an elev
    14·2 answers
  • A record album is 3/16 of an inch thick. How many albums can be stacked to fit in a box 12 inches high? Please show me how you g
    9·1 answer
  • The following section is a statement from the rental agreement at a local auto rental agency. “Upon checkout, the fuel level of
    7·2 answers
  • Christopher bought a new watch at the store when they were having a 20\%20%20, percent off sale. If the regular price of the wat
    15·2 answers
  • Joann has decided to purchase a new car. What should she do next according to the decision-making process?
    8·1 answer
  • Initially, there were only 197 weeds at a park. The weeds grew at a rate of 25% each week. The following function represents the
    15·2 answers
  • Sara needs 40 inches of yarn to glue onto each of 25 picture frames. She has a ball of yarn with a total of 950 inches. Which of
    6·3 answers
  • Tim throws a stick straight up in the air from the ground. The function h = –16t2 + 48t models the height, h, in feet, of the st
    13·2 answers
  • Amir drove from Jerusalem down to the lowest place on Earth, the Dead Sea, descending at a rate of 12 meters per minute. He was
    15·2 answers
  • Charlie is planning a trip to Madrid. He starts with $984.20 in his savings account and uses $381.80 to buy his plane ticket. Th
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!