Question 16170 – UGC NET Dec-2020 and June-2021 Paper-1
November 16, 2023
DSSSB TGT 2021
November 16, 2023
Question 16170 – UGC NET Dec-2020 and June-2021 Paper-1
November 16, 2023
DSSSB TGT 2021
November 16, 2023

Indexing

Question 2
A data consisting of 1,50,000 student-records is stored on a hard disk with block size of 4096 bytes. The data file is sorted on the primary key RollNo. The size of a record pointer for this disk is 7 bytes. Each student-record has a candidate key attribute called ANum of size 12 bytes. Suppose an index file with records consisting of two fields, ANum value and the record pointer to the corresponding student record, is built and stored on the same disk. Assume that the records of data file and index file are not split across disk blocks. The number of blocks in the index file is ______.
A
698
Question 2 Explanation: 

Total no. of records = 150000

Block size = 4096 bytes

Key size = 12 bytes

Record pointer size = 7 bytes

Correct Answer: A
Question 2 Explanation: 

Total no. of records = 150000

Block size = 4096 bytes

Key size = 12 bytes

Record pointer size = 7 bytes

Leave a Reply

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