Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to calculate this question~~!!

Status
Not open for further replies.

lgf862005

Newbie level 2
Joined
Jun 6, 2010
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,298
Consider a file currently consisting of 60 data blocks. Assume that the file ‘() directory entry file control block (and the index block, in the case of indexed allocation) are already in memory. Calculate how many disk I/O operations are required for contiguous, linked, and indexed (single level) allocation strategies. If, for one block, the following conditions hold. In the contiguous-allocation case, assume that there is room to grow in the beginning, but there is NO room to grow in the end. Assume that the block information to be added is stored in memory. I/O required for directory, index block and FCB updates can also be ignored. In the case for linked, there are data block pointers to the last block.
a. The block is added at the beginning.
b. The block is added after the 30th block.
c. The block is added at the end.
d. The block is removed from the beginning.
e. The 30th block is removed from the file.
f. A block is removed from the end.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top