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
Find a value of x that makes the equation true:<br> -(-2x + 1) = 9 – 14x
luda_lava [24]

Answer:

x=0.625

Step-by-step explanation:

-(-2x+1)=9-14x

distribute:

2x-1=9-14x

add  1 to both sides

2x = 10-14x

add 14x to both sides

16x=10

divide by 16 to isolate x

x = 0.625

check:

-(-2(0.625)+1) = 9-14(0.625)

0.25 = 0.25

5 0
2 years ago
Read 2 more answers
aul bought 9 total shirts for a total of $72. Tee shirts cost $10 and long sleeve shirts cost $7. How many of each type of shirt
vodomira [7]

Set up a system of equations:


\text{Total shirts bought}

x + y = 9


\text{Total cost}

10x + 7y = 72


x represents how many tee shirts were bought, and y represents how many long sleeve shirts were bought.


For the first equation, subtract y from both sides to get x by itself:


x = 9 - y


We'll now use substitution. Since x is equal to a value, we can substitute this value for the other equation:


10(9-y) + 7y = 72


Distribute the 10 to both terms in parentheses:


10 \times 9 = 90

10 \times -y = -10y


90 - 10y +7y = 72


Combine like terms:


-10y + 7y = -3y

90 - 3y = 72


Subtract 90 from both sides:


-3y = -18


Divide both sides by -3 to get y by itself:


y = 6


6 long sleeve shirts were bought.


Now you have a value for y. Input this value into the first equation:


x + 6 = 9


Subtract both sides by 6 to get x by itself:


x = 3


3 tee shirts were bought.


The answer is B. 3 tee shirts and 6 long sleeve shirts.

4 0
3 years ago
Read 2 more answers
30 POINTSSS!!!!
NARA [144]
The answers are B and C
3 0
3 years ago
Read 2 more answers
Sometimes life is tricky.
skad [1K]

thanks for the message !!

3 0
2 years ago
Read 2 more answers
QUESTION 9.1 POINT
Rainbow [258]

Answer:

120 different color  combinations are possible.

Step-by-step explanation:

The order in which the color are chosen is not important(blue, green and red is the same outcome as red, blue, green), which means that the combinations formula is used to solve this question.

Combinations formula:

C_{n,x} is the number of different combinations of x objects from a set of n elements, given by the following formula.

C_{n,x} = \frac{n!}{x!(n-x)!}

In this question:

3 colors from a set of 10, so:

C_{10,3} = \frac{10!}{3!7!} = 120

120 different color  combinations are possible.

5 0
3 years ago
Other questions:
  • Let r represent roys driving speed in miles per hour .write an expression to show the total distance Roy will have driven in 2 h
    7·1 answer
  • Measure of the angle
    8·2 answers
  • WILL GIVE BRAINLEST!!!!!!!!!!!!!!! The three graphs represent the types of solutions that are possible for a system of equations
    8·1 answer
  • What is - 3/8 ÷ 2 2/3​
    7·2 answers
  • A city has a 5% sales tax.
    7·1 answer
  • <img src="https://tex.z-dn.net/?f=2%20%20%7B%7D%5E%7B3%7D%20%20%5Ctimes%202%20-%20%20%7B%7D%5E%7B3%7D%20%20" id="TexFormula1" ti
    10·2 answers
  • The class has 13 students. How many possible groups<br> are there?
    8·1 answer
  • The circumference of a circle is 50.24 meters.
    6·2 answers
  • The price of a 7-minute phone call is $1.75. What is the price of a 13 minute phone call?
    10·1 answer
  • Gustavo is in a contest where he will win one of four possible prizes. he creates a four-part spinner to represent the four priz
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!