Ii Cse CS3492 QB Int4
Ii Cse CS3492 QB Int4
COURSE OUTCOMES:
On Completion of the course, the students should be able to:
Construct SQL Queries for applications using relational databases RE
CO-1
CO-2 Design database using ER model and normalize the database UN
CO-3 Construct queries to handle transaction processing and maintain UN
consistency of the database
Compare and contrast various indexing strategies and apply the AP
CO-4 knowledge to tune the performance of the database
Analyse how advanced databases differ from Relational Databases and AP
CO-5 find a suitable database for the given requirement
Cours P
e O PO PO PO PO PO PO PO PO PO PO PO PS PS PS
Outco 1 2 3 4 5 6 7 8 9 0 11 12 O1
1
O
2
O
3
me s
CO4 3 2 3 2 - - - - 3 2 3 3 2 2 3
4 Discuss about the two main goals of parallelism and how to achieve them. UN,CO4
5 What are the factors to be taken into account when choosing a RAID level? RE,CO4
8 What are the factors needed to evaluate the technique of ordered indexing and RE,CO4
hashing?
PART – B
i) Explain in detail about RAID and its various levels with a neat sketch. UN,CO4
1 ii) Discuss about Data dictionary Storage and Column Oriented Storage
Describe the different types of file organization. Explain using a sketch of each UN,CO4
2 of them, with their advantages and disadvantages.
Explain in detail about various indexing techniques with relevant example. UN,CO4
3
4 Discuss about the various approaches of organizing records in file with suitable UN,CO4
example.
PART – C
Construct a B+ tree for the following set of key values :
1 (2, 3, 5, 7, 11, 17, 19, 23, 29, 31). Assume that the tree is initially empty and AP,CO4
values
are added in ascending order. Construct B+ trees for the cases where the
number of pointers that will fit in one node is as follows:
a) Four
b) Six
c) Eight.
2 Construct B tree of order 3 for the following data: 20, 10, 30, 15, 12, 40, 50, AP,CO4
62, and 45
PART – B
1 i) Discuss the basic steps in query processing with a neat diagram. (7) UN,CO4
ii) With simple algorithms, explain the computing of nested loop join and
block nested loop join. (6)
2 Explain the algorithms for SELECT and JOIN operations in estimating the query UN,CO4
cost
PART – C
1 The following key values are organized in an extendable hashing technique. 1,
AP,CO4
3, 5,
8, 9, 12, 17, 28. Show the extendable hash structure for this file if the hash
function
is h(x) = x mod 8 and buckets can hold three records. Show how the extendable
hash structure changes as the result of each of the following steps:
INSERT 2.
INSERT 24.
DELETE 5.
DELETE 12
2 Let relations r1(A, B,C) and r2(C, D, E) have the following properties: r1 has AP,CO4
20,000 tuples, r2 has 45,000 tuples, 25 tuples of r1 fit on one block, and 30
tuples
of r2 fit on one block. Estimate the number of block transfers and seeks
required,
using each of the following join strategies for r1 1
r2:
a. Nested-loop join.
b. Block nested-loop join.
c. Merge join