Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

EXERCISE#3 Estimate the overhead of inserting (adding) a new block, using the number of the necessary disk accesses, in an existing file using the contiguous,

image text in transcribed
EXERCISE#3 Estimate the overhead of inserting (adding) a new block, using the number of the necessary disk accesses, in an existing file using the contiguous, linked-list, and index allocation methods for the following cases: Contiguous Linked-List Index 1st sector Nth (NsM sector Use the following assumptions: (1) Use the same assumptions we used for EXERCISE #2. (2) The target file consists of M data blocks (M sectors). (3) Writing a sector requires the OS one disk access. (4) Each file directory fits to a disk sector. (5) For the index allocation method, the index fits to a disk sector. EXERCISE#4 Estimate the overhead of deleting an existing data bock (using "Big-O notation") from a file using the contiguous, linked-list, and index allocation methods for the following cases: Contiguous Linked-List Index 1st sector N-th (N M) sector Note: Use the same assumptions we used for EXERCISE #2 and #3. EXERCISE #5 Compare the contiguous, linked-list, and index storage-space (sectors) allocation methods for access speed. ContiguousLinked-List Index Reading a data block Inserting a data block Deleting a data block Reading an entire file Note: Compare by specifying: "best", almost best", "2nd best", "worst", and "depend" EXERCISE#3 Estimate the overhead of inserting (adding) a new block, using the number of the necessary disk accesses, in an existing file using the contiguous, linked-list, and index allocation methods for the following cases: Contiguous Linked-List Index 1st sector Nth (NsM sector Use the following assumptions: (1) Use the same assumptions we used for EXERCISE #2. (2) The target file consists of M data blocks (M sectors). (3) Writing a sector requires the OS one disk access. (4) Each file directory fits to a disk sector. (5) For the index allocation method, the index fits to a disk sector. EXERCISE#4 Estimate the overhead of deleting an existing data bock (using "Big-O notation") from a file using the contiguous, linked-list, and index allocation methods for the following cases: Contiguous Linked-List Index 1st sector N-th (N M) sector Note: Use the same assumptions we used for EXERCISE #2 and #3. EXERCISE #5 Compare the contiguous, linked-list, and index storage-space (sectors) allocation methods for access speed. ContiguousLinked-List Index Reading a data block Inserting a data block Deleting a data block Reading an entire file Note: Compare by specifying: "best", almost best", "2nd best", "worst", and "depend

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

Larry Ellison Database Genius Of Oracle

Authors: Craig Peters

1st Edition

0766019748, 978-0766019744

More Books

Students also viewed these Databases questions

Question

9. System creates a large, diverse talent pool.

Answered: 1 week ago