Rajiv Gandhi Proudyogiki Vishwavidyalaya, Bhopal
B.Tech. – V Semester | November 2023
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 how DDL, DML, buffer management and data models support representation of real-world information.
1(b) Describe DBMS structure and identify components affected by new operating-system file durability functions.
Question 2
2(a) Map E1(a,b) and E2(c,d) to relations when R1 requires each E1 to reference one E2 and R2 requires each E2 to reference one E1.
2(b) Design an ER model for employees, departments, managers and dependent children identified by parent and name.
Question 3
3(a) Explain insertion, deletion and update anomalies in an employee table containing employee ID, name and department.
3(b) Using the supplied employee relation, solve seven filtering, grouping and salary comparison queries.
Question 4
4(a) Explain major query optimization stages and the selection cascade rule.
4(b) Discuss the major costs incurred when executing a database query.
Question 5
5(a) For R(A,B,C,D,E,F) with A→BC, C→E, E→F and F→AB, determine candidate keys and highest normal form.
5(b) Find a minimal cover for R(W,X,Y,Z) with X→W, WZ→XY and Y→WXZ.
Question 6
6(a) Give a concurrent transaction that interferes with T1 reading and writing X and Y without concurrency control.
6(b) Construct a recoverable schedule involving two transactions.
Question 7
7(a) Construct the precedence graph for the supplied interleaving on A and B and determine whether a serial equivalent exists.
7(b) Convert the supplied locking schedule to strict and rigorous 2PL, correcting the lock required for writing A.
Question 8
8(a) Explain Oracle PL/SQL exception handling.
8(b) Explain the responsibilities of a database administrator.
8(c) Explain SQL aggregate functions with examples.
8(d) Explain distributed database systems.
Discussion
Ask a question, share your thoughts or report an error.
Sign in to participate in the discussion.
Join the discussion