Question

Suppose that a file requires 20 blocks to be stored in disk. For each of the...

Suppose that a file requires 20 blocks to be stored in disk. For each of the following allocation strategies( contiguous, linked, indexed), determine the number of disk block we need to read to bring in block 7 into memory after reading the file’s directory header?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Contiguous Allocation => 1 Block

  • As directly will be having starting block and length, we can directly calculate the block address to be accessed.

Linked Allocation => 7 Blocks

  • We need to go block by block in linked allocation as directory will be having header block address only and then each block will be having subsequent block address.

Indexed => 2 Blocks

  • First Index Block
  • Second 7th Block
Add a comment
Know the answer?
Add Answer to:
Suppose that a file requires 20 blocks to be stored in disk. For each of the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT