BITS Pilani, Hyderabad Campus CSF212, Database Systems : (2M) (2M) (2M) (2M) (2M)
BITS Pilani, Hyderabad Campus CSF212, Database Systems : (2M) (2M) (2M) (2M) (2M)
BITS Pilani, Hyderabad Campus CSF212, Database Systems : (2M) (2M) (2M) (2M) (2M)
Note 1: Write your answers in the space above. Note 2: Please turn over for remaining questions
Id Name Cgpa
a1 ABHISHEK 9.1
a1 ABHISHEK 9.2
a2 ABHISHEK 9.1
a2 ABHISHEK 9.3
What is the number of functional dependencies in the canonical cover of the instance?
A. 1 B. 2 C. 3 D. 4
Q2: We want to construct a B-Tree of order 4 for the following search key value 2,3,5,11,19,23,29,31.
Search key value 31 will be placed at what level (Root= 1 level)
A. 1 B. 2 C. 3 D. 4
Q3: Consider a multi index with 1024 rst level entries and blocking factor is 10. Then how
many level are there?
A. 2 B. 3 C. 4 D. None of These
Q4: Let r(R) be a relation on schema R and s(S) a relation on schema S. To perform the
operation s/r. The attribute set of R and S must satisfy.
A. R ⊆S B. R ⊂S C. R ∩S=φ D. R −S=φ
A4 E2 R E1
A5
A7 A8 A9
A3
A91 A92
A. 3 B. 4 C. 6 D. 5
Q9: In a B+ tree, if the search-key value is 15 bytes long, the block size is 1024 bytes and
the block pointer is 6 bytes, record pointer is 8 bytes then the maximum number of tree
pointer that can be accommodated in each non-leaf node of the tree is :
Q10: Consider a disk with block size B = 1048 bytes, block pointer is P = 8 bytes, record
pointer is Pr = 9 bytes, and two ordered les R1 = 200 records of xed-size 200 bytes
and R2= 300 record of xed-size 100 bytes. Both les are un-spanned then how many
blocks do we need to hold the resultant table of R1×R2?
Page 2
*
Note 1: Write your answers in the space above. Note 2: Please turn over for remaining questions
Id Name Cgpa
a1 ABHISHEK 9.1
a1 ABHISHEK 9.1
a2 ABHISHEK 9.2
a2 ABHISHEK 9.3
What is the number of functional dependencies in the canonical cover of the instance?
A. 1 B. 2 C. 3 D. 4
Q2: We want to construct a B-Tree of order 4 for the following search key value 2,3,5,31,11,19,23,29.
Search key value 31 will be placed at what level (Root= 1 level)
A. 1 B. 2 C. 3 D. 4
Q3: Consider a multi index with 2024 rst level entries and blocking factor is 10. Then how
may level are there?
A. 3 B. 4 C. 5 D. None of These
Q4: Let r(R) be a relation on schema R and s(S) a relation on schema S. To perform the
operation s/r. The attribute set of R and S must satisfy.
A. R ⊂S B. R ⊆S C. R ∩S=φ D. R −S=φ
A4 E2 R E1
A5
A7 A8 A9
A3
A91 A92
A. 3 B. 4 C. 6 D. 5
Q9: In a B+ tree, if the search-key value is 15 bytes long, the block size is 1024 bytes and the
block pointer is 6 bytes, record pointer is 8 bytes then the maximum number of record
pointer that can be accommodated in each leaf node of the tree is :
Q10: Consider a disk with block size B = 1048 bytes, block pointer is P = 8 bytes, record
pointer is Pr = 9 bytes, and two ordered les R1 = 300 records of xed-size 100 bytes
and R2= 300 record of xed-size 200 bytes. Both les are un-spanned then how many
blocks do we need to hold the resultant table of R1×R2?
Page 2
*
Note 1: Write your answers in the space above. Note 2: Please turn over for remaining questions
Id Name Cgpa
a1 ABHISHEK 9.1
a1 ABHISHEK 9.1
a2 ABHISHEK 9.2
a2 ABHISHEK 9.2
What is the number of functional dependencies in the canonical cover of the instance?
A. 5 B. 2 C. 3 D. 4
Q2: We want to construct a B-Tree of order 4 for the following search key value 2,31,35,37,19,23,29.
Search key value 31 will be placed at what level (Root= 1 level)
A. 1 B. 2 C. 3 D. 4
Q3: Consider a multi index with 2048 rst level entries and blocking factor is 20. Then how
may level are there?
A. 2 B. 3 C. 4 D. None of These
Q4: Let r(R) be a relation on schema R and s(S) a relation on schema S. To perform the
operation s/r. The attribute set of R and S must satisfy.
A. R −S=φ B. R ⊂S C. R ∩S=φ D. R ⊆S
A4 E2 R E1
A5
A7 A8 A9
A3
A91 A92
A. 3 B. 4 C. 6 D. 5
Q9: In a B+ tree, if the search-key value is 15 bytes long, the block size is 2024 bytes and the
block pointer is 12 bytes, record pointer is 14 bytes then the minimum number of key
that can be accommodated in each non-leaf node of the tree is :
Q10: Consider a disk with block size B = 1048 bytes, block pointer is P = 8 bytes, record
pointer is Pr = 9 bytes, and two ordered les R1 = 500 records of xed-size 100 bytes
and R2= 300 record of xed-size 100 bytes. Both les are un-spanned then how many
blocks do we need to hold the resultant table of R1×R2?
Page 2
*
Note 1: Write your answers in the space above. Note 2: Please turn over for remaining questions
Id Name Cgpa
a1 ABHISHEK 9.1
a1 ABHISHEK 9.2
a2 ABHISHEK1 9.1
a2 ABHISHEK1 9.3
What is the number of functional dependencies in the canonical cover of the instance?
A. 1 B. 2 C. 3 D. 4
Q2: We want to construct a B-Tree of order 4 for the following search key value 32,27,25,41,19,23,29.
Search key value 31 will be placed at what level (Root= 31 level)
A. 1 B. 2 C. 3 D. 4
Q3: Consider a multi index with 2024 rst level entries and blocking factor is 40. Then how
may level are there?
A. 2 B. 3 C. 4 D. None of These
Q4: Let r(R) be a relation on schema R and s(S) a relation on schema S. To perform the
operation s/r. The attribute set of R and S must satisfy.
A. R ∩S=φ B. R ⊂S C. R ⊆S D. R −S=φ
A4 E2 R E1
A5
A7 A8 A9
A3
A91 A92
A. 3 B. 4 C. 6 D. 5
Q9: In a B+ tree, if the search-key value is 15 bytes long, the block size is 2048 bytes and the
block pointer is 12 bytes, record pointer is 16 bytes then the minimum number of tree
pointer that can be accommodated in each non-leaf node of the tree is :
Q10: Consider a disk with block size B = 1048 bytes, block pointer is P = 8 bytes, record
pointer is Pr = 9 bytes, and two ordered les R1 = 300 records of xed-size 100 bytes
and R2= 300 record of xed-size 200 bytes. Both les are un-spanned then how many
blocks do we need to hold the resultant table of R1×R2?
Page 2