Course Solutions Uncategorized (Solved) : File 40 000 Student Records Fixed Length Consider Disk Block Size B 512 Bytes Block Pointe Q34800480 . . . .

(Solved) : File 40 000 Student Records Fixed Length Consider Disk Block Size B 512 Bytes Block Pointe Q34800480 . . . .

 

A file has 40,000 Student records of fixed-length. Consider adisk with block size B=512 bytes. A block pointer is 8 bytes longand a record pointer is 7 bytes long. Each record has the followingfields:

Attributes

Size (in bytes)

StudentID

9

Name

30

Sex

1

CourseMajor

10

Phone

9

Address

30

DoB

8

Status

3

  1. Calculate the record size R in bytes.
  2. Calculate the blocking factor bft and the number of filesblocks b assuming an unspanned organization.
  3. Suppose the file is ordered by the key field StudentID and wewant to construct a primary index on it. Calculate the indexblocking factor bft_i.

Expert Answer


An answer will be send to you shortly. . . . .

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post