For the employee file discussed in illustrative problem 18.1, making use of Table P18.1, answer the questions given below: 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 a sector of records?
For the employee file discussed in illustrative problem 18.1, making use of
Table P18.1, answer the questions given below:
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 a sector of records?
b) Having processed a sector of records, what is the time taken to process all
records in the very next sector?
c) What is the time taken to process the records, in all sectors of a track,
assuming that the sectors are continuously read?
d) What is the time taken to process all records in a cylinder?
Step by step
Solved in 2 steps