Calculate the blocking factor bfr and the number of file blocks b assuming an unspanned organization.
Consider a disk with block size B=512 bytes. A block pointer is P=6 bytes long,
and a record pointer is P R =7 bytes long. A file has r=30,000 EMPLOYEE records
of fixed-length. Each record has the following fields: NAME (30 bytes), SSN (9
bytes), DEPARTMENTCODE (9 bytes), ADDRESS (40 bytes), PHONE (9 bytes),
BIRTHDATE (8 bytes), SEX (1 byte), JOBCODE (4 bytes), SALARY (4 bytes, real
number). An additional byte is used as a deletion marker.
Blocking factor bfr = floor(B/R) = floor(512/115) = 4 records per block
Number of blocks needed for file = ceiling(r/bfr) = ceiling(30000/4) = 7500
You might also like to view...
Which of the following methods are overloaded with respect to one another?
public int max (int a, int b) { ... } public double max (double a, double b) { ... } public int max (int a, int b, int c) { ... } public double max (double a, double b, double c) { ... } a. A and B are overloaded; C and D are overloaded. b. A and C are overloaded; B and D are overloaded. c. A, B and C are overloaded. d. All four methods are overloaded.
Social journalism or citizen journalism ?________.
A. ?is accurate most of the time B. ?may not be as reliable as mainstream media sources C. ?is where everyone gets their news feeds D. ?is a good source for mostly facts
Referring to the figure above, the text "2021" was added using the __________ element.
A. select B. option C. input D. textarea
What does web development involve?
What will be an ideal response?