Rajiv Gandhi Proudyogiki Vishwavidyalaya, Bhopal
B.Tech. – V Semester | November 2022
CS-502 (GS) – Database Management Systems
Time: 3 hours | Maximum marks: 70
Attempt five questions. Each main question has equal weight (14 marks). In case of ambiguity, the English version takes precedence.
Questions restated for study purposes.
Question 1
1(a) Explain the benefits of replacing separate mailing, supplier, billing and accounting files in a jewellery business with a DBMS.
1(b) Design a clinic database supporting immediate access to medical records and accurate insurance billing.
Question 2
2(a) For Emp_Manager with Employee_ID as primary key and Manager_ID as a self-referencing cascading foreign key, determine the effect of deleting employee 2.
2(b) Evaluate R ⋈ S and (R ⋈ S) ⋈ T for the supplied relations R(a,b), S(b,c), T(c,d).
Question 3
3(a) Analyze inserting a NULL employee key, deleting E3 and changing department 104 to 109 in the supplied Employee relation.
3(b) Using the supplied employee data, solve salary comparisons against P and N, ANY and ALL comparisons, matching salaries, second highest salary and department averages.
Question 4
4(a) Explain three major stages of query optimization.
4(b) Discuss exception handling mechanisms supported by database platforms.
Question 5
5(a) Find the candidate key and highest normal form for R(E,F,G,H), with E→F, F→G and H→G.
5(b) For R(A,B,C,D) with A→B, B→C, C→D, D→A, test dependency preservation of AB, BC and CD.
Question 6
6(a) Explain active, partially committed, committed, failed and terminated states for the supplied transaction reading A and B, computing t=A−10% of A, adding t to B and writing A and B.
6(b) Explain the effect of an account insertion committed by T1 between two average-balance queries in T2.
Question 7
7(a) Construct the precedence graph for the supplied schedule and determine conflict serializability.
7(b) Explain two-phase locking and its variants with an example.
Question 8
8(a) Write a short note on Oracle Application Express.
8(b) Compare specialization and generalization in enhanced ER modelling.
8(c) Compare temporal and multimedia databases.
8(d) Write a short note on database triggers.
Discussion
Ask a question, share your thoughts or report an error.
Sign in to participate in the discussion.
Join the discussion