Records from the employee file are to be read and, by making use of the basic pay, allowances and deductions, the total salary is to be computed for each employee. Assume that it takes 200 µs of CPU time to perform the computation for a single record. The updated records are to be written onto the disk. a) What is the time taken to process all records in a cylinder? Illustrative problem (a) computed the time taken to process all records of the employee file residing in a cylinder. Assume that the time taken for the read/write head to move from one cylinder to another is 10 ms. b) What is the time taken to process all records in the next cylinder? c) What is the time taken to process the entire employee file of records on the disk? b)
Records from the employee file are to be read and, by making use of the basic pay, allowances and deductions, the total salary is to be computed for each employee. Assume that it takes 200 µs of CPU time to perform the computation for a single record. The updated records are to be written onto the disk.
a) What is the time taken to process all records in a cylinder?
Illustrative problem (a) computed the time taken to process all records of the employee file residing in a cylinder. Assume that the time taken for the read/write head to move from one cylinder to another is 10 ms.
b) What is the time taken to process all records in the next cylinder?
c) What is the time taken to process the entire employee file of records on the disk?
b)
Step by step
Solved in 3 steps