Question: 3 . A file having 1 0 0 0 0 records is stored on the magnetic disk which is described in the ( 1

3. A file having 10000 records is stored on the magnetic disk which is described in the \(1^{\text {st }}\) question. The records of the file have fixed size; each record occupies 200 bytes, and each record is entirely contained in a single block (no record is contained partly in one block, and partly in another). Answer the following questions:
a) Compute number of records that can be stored in 1 block.
b) Compute number of blocks required to store the whole file.
c) How many cylinders are required to store the whole file?
d) If this file is organized as a heap file, and all the blocks of the file are adjacent, calculate the time required to read the whole file starting from beginning to end.
e) If this file is organized as a heap file, but all the blocks of the file are randomly located on the disk platters, calculate the time required to read the whole file starting from beginning to end.
3 . A file having 1 0 0 0 0 records is stored on

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!