Professional Documents
Culture Documents
3-Winter 2022-23 PDBMS-Questions
3-Winter 2022-23 PDBMS-Questions
3-Winter 2022-23 PDBMS-Questions
Digital Assignment I
Name: KRUTHIKA.J
Slot: A2+TA2
1. Consider the following table (Price Update List), This report is used by the
department managers to update the prices that are displayed in the grocery store for
these products.
What normal form is the relation in? explain your answer. Apply normalization
until you cannot decompose the relations further. State the reasons behind each
decomposition.
FD:
➢Book_title -> Publisher, Book_type
➢Book_title,Authorname
•This relation is in 1NF and not in 2NF as no attributes are FFD on the key. It is also not in 3NF
DB Normalization
FD:
•2NF decomposition:
➢Book0(Book_title, Authorname)
➢Book2(Authorname, Authoraffil)
DB Normalization
FD:
➢Authorname-> Author_affil
•3NF decomposition:
➢Book0(Book_title, Authorname)
➢Book1-2(Book_type, Listprice)
➢Book2(Authorname, Author_affil)
3.
lets take:
m : number of values
p : number of pointers
4. After construction of each B+ tree of question 3 (a, b and c), show the form of the tree
after each of the following series of operations also: (Note: Show the updated tree for
each B+ tree (question 3.a, 3.b and 3.c)
i. Insert 9
ii. Insert 10
iii. Insert 8
iv. Delete 23
v. Delete 19