Explain c-scan disk scheduling algorithm with example

Assignment Help JAVA Programming
Reference no: EM131934954

Assignment

Question One

"chmod" is a well known command line utility, that is used for manually managing the access and permissions to files and directories on MacOS, Linux and other Unix like operating systems. Explain how the file permissions are changed after executing this command:
$ chmod 624 SEUfile.txt

Question Two

Consider a file system on a disk that has both logical and physical block sizes of 512 bytes. Assume that the information about each file is already in memory. For each of the three allocation strategies (contiguous, linked, and indexed), answer these questions:

a. How is the logical-to-physical address mapping accomplished in this system? (For the indexed allocation, assume that a file is always less than 512 blocks long.)

b. If we are currently at logical block 10 (the last block accessed was block 10) and want to access logical block 4, how many physical blocks must be read from the disk?

Question Three

a) Explain the ways of disk attachments used by computers to access memory disk.

b) Explain C-SCAN disk scheduling algorithm with example?

Question Four

Suppose that a disk drive has 5,000 cylinders, numbered 0 to 4,999. Thedrive is currently serving a request at cylinder 2,150, and the previous request was at cylinder 1,805. The queue of pending requests, in FIFO order is as below:

2069, 1212, 2296, 2800, 544, 1618, 356, 1523, 4965, 3681

Starting from the current head position, what is the total distance (incylinders) that the disk arm moves to satisfy all the pending requestsfor each of the following disk-scheduling algorithms?

a) LOOK
b) C-LOOK.

Reference no: EM131934954

Questions Cloud

Statements regarding derivative securities : Which of the following statements regarding futures trading is incorrect? Which of the following statements regarding derivative securities is incorrect?
Describes how you would present the findings of the studies : A summary of the research articles and describes how you would present the findings of the studies for each of the five components.
Create powerpoint for the popcorn store : Use the following to create powerpoint for the Popcorn Store in Wheaton IL. Focus on how your project company does vs. competition on each point!
Convince the colonists that fighting for independence : How did Thomas Paine's Common Sense attempt to convince the colonists that fighting for independence was the only way to gain their liberty?
Explain c-scan disk scheduling algorithm with example : Explain the ways of disk attachments used by computers to access memory disk. Explain C-SCAN disk scheduling algorithm with example?
Episode of the ascent of man : Bronowski, in this week's episode of The Ascent of Man, describes the two great books that Galileo wrote late in his life:
Do you think the term victimless crime is misleading : Research the concept of "victimless crime" using the textbook, the Argosy University online library resources, and the Internet.
Statements regarding the net present value : Which of the following statements regarding the Net Present Value (NPV) is incorrect?
How should hrd be involved in shaping strategy : What is relationship between competitive strategy, external environment, and internal strategies in strategic process planning?

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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