Question: 2. Assume that a file has B pages each with R records, and that the average time for reading or writing a page is

 2. Assume that a file has B pages each with R records,  

2. Assume that a file has B pages each with R records, and that the average time for reading or writing a page is D. Consider a deletion operation specified using an equality condition. For each of the three file organizations discussed in the lecture (again assume that no overflow pages and 80% page occupancy for hashed file), answer the following questions. Ignore the CPU cost and any buffering effect. a) What is the cost if no record qualifies? b) What is the cost if more than one record may qualify? (24 marks)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Lets go through each of the file organizations and calculate the costs for deletion operations where ... View full answer

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!