City Guilds Model Questions Vol1 2021 Information Technology Question 48

Practice objective / multiple choice question 48 from the 2021 City Guilds Model Questions Vol1 Information Technology examination.

City Guilds Model Questions Vol1 2021 Information Technology Objective / Multiple Choice Hard Difficulty
Question 48 CITY_GUILDS_MODEL_QUESTIONS_VOL1 • 2021 • INFORMATION_TECHNOLOGY • objective

A relation **R** contains 1,200,000 tuples, each tuple occupying 150 bytes. The disk block size is 4,096 bytes. (a) How many disk blocks are required to store **R**? (b) An index on attribute **A** is implemented as a B+‑tree of order 100 (each node can hold at most 99 keys). The index is dense, i.e., every tuple has a leaf entry. Assuming the index height is the number of levels from the root to a leaf, determine the height of the B+‑tree. (c) A selection \(\sigma_{A>1000}(R)\) is expected to retrieve about 5 % of the tuples. Estimate the number of disk I/O operations required to evaluate the selection using the index (count one I/O for each block read). Compare this with a full table scan and state how many block reads are saved.

Answer Options

A. Index method saves 45,000 block reads (2,100 I\/Os vs 47,100 I\/Os)
B. Index method saves 40,000 block reads (2,500 I\/Os vs 42,500 I\/Os)
C. Index method saves 41,500 block reads (2,300 I\/Os vs 43,800 I\/Os)
Correct Answer D. Index method saves 42,219 block reads (2,226 I/Os vs 44,445 I/Os)
Correct Answer
D
Correct Option:
Index method saves 42,219 block reads (2,226 I/Os vs 44,445 I/Os)

About This Question

This is City Guilds Model Questions Vol1 2021 Information Technology Question 48. It is one of the objective questions from the 2021 City Guilds Model Questions Vol1 Information Technology examination.

Difficulty level: Hard .

Master the Exam!

You've seen a preview, but there are thousands more questions plus AI tutor to break down complex solutions.

Unlock Full Access Available for Android & Windows
Chat with Support