...
Indexing
August 26, 2024
Basics
August 26, 2024
Indexing
August 26, 2024
Basics
August 26, 2024

Database-Management-System

Question 778
Given a block can hold either 3 records or 10 key pointers. A database contains n records, then how many blocks do we need to hold the data file and the dense index
A
13n/30
B
n/3
C
n/10
D
n/30
Question 778 Explanation: 
Total number of records in the data base=n
Given block will hold either 3 records or 10 key pointers.
Number of blocks to store “n” records = n/3
Number of blocks to store dense file index = n/10
Total blocks to hold data file and dense index = n/3 + n/10 = 13n/30 blocks.
Correct Answer: A
Question 778 Explanation: 
Total number of records in the data base=n
Given block will hold either 3 records or 10 key pointers.
Number of blocks to store “n” records = n/3
Number of blocks to store dense file index = n/10
Total blocks to hold data file and dense index = n/3 + n/10 = 13n/30 blocks.

Leave a Reply

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