Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A file is stored on a LOOK scheduled disk system. The disk is 1 MB in size and has disk blocks of size 1 KB.

A file is stored on a LOOK scheduled disk system. The disk is 1 MB in size and has disk blocks of size 1 KB. The file is stored in sequential order in 4 disk blocks: 20, 500, 10, and 900. The last disk access was to block 51 and the directory entry for the file is stored in block 50. The first disk block is numbered block 0. A single block disk cache is present.

a. Suppose a linked disk allocation method is used. What is the total seek distance for reading the entire file from beginning to end?

b. Suppose a FAT allocation method is used in which the FAT is stored at the beginning of the disk and each FAT entry is 2 bytes. What is the total seek distance for appending and storing data in disk block 600 at the end of the file?

c. If a C-SCAN disk scheduler is used in part b, what is the total seek distance?

d. Suppose an indexed disk allocation method is used and the index block contains 1 byte direct entries. If the index is stored in block 55, what is the total seek distance for reading the entire file from beginning to end?

e. Suppose an indexed disk allocation method is used and the index block contains 1 byte direct entries. If the disk contains 100 files, what is the maximum size file possible (in bytes)?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases A Beginners Guide

Authors: Andy Oppel

1st Edition

007160846X, 978-0071608466

More Books

Students also viewed these Databases questions

Question

What are Decision Trees?

Answered: 1 week ago

Question

What is meant by the Term Glass Ceiling?

Answered: 1 week ago