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
Neko [114]
4 years ago
5

Suppose that a disk drive has 5,000 cylinders, numbered 0 to 4999. The drive is currently serving a request at cylinder 2150, an

d the previous request was at cylinder 1805. The queue of pending requests, in FIFO order, is: 2069, 1212, 2296, 2800, 544, 1618, 356, 1523, 4965, 3681 Starting from the current head position, what is the total distance (in cylinders) that the disk arm moves to satisfy all the pending requests for each of the following disk-scheduling algorithms?
a. FCFS
b. SSTF
c. SCAN
d. LOOK
e. C_SCAN
f. C_LOOK
Computers and Technology
1 answer:
RUDIKE [14]4 years ago
6 0

Answer:

a. FCFS

Explanation:

You might be interested in
Five jobs arrive nearly simultaneously for processing and their estimated CPU cycles are, respectively: Job A = 2 ms, Job B = 12
Paha777 [63]

<u>This is an example with solution:</u>

Five jobs arrive nearly simultaneously for processing and their estimated CPU cycles are, respectively: Job A = 12, Job B = 2, Job C = 15, Job D = 7, and Job E = 3 ms.

a. Using FCFS, and assuming the difference in arrival time is negligible, in what order would they be processed? What is the total time required to process all five jobs? What is the average turnaround time for all five jobs?

Answer: The order of processing for the given jobs = A->B->C->D->E.

Total time needed to process all the jobs = 12+2+15+7+3 = 39 ms.

Turn around time for job A = 12 ms.

Turn around time for job B = 15 ms.

Turn around time for job C = 30 ms.

Turn around time for job D = 37 ms.

Turn around time for job E = 40 ms.

Answer : Therefore, the average turnaround time = (12+15+30+37+40)/5 = 26.8 ms.

7 0
3 years ago
Describe the six clauses in the syntax of an SQL retrieval query. Show what type of constructs can be specified in each of the s
mash [69]

Answer:

A query in SQL consists of up to six clauses.

There are presently six clauses that you can utilize in an SQL statement. These six clauses in no particular order are SELECT, FROM, WHERE, GROUP BY, HAVING, and ORDER BY. These clauses have to be coded in a precise sequence.

Explanation:

• SELECT < attribute list >

• FROM < table list >

• [ WHERE < condition > ]

• [ GROUP BY < grouping attributes (S) > ]

• [ HAVING < group condition > ]

• [ ORDER BY < attribute list > ]

you must also note that; You will have to connect to a database before you can utilize the SQL statements to query or manipulate data.

7 0
4 years ago
Try my game? https://scratch.mit.edu/projects/589314237
Mama L [17]

Answer:

ok :)

Explanation:

3 0
3 years ago
Read 2 more answers
#Write a function called "in_parentheses" that accepts a
zimovet [89]

Answer:

import regex as re

def in_parentheses(a_string):

   regeX = re.compile(".*?\((.*?)\)")

   result = re.findall(regeX, a_string)

   return str(result).replace("[","").replace("]","")

print("test 1: "+in_parentheses("Open ( only"))

print("test 2: "+in_parentheses("This is a sentence (words!)."))

8 0
4 years ago
If Pam clicks Rotate Right on the Drawing toolbar twice, how many degrees will her image rotate?
zhuklara [117]
180 degrees
(90•2=180)
5 0
4 years ago
Other questions:
  • Which statement below correctly differentiates between frames and bits? Frames have more information in them than bits. Frames a
    10·2 answers
  • How does a hard drive work
    14·1 answer
  • Given the macro definition and global declarations shown in the image below, provide answers to the following questions:
    5·1 answer
  • By using the internet, your company can obtain discounts thorugh...
    15·2 answers
  • An investment website can tell what devices are used to access the site. The site managers wonder whether they should enhance th
    10·1 answer
  • What file does a aac run under
    11·1 answer
  • True/False: not is evaluated first; and is evaluated next; or is evaluated last.
    13·1 answer
  • Timmy walks into a store to buy a PC game. He reads this information about a game on its packaging:
    7·1 answer
  • In a computer-controlled greenhouse, a temperature sensor and a window motor are connected to the computer.
    10·1 answer
  • An Accenture healthcare client is interested in implementing an Artificial Intelligence (AI) solution to improve patient care, b
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!