Suppose that a disk unit has the following parameter: block size B = 1200 bytes Consider a STUDENT file with the following fields: NUMBER, 10 bytes; • LASTNAME, 20 bytes; FIRSTNAME, 20 bytes; BIRTHDATE, 10 bytes; The STUDENT file has r=10000 STUDENT records, fixed-length format, and unspanned blocking. Calculate the following values for the STUDENT file: (a) Calculate the record size R (b) Calculate the blocking factor bfr (c) Calculate the number of disk blocks b

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter7: File Handling And Applications
Section: Chapter Questions
Problem 1GZ
icon
Related questions
Question

Suppose that a disk unit has the following parameter:

  • block size B = 1200 bytes

Consider a STUDENT file with the following fields:

  • NUMBER, 10 bytes; • LASTNAME, 20 bytes;
  • FIRSTNAME, 20 bytes;
  • BIRTHDATE, 10 bytes;

The STUDENT file has r=10000 STUDENT records, fixed-length format, and unspanned blocking. Calculate the following values for the STUDENT file:

(a) Calculate the record size R

(b) Calculate the blocking factor bfr

(c) Calculate the number of disk blocks b

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Arrays
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage