Due: April 18, 2002
For the following B+ tree of degree=4 (reminder - last pointer in leaf nodes is the chaining pointer):
<000:R[10,20][1,2,3]> <001:L[5][305,2]> <002:L[15,16,19][315,316,319,3]> <003:L[25,30][325,330,-1]>
Perform each of the following insert (key,value) operations, and write out the resultant tree after each. Please assign new node ID numbers sequentially so that I can see the order of creation in the final result:
<000:R[10][1,2]> <001:I[6][3,4]> <002:I[15,30][5,6,7]> <003:L[3][303,4]> <004:L[8][308,5]> <005:L[12][312,6]> <006:L[20][320,7]> <007:L[40,42][340,342,-1]>
Perform each of the following delete operations, and write out the resultant tree after each:
<0:R [99] [1,2]>
<1:L [97,98] [197,198,2]>
<2:L [111,115,119] [61,65,69,-1]>
<0:R [12,31,39] [1,2,3,4]>
<1:L [1,2,3] [101,102,2]>
<2:L [13,17,15] [113,115,121,3]>
<3:L [31,34,35] [131,134,135,4]>
<4:L [40] [140,-1]>
<0:R [42,97,121] [1,2,3,4]>
<1:I [12,31,39] [5,6,7,8]>
<2:I [47,58] [9,10,11]>
<3:I [99] [12,13]>
<4:I [130,190] [14,15,16]>
<5:L [1,2,3] [101,102,103,6]>
<6:L [13,15,21] [113,115,121,7]>
<7:L [31,34,35] [131,134,135,8]>
<8:L [40] [140,9]>
<9:L [43,45,46] [143,145,146,10]>
<10:L [47,57] [147,157,11]>
<11:L [60,70,71] [160,170,171,12]>
<12:L [97,98] [197,198,13]>
<13:L [111,115,119] [61,65,69,14]>
<14:L [124] [74,15]>
<15:L [142,144,160] [92,344,360,16]>
<16:L [275] [344,-1]>
Which of the following are in the closure of F, F+?
Give a set of dependencies that constitutes a canonical (minimal) cover, Fc.
List all of the candidate keys of this relation.
Decompose this relation into a set of smaller relations that conform to 3NF. Prove that your decomposition has the lossless-join property.
This document was generated using the LaTeX2HTML translator Version 98.1p1 release (March 2nd, 1998)
Copyright © 1993, 1994, 1995, 1996, 1997, Nikos Drakos, Computer Based Learning Unit, University of Leeds.
The command line arguments were:
latex2html -split 0 -no_navigation -show_section_numbers hw3-spr02.tex.
The translation was initiated by Jack Keane on 2002-03-30