

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Q1: Multilevel Index 20 points
Q2: Extendible hashed file a) b) c)
0001 0011
2
3
0101 0101
2
1001 1000
2
1111 1111
3
1101
3
000
001
010
011
100
101
110 111
Figure 1: Q2.a
0001 0011
2
2
0101 0101
2
1001 1000
2
1111 1111
2
00
01
10
11
Figure 2: Q2.c
Q3: Directory size 20 points There are dN/Be buckets. The directory size will be minimum if 2d^ = dN/Be. Solv- ing for d, we get d = dlog 2 dN/Bee. So the smallest possible directory size is 2dlog^2 dN/Bee. Q4: B+ Tree 20 points