a. Suppose that a disk drive has 10,000 cylinders, numbered 0 to 9999. The driver is...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
a. Suppose that a disk drive has 10,000 cylinders, numbered 0 to 9999. The driver is currently serving a request at cylinder 1400. The queue of pending requests is, in the order received: 100, 1200, 900, 8000, 8100, 100, 8200, 1000, 4200 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 the following scheduling algorithms. (For the algorithms in which the head is in constant motion, indicate the direction in which you assume it is moving initially.) (1) FCFS (ii) SSTF (iii) SCAN (iv) C-LOOK [12 marks] [3 marks] b. Explain the purpose of the open() and close() operations. c. Briefly explain any two types of virtualization [4 marks] d. Allocation/replacement of frames among different processes can either be local or global. What do you understand by this? What could be a possible effect of using the later(global replacement) [6 marks] a. Suppose that a disk drive has 10,000 cylinders, numbered 0 to 9999. The driver is currently serving a request at cylinder 1400. The queue of pending requests is, in the order received: 100, 1200, 900, 8000, 8100, 100, 8200, 1000, 4200 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 the following scheduling algorithms. (For the algorithms in which the head is in constant motion, indicate the direction in which you assume it is moving initially.) (1) FCFS (ii) SSTF (iii) SCAN (iv) C-LOOK [12 marks] [3 marks] b. Explain the purpose of the open() and close() operations. c. Briefly explain any two types of virtualization [4 marks] d. Allocation/replacement of frames among different processes can either be local or global. What do you understand by this? What could be a possible effect of using the later(global replacement) [6 marks]
Expert Answer:
Answer rating: 100% (QA)
a Disk Scheduling Algorithms i FCFS FirstCome FirstServed Total distance moved 17300 cylinders Calculation The head moves through the requests in the order they arrive resulting in the following dista... View the full answer
Related Book For
Value at Risk The New Benchmark for Managing Financial Risk
ISBN: 978-0071464956
3rd edition
Authors: Philippe Jorion
Posted Date:
Students also viewed these programming questions
-
Let A, B be sets. Define: (a) the Cartesian product (A B) (b) the set of relations R between A and B (c) the identity relation A on the set A [3 marks] Suppose S, T are relations between A and B, and...
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
South Sea Baubles has the following (incomplete) balance sheet and income statement. a. What is shareholders' equity in 2013 and 2014? b. What is net working capital in 2013 and 2014? c. What are...
-
Determine the next pivot element for the tableau. 1. 2. 3. 4. y 4 -6 -2 -2 -2 1 1 -3 -3 -2 2 -2 4 1 1 1 -6 4
-
Consider the trash bag problem. Suppose that an independent laboratory has tested trash bags and has found that no 30-gallon bags that are currently on the market have a mean breaking strength of 50...
-
The Wide World of Fluids article titled "Giraffe's blood pressure,". (a) Determine the change in hydrostatic pressure in a giraffe's head as it lowers its head from eating leaves \(6 \mathrm{~m}\)...
-
Phillips, Inc., a cash basis C corporation, completes $100,000 in sales for year 1, but only $75,000 of this amount is collected during year 1. The remaining $25,000 from these sales is collected...
-
Provide a brief summary of the following websites: Atwood, C. G. (2020). Succession planning basics (2nd edition.). ATD Press. Retrieved from...
-
Marloweville, with 20,000 residents is deciding how to finance the construction of a new municipal stadium that will enhance both recreation and tourism in the area, The construction cost of the...
-
VPNs are one of the most popular methods to establish remote connections. A VPN appears to your computer as a regular network connection. It is actually a virtual connection, also called a tunnel,...
-
Simplify: 2x yz 6x-2yz
-
Using the labor market, production function. and AS/AD graphs of the classical model, show the effects of immigration (an increase in labor supply). What are the effects on real wages, the quantity...
-
A company granted 4 , 0 0 0 share options to each of its 6 directors on 0 1 January 2 0 2 2 on condition that that the directors would be in employment on 3 1 December 2 0 2 4 . The option will be...
-
All chemical propulsion systems, and some electric propulsion systems, rely on heat addition from either chemical reactions or heat transfer from an external source. We saw in class that heat...
-
Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 Q10 -Estimated number of hours per day you spend on surfing the Internet Do you have an account on Facebook What is the approximate number of connections (Family + Friends...
-
Kristen owns two properties that she doesnt want anymore. Property A she purchased for $20,000 and is now worth $14,000 and will likely decline in value over time. Property B she purchased for...
-
From a medical tourist perspective, compare Shouldice with the traditional hospital in terms of the key factors of competition. Using Table 15-3, why would Shouldice attract patients from outside the...
-
Backtesting is usually conducted on a short horizon, such as daily returns. Explain why.
-
The first known correct software solution to the critical-section problem for two processes was developed by Dekker. The two processes, P0 and P1, share the following variables: boolean flag[2]; /*...
-
Compare and contrast the techniques of caching disk blocks locally, on a client system, and remotely, on a server.
-
The swinging spring is an example of a two degree-of-freedom system with a cubic nonlinearity. Indicate whether the statement presented is true or false. If true, state why. If false, rewrite the...
-
The period of free vibrations of a nonlinear system depends upon initial conditions. Indicate whether the statement presented is true or false. If true, state why. If false, rewrite the statement to...
-
A mass attached to a linear spring sliding on a surface with Coulomb damping is an example of a nonlinear system. Indicate whether the statement presented is true or false. If true, state why. If...
Study smarter with the SolutionInn App