An employee record has the following structure
 struct employee {
 int      eno;
 char    name[22];
 float    salary;
 char    dept[10];};
(i) Calculate the record size R in bytes.
(ii) If the file has 500 records, calculate the blocking factor bfr and the number of blocks b, assuming an unspanned organization with block size B = 512 bytes.
(iii) Describe the unused space in each block and in the last block?
Ans: (i) 2 + 22+ 4 + 10 =38 bytes
 (ii) bfr = floor( B/R) = [512/38] =13
 Number of blocks b = ceiling (500/13) =39
 (iii) Unused space in each block
 = 512 - 38 *13 = 512 - 494= 18 bytes
 Unused space in the last block
 = ( 39 *13 - 500) * 38 bytes = (507 -500) * 38 bytes
 =  7 * 38 =266 bytes