DBMS
DBMS
Fifth Semester
(2013-2014 onwards)
8. What is serializability? 15. Explain the concept of 1st and 2nd normal forms
with examples. (11)
9. State the uses oflock.
Or
10. What is your understanding about atomicity?
16. Explain the concept of 3rd normal and BCNF with
PART B - (5 x 11 = 55 marks) examples. (11)
Answer ALL questions, ONE from each Unit.
UNIT IV
All questions carry equal marks.
17. Discuss the concept of query processing with an
UNIT I example. (11)
11. Discuss about the database system architecture Or
with a neat diagram. (11)
Or 18. Relate the uses of conflict serializability with
examples. (11)
12. List out the fundamental operations of relational
algebra with suitable examples. (11) UNIT V
2 5635132 3 5635132
4636166
Sixth Semester
(2009-2012 Batches)
3. .
Define ER diagram.·
7. Define transaction?
8. What is a recovery scheme? UNIT IV
. UNIT II
UNIT III
4 5635132
. <
PART B - (5 x 11 = 55 marks) UNIT III
Answer ONE question from each Unit. 15. Redundancy in a relation introduces anamolies.
What are the possible anamolies due to
All questions carry equal marks.
redundancy and how would you control
UNIT I redundancy.
UNIT IV
UNIT II
13. Draw an ER diagram for the Banking enterprise 17. Explain any three j~int operations in the query
and explain the same. processing with steps.
Or
Or
2 5635132 3 5635132
4636166
PART B - (5 x 11 = 55 marks) 16. List the different levels in RAID technology and
explain its features.
Answer ALL questions, ONE from each Unit. UNIT IV
All questions carry equal marks. 17. Discuss the ACID properties of a transaction. Give
relevant example.
UNIT I
Or
11. With a neat diagram, explain the structure of a
DBMS. 18. Describe the concept of serilalizability with
suitable example.
Or
UNIT V
12. With relevant examples discuss the various
operations in Relational Algebra. 19.
- Explain SQL variations and extensions in Oracle.
UNIT II Or
13. Describe the components of Entity-Relationship 20. Write short notes on:
diagram with suitable examples. (6)
(a) PostgreSQL System Architecture.
Or (b) PostgreSQL Type System. (5)
14. (a) What are the symbols used in E-R diagram
and give example. (5)
(b) Write short notes on URL and HTML. (6)
2 4636166 3 4636166
5635132
7. Define atomicity.
8. What is serializability?
9. Why is concurrency control required in a database 14. (a) Discuss Transaction isolation and
system? transaction isolation levels.
Or
(b) How Entity-Relationship modeling is done?
What are its notations? Give an example ER
model.
Or
(b) Set an example relation and explain
normalization upto BCNF using it.
2 5635132 3 5635132
4636166
Sixth Semester
(2009-2012 Batches)
1. Define Superkey.
4. Define Generalization.
Or
9. Write any two features ofXML?
16. Discuss about Transformation of Relational
10. What is MQT?
Expression.
Answer ALL questions, ONE from each Unit. 17. Explain Deadlock prevention and recovery system.
UNIT II
Or
2 4636166 3 4636166
4636166
B.Tech. DEGREE EXAMINATION,
APRILIMAY 2017.
Sixth Semester'
Computer Science
, (2009-12 batches)
3. What is cardinality?
..
, 7. What are the SQL statements usedfor transaction 13. (a) Describe the components of ER model.
end? . '
(b) What do you mean by aggregation? Explain.
8. Give any two modes in which a data item may be Or
locked. .
14. Explain the Boyce - Codd normal form.
9. List out the types of segments.
15. Describe the different levels of RAID and list out
10. What is the use of SQL profiler? the factors to be considered when choosing a RAID
, level.
SECTION B - (5 x 11,:= 55 marks)
Or
Answer ALL questions.
16. Explain cost-based optimization and Heuristic
optimiza tion.
11. If x and yare two relations as shown below:
17. Discuss the different forms of schedule
equivalence.
Or
FinD- (a) xuy
18. Explain the methods for dealing with the deadlock
(b) x-y problem.
2 4636166 3 4636166
..
, 5635132
Answer ALL questions, ONE from each Unit. 13. Design and explain an E-R diagram for keeping
track of the performance of your favorite sports
All questions carry equal mark~. team. One must store the matches played, the
scores in each match, the players in each match,
UNIT I and individual player statistics for each match.'
Summary statistics should be modeled as derived
11. Consider the following relational schema: attributes.
2 3 5635132
5635132
UNIT III (3) Book is in 2NF and Collection is in 3NF
(4) Both Book and Collection are in 2NF
15. What are functional dependencies? Explain each only. (5)
of them with a suitable applicative example.
(b) Explain Nested Join, Hash Join and Merge
Join in SQL query plan. (6)
Or
6 5635132
4636166
,
B.Tech. DEGREE EXAMINATION, NOVEMBER 2017.
Sixth Semester
(2009 - 12 batches)
"
2 4636166 3 4636166
5635132
Fifth Semester
(2013 - 14 Onwards)
Answer ALL units, choosing ONE question 15. Explain First and Boyce Coci.dnOl~malforms using
from each unit. functional dependencies. (11)
UNIT I Or
.11. What are the components of database system? 16. Explain decomposition using .multivalued
dependencies. • (11)
Explain in detail with a. neat diagram. (11)
UNIT IV
Or
17. Explain all types of join operations in query
processing. (11)
12. Explain SQL basic operation, set operations and
Or
null values with an example. (11)
18. Explain the components of query optimizer with
UNIT II example. (11)
. . UNIT V
13. Construct ER diagram for company schema, with
all role names included and with structural 19. Explain.the following:
(a) Deadlock handling. (4)
constraints on relationships specified using the
(b) Multiversion schemas. (4)
alternate notation (min, max). (11)
(c) Concurrency control. (3)
Or 'Or
(b)
.
Bitmap indices. (6)
(b) Buffer management. (6)
2 5635132 3 5635132
4636166' ,
1
Sixth Semester
(2009-2012 batches)
7. Define Deadlock.
8. What is the use of commit command? UNIT III
9. State the features of Oracle. 15. Discuss in detail about the various types of data -
storage methods. Also state their advantages and
10. What is backend tool? Give examples. disadvantages.
PART B - (5 x 11 = 55 marks) Or
Answer ALL questions, ONE from each unit. 16. . Briefly explain about indexing and hashing.
UNIT II Or
13. What are the major components of E-R diagram? 20.. Discuss about the Oracle data types ..
Explain with an example.
Or
2 4636166 3 4636166
MT 921 NR
M.Tech. DEGREE EXAMINATION, MAY 2018.
Second Semester
UNIT I
Or
(a) Define two-phase commit protocol. Discuss 7. Give the need for object-oriented DBMS. Discuss
3.
the role played by data object models in data
the properties of a Transaction. (6)
modelling. (12)
(b) Define optimization. Discuss methods of
Or
optimization. (6)
8. (a) Explain storage and access methods used in
Or object-oriented databases. (6)
(b) Discuss with suitable examples the various
4. Explain hashing and indexing in detail. How is it data access interface technologies. (6)
different from dynamic hashing? (12)
UNIT V
UNIT III
9. (a) What IS the significance of temporal
databases, and how are they different from
5. (a) Explain the underlying principles In the
embedded databases? (6) .
design of Distributed Database. (6)
(b) Discuss about parallel database and
(b) Discuss in detail the translation of queries in multimedia database with examples. (6)
Distributed Databases. (6)
Or
2 MT 921 NR 3 MT 921 NR
UNIT III 5635132
15. .Define Normalization and explain different type~
of normalization with suitable example. B.Tech. DEGREE EXAMINATION, APRILIMAY 2018.
Or Fifth Semester
Computer Science and Engineering
16. List the three' design goals for relational
databases, and explain why each is desirable. DATABASE MANAGEMENT SYSTEMS
UNIT IV (2013-14o'nwards)
4 5635132
8. , Explain ACID properties. (a) Give an expression in relational algebra to
" express the following query. (6)
9. If deadlock is avoided by deadlock-avoidance (i) Find the names of all branches located
schemes, is starvation still possible?' Explain your in "Chicago".
answer. (ii) Find the names 'of all borrowers who
have a loan in branch "Downtown".
10. Define the term checkpoint. (b) (i) What are the appropriate primary
keys? (5)
PART B - (5 x 11 = 55 marks)
(ii) Identify appropriate foreign keys. ,
Answer ALL questions, ONE from each Unit.
UNIT II
,All questions carry equal marks.
13. Design a database for an airline'. The database
UNIT I must keep track of customers and their'
reservations,' flights and their status, seat
11. (a) Draw the database architecture neatly and assignments on individual nights,' and the
explain its components. (6) schedule and routing of future flights. Your design
(b) Draw the schema' diagram of banking should include an E-R diagram, a set of relational
database. (5)
schemas, and, a list of constraints, including
primary-key and foreign-key constraints.
, Or
Or
12.' Construct, a database 14. Construct a B+ -tree for the following set of key
branch (branchname, branchcfty, assets) values: (2, 3, 5, 7, 11, 17, 19, 23, 29, 3~i,
customer (customername, customerstreet, Show the form 'of the tree after each of the
customercity) following series of operations:
loan (loan number, branchname, amount), (a) Insert 9.
borrower (customername, loan number) (b) Insert 10.
(c) Insert 8. '
account (accountnumber, branch name balance)
(d) Delete 23.
depositor (customername, accountnumber)
(e) Delete 19.
and answer the following :
2 5635132 3 5635132
5635132
Fifth Semester
Or
All questions carry equal marks.
18. Explain in brief Query optimization.
UNIT I
UNIT V
11. Demonstrate the 3-tier architecture of Database.
19. Write a detailed note on Concurrency Control.
Or
Or
12. Explain with examples tuple relational calculus
20. Discuss on IBM DB2 universal database and
operations. MySQL.
UNIT II
Or
2 5635132 3 5635132
16. Discuss join Dependencies and Fifth Normal 5635132
Form, and explain why 5NF?
4 5635132
I, '
'.
6. Compare 2NF, 3NF AND BCNF with suitable (a) Display the list of all customers by Cust_No
examples. with the city in which each is located. Select
Cust No, city from Customer.
7. What are the measures of query cost?
(b) List the names of the sales persons who have
accounts in Delhi, Select Sales_Person_Name.
8. . List ACID properties. from Sales_Person_Name where (select * from
customer where city. = delhi)
9. Give an example for deadlock handling.
UNIT II
10. How to handle the failures with loss of nonvolatile
storage? 13; Construct an E-R diagram for a
car-insurance company whose .customers own one
PART B - (5 x 11 = 55 marks) or more cars each. Each car has associated with it
zero to any number of recorded accidents. State
Answer ALL question, ONE from each Unit any assumptions you make.
Or
4. Define Hashing.
7. What is a transaction?
/
/
9. Define Concurrent schedule with an example. UNIT II
10. Recall the concept of shadow paging. 13. Consider a car insurance company whose
customers may own multiple cars and each car
PART.B - (5 x 11 = 55 marks)
may also be associated with one or more number of
Answer ALL questions, ONE from each Unit. recorded accidents. Each insurance policy covers
one or more cars and has more number of
All questions carry equal marks. premium payments associated with it. Also each
payment is for a particular duration and will be
UNIT I having an associated due date and the date of
payment received. Construct an ER-niodel for this
11. Create a table. emp with attributes ename, ecity
scenario with appropriate notations considering all
and salary and table company with attributes
the constraints.
cname, ccity, eid and write queries to execute the
following: .
Or
(a) Create and. insert values in to both tables
(minimum 10 values) 14. Construct B tree to insert the following key values
32, 11, 15, 13, 7, 22, 15, 44, 67, 4, assuming the
(b) Find the names of all employees whose name
begins with either letter 'A' or 'B' order of the tree is three. Explain the various
stages of insertion operation.
(c) Find the names of all employees who live in
'delhi' and whose salary is between 20,000 arid UNIT III
30,000. . .
15. Define Normalization. Illustrate the first three
(d) Find the company names where the company
city is ' delhi' and the number of employees is normal forms with an example.
not between 5000 and 10000; Or
(e) Find the names of all companies that do not
end with letter A. 16. Consider the relation schema R = (ABCD) and the
set of functional dependencies are:
Or
F = {AB~C, B~D, C~A}. Prove that R is not in
12. Explain in brief about Database System BCNF. Suitably decompose R into appropriate
Architecture. relational schemas that are in BCNF.
2 5635132 3 5635132
cd .9, 5
.: c\.
cl lr 0)
ocs!fo
NE=X
';Loa.S
^)J
fr] u) L-
''i ';i
E hlE E ;
lrl L:^).ai =!=(5
()9?E-Y.=
rn y* 5 ? i q bot
C.=!'GftE.gH-iq-.
ho Fi C <; E € '- Cd .' a\
7 Ari# E
arrr v*=N,, ;( 3 4 PE= 5
F P 5 ? its.-5€=E { ? E a rr
'?l
r1l kE6d;ior,EEpCi=o)
rr)l ;,0 or ('5
= ^3 ^,
x E . a o rrl p. .o a
6,61 2a!<xo.:=ortuIo'qC
Hl *;;E!
il E ?
kti7q]?,ft6H€Netls6
=Er1I I?=i3
E : e € E E A;
E =*:= = i E - + t; : tr i t,.6
a .s s.2 h €
*H
a5 3 ;Y. e'
:A H =.e
S E
A
= ,-c r: :c =
:I .a : '-s
6 I E E FFE B
UCJ
FE =S
trj 5-j6io"j+,c; qoF
l
b! bo NI
cal
o
0) C) llil
a a o 6al
-l (ol
o a I()l
+J +J
c)
a ao b! a .ia
a ,n
{J fJ
a a tr
'-o36o) 0r o O
Fq o 'o
a/ 1J (J b!
.- .d
a oX
a Fai s +J
a, {J
+J
-x a 0) N a
Ec) a .o d
o a
o.) F vt F C6
- c .b! ()
17 lJr
ctr 6
c z 0)
z oal p a
[nd a
)E Cd OH X
X {Jo a
c) a ouf
a ,dz qId {J
0) o
o ,^H o.: 0)
",^a +i
- l--l +)
Ud 0)
fJ +J c)
CDcg 03.t o .i
-i !P' 0)
-!! n L!U- F!€
a -do5 o.€ !uY a
X X
FZ tr.,l
>99 r5s
-)a)
t- co
Fl t Fl r-l 6I
O>)
A(J CJ +J
c\l
-o e6l
+J .d
..o 0)
nl +J c, 1r)l
+ia c) 661
a A o tJ (ol
b! Iol
c)
o +
.I) 0)
cd
pl
.o f'I o)
(E^a cd
d
!u
lu y S.r ! -
0) cd
b! VRL! (H
d a ior + H
c0 Oli o
a ,_o H N) o a
a iS'-o ia €)
0) tJ
ad 16 a bo i: +i
-'9 C6u a
! :iI H!
a
p. Al!* cd 'i
l=!-r Fr +J
tr -l tr u2^ P. b, b! 6.
vd Fl o X o 0)
o 0) z a a
0)
O.- .cJ +:
i!
H .\ I
c) oJXl o)E o
a)
B
t60dB: x +,
a a-Q b, 6; g
-! t^ fr(.
r) Lu .-a (!a
+J 4t \ Frl C)
d .: 0)
?-4
ULU: 9a 0)
a aaF.i a. ^.: -E
-+J +J +J # a, tr
ia {l
\va_ a
-(! A.
t >tr i-o x t{o
fr] cg frl
-i ci c.j +
i F-l ri F{