Question: A file called STUDENT has r = 2 0 , 0 0 0 fixed - length records. Each record has the following fields: Name (
A file called STUDENT has r fixedlength records. Each
record has the following fields: Name bytes ID bytes Address
bytes Phone bytes BirthDate bytes DegreeProgram bytes and GPA
bytes An additional byte is used as a deletion marker.
The file uses an unspanned record organization. It is stored on a hard disk with
the following parameters: singlesided platters, logical sector size B
bytes, logical sectors per track, and tracks per platter, access time seek
time rotational delay of ms and data transfer time of ms per sector.
a Calculate:
i the record size l in bytes,
ii the blocking factor bfr
iii. the number of blocks b
iv the number of tracks t occupied by the file,
v the number of platters p occupied by the file.
b Consider the situation where the file is stored across contiguous tracks.
Also, consider a query on student ID ie one record is being located in
the file Which type of file search on disk would be more efficient for
this query a linear search or binary search? Explain.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
