Write a program that will simulate the fcfs and sste

Assignment Help Basic Computer Science
Reference no: EM131487727

Question: Write a program that will simulate the FCFS and SSTE Seek optimization strategies. Assume that:

a. The disk`s outer track is the 0 track and the disk contains 200 tracks per surface. Each track holds eight sectors numbered 0 through 7.

b. A seek takes 10 + 0.1*T ms, where T is the number of tracks of motion from one request to the next, and 10 is a movement time constant.

c. One full rotation takes 8 ms.

d. Transfer time is 1 ms.

Use the following data to test your program:

Arrival Time         Track Requested         Sector Requested
0                                45                              0
23                             132                              6
25                              20                               2
29                              23                               1
35                             198                              7
45                             170                              5
57                             180                              3
83                              78                              4
88                              73                              5
95                             150                             7


o For comparison purposes, compute the average, variance, and standard deviation of the time requires under each of the strategies.

Consolidate your results into a table.

o You need to upload your source code files, a sample input file, and screen shots of all corresponding results for the input file.

Reference no: EM131487727

Questions Cloud

What is the pre-industrial concept of quality : What is the pre-industrial concept of quality, and what is the future concept of quality?
Illustrate nature of internal control over acquisition cycle : illustrates the nature of internal control over the acquisition cycle and the way in which auditors assess control risk for this cycle.
Discuss about the business intelligence : Write a research paper in APA format on a subject of your choosing that is related to Business Intelligence.
Apply to a work environment : What were the most interesting parts that you will be able to apply to a work environment? Why?
Write a program that will simulate the fcfs and sste : The disk`s outer track is the 0 track and the disk contains 200 tracks per surface. Each track holds eight sectors numbered 0 through 7.
How is justice hindered in courtrooms across the world : How is justice hindered in courtrooms across the world through racism, prejudice and stereotyping through the trials
Find an article online about the cyber security : Write an overview of what the article was about, what did you like about it, what didn't you like, what did you find interesting, etc.
Discuss what type or types of products liability claim : Discuss what type or types of products liability claim, if any, would be applicable here. Does it matter that he did not purchase the hoverboard himself
Research a cybercrime : Describe what happened in detail. Who was behind it, what happened, was there a resolution? Your thoughts about it.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd