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
Luden [163]
3 years ago
10

A disk takes 1 ms per track seek time, and the head is currently on track 70. Assume it takes 5 ms to service a request once the

head is at the right track. The following set of requests are pending, given as (ID, track) in order of arrival.How much time does it take to service all the requests if the Elevator algorithm is used and the current direction is down?
Computers and Technology
1 answer:
Andreyy893 years ago
7 0

Answer:

Total time = 190 ms

Explanation:

The requests missing in question are:

Requests ( A, 80) , (B,75) , (C,82) , (D,90) , (E,45)

Number of movements = | 70 - 45 | +  | 45 - 0 | +  | 0 - 75 | +  | 75 - 80 | +  | 80 - 82 | +  | 82 - 90 |

= 35 + 45 + 75 + 5 + 2 + 8

= 70 + 80 + 10

= 160

Time taken for seek = 160 * 1 ms = 160 ms

Time taken for servicing request = Number of tracks * Time for each track = 5*6 = 30

Total time = 160 + 30 = 190 ms.  

You might be interested in
A ________ is a collection of forms, reports, queries, and programs that serves as an intermediary between users and database da
aniked [119]
<span>With the use of a database application people can store and retrieve large quantities of data almost instantaneously. Database applications can also be used to present the information in easy to read and understand forms. Database applications serve as an intermediary between the raw data and a user, making it easier to sort and use the data.</span>
5 0
3 years ago
Which technology concept uses computer resources from multiple locations to solve a common problem?
MrRa [10]
Sounds like you are talking about Grid computing. You can also say cloud computing since that is the buzz words nowadays, but cloud computing is a very general statement.
5 0
4 years ago
Read 2 more answers
Why are mobile apps often easier to develop than desktop apps?
Karo-lina-s [1.5K]

Answer:

Mobile app creation platforms are available that reduce the need to code.

Explanation:

Simple app creation softwares and tools are all over the place for mobile app creation. To create a mobile app, no coding knowledge or experience is needed unlike desktops apps that requires the knowledge of some coding languages like python, JavaScript etc.

The availability of these softwares and platforms have made mobile apps creation easy.

6 0
3 years ago
Which of the following is used by credit card companies to determine APR?
kodGreya [7K]
Prime rate + credit history (APEX)
4 0
3 years ago
Read 2 more answers
If you create and invoke a recursive function without accounting for a base case, what can go wrong?
oksian1 [2.3K]

Every recursive function should have an exit criterion (=handling the base case) to exit the recursion.

Without it, it wil recurse forever, until system resources run out (typically the call stack will overflow and your program will crash).

6 0
3 years ago
Other questions:
  • What is one visual indication that a usb port can be used to charge a mobile device?
    13·1 answer
  • An undesirable jagged appearance is referred to as
    7·2 answers
  • The source code of a java program is first compiled into an intermediate language called java ____, which are platform-independe
    8·1 answer
  • Write a function shampoo_instructions() with parameter num_cycles. If num_cycles is less than 1, print "Too few.". If more than
    7·1 answer
  • What is the importance of Mathematical Modeling in the field of bioinformatics.
    8·1 answer
  • Select the correct answer.
    11·1 answer
  • What are tributaries
    15·2 answers
  • What does RFID use for wireless communication?<br> Infrared<br> IoT<br> Smart chip<br> Tag
    14·1 answer
  • A simulation system is a technology that enables you to take over a customer’s screen, mouse, or other connected device in order
    13·1 answer
  • Create a text file content.txt and copy-paste following text (taken from Wikipedia) into it: A single-tasking system can only ru
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!