ESSENTIALS OF COMPUTER ORGAN..-TEXT
ESSENTIALS OF COMPUTER ORGAN..-TEXT
4th Edition
ISBN: 9781284033144
Author: NULL
Publisher: JONES+BART
Expert Solution & Answer
Book Icon
Chapter 11, Problem 19E

Explanation of Solution

Performance:

  • The speed of the CPU is a key factor that often decides the performance of the system.
  • Disk access speed is considered to be another factor that is used to determine the performance.
  • The read write operation that is performed on the disk (milliseconds) is considered to take significantly longer access time in comparison with that of the operation that is performed in a CPU (nanoseconds).
  • To improve the performance of the disk access they are different ways present.
  • The algorithm that determines the order in which the data access made in the disk will be beneficial is calculated.

Given:

It is know that there are 100 tracks that are ranged from 0 to 99.

At the beginning the disk arm is considered to be at the position 50 and it will getting move through and towards the lower numbered tracks.

The service request order is as follows 54, 36,21,74,46,35,26,67.

Disk traversed using FCFS (First come First Serve):

The service request is being handled in the way they are being received:

Service requestAccess madeNumber of access
5450-544
3654-3618
2136-2115
7421-7453
4674-4628
3546-3511
2635-269
6726-6741
Total number of disk access179

Therefore, total number of disk access required is “179”.

Disk traversed using SSTF (Shortest Seek Time First):

  • The service request that are from the nearest of the sector to that of the current position of the disk arm are being handled on priority.
  • The list is processed to be generated in the way from the current position of the disk arm and the instances of the next nearest access are being obtained at every instance.
Service requestAccess that is nearestAccess madeNumber of access
505450-544
544654-468
463646-3610
363536-351
352635-269
262126-215
216721-6746
677467-747
Total number of disk access90

Therefore, total number of disk access required is “90”...

Blurred answer
Students have asked these similar questions
Please answer JAVA OOP problem below: Assume you have three data definition classes, Person, Student and Faculty. The Student and Faculty classes extend Person.  Given the code snippet below, in Java, complete the method determinePersonTypeCount to print out how many Student and Faculty objects exist within the Person array. You may assume that each object within the Person[] is either referencing a Student or Faculty object.   public static void determinePersonTypeCount(Person[] people){   // Place your code here }
Please answer JAVA OOP question below: Consider the following  relationship diagram between the Game and VideoGame data defintion classes.   Game has a constructor that takes in two parameters, title (String) and cost (double). The VideoGame constructor has an additional parameter, genre (String). In Java, efficiently write the constructors needed within the Game class and VideoGame classes. Hint: Remember to think about the appropriate validation
In a shopping cart, there are various items, which can either belong to the category of household items or electronic items. The following UML diagram illustrates the relationship between items, household items, and electronic items.   //Implementation Class public class ShoppingCart{             public static void main(String[] args){             final int MAX_ITEM = 50;             Item cart = new Item[MAX_ITEM];             addItem(cart); // populate the item array            printItem(cart);      } } Considering that all the data definition classes and the implementation class are complete, which of the following Object-Oriented Programming (OOP) concepts do you need to use in the above context? i) Polymorphism ii) Method Overloading iii) Method Overriding iv) Dynamic Binding v) Abstract Class Explain, using course terminology, how you would use any of the above concepts to model the given scenario.
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education