286 Question Paper
286 Question Paper
PARUL UNIVERSITY
FACULTY OF ENGINEERING & TECHNOLOGY
B.Tech., Summer 2016 - 17 Examination
Semester: 4 Date: 07/06/2017
Subject Code: 03105254 Time: 10 am to 1 pm
Subject Name: Database Management System Total Marks: 100
Instructions:
1. Attempt all questions from each section.
2. Figures to the right indicate full marks.
3. Make suitable assumptions wherever necessary.
4. Write section-A, section-B on separate answer sheets.
SECTION: A
Q:1 (a) Answer the following. (05)
1. Every Conflict Serializable Schedule is also a View Serializable Schedule, but not vice-
versa.
[A] True [B] False
Find all candidates key. Find the relation R is in which normal form?
Q:3 (b) Write relational algebra query using below relation. (06)
Q:4 (a) What is deadlock? Explain Wait-Die and Wound-Wait protocol for deadlock prevention. (07)
Q:4 (b) Explain measures of the Query Cost. (06)
SECTION: B
Q:1 (a) Define the following terms: (05)
1. Domain of an attribute
2. Normalization
3. Query Processing
4. Prime Attribute
5. Degree of Relation
Q:1 (b) Explain various types of attributes in ER-Diagram. (05)
Q:2 (a) Discuss various types of CURSOR and CURSOR attributes in details. (07)
Q:2 (b) Explain Discretionary Access Control mechanism for security. (06)
OR
Q:2 (b) Explain Encryption mechanism for security. (06)
Q:3 (a) Explain Two Phase Locking protocol (Simple 2PL, Strict 2PL, Rigorous 2PL and 2PL with (07)
conversion).
Q:3 (b) Write SQL queries for the following. (06)
1. Create table for student having following fields sid, sname, gender and dob.
2. Insert one record (values of your choice) into the table.
3. Update dob of Neha to ’13-Dec-1990’
4. Delete student with sid as 102.
5. Display list of all female students.
6. Display list of all male students whose name starts with ‘S’.
OR
Q:3 (b) Write SQL queries using following given schema. EMP (empid, ename, gender, deptno, sal) (06)
DEPT (deptid, dname, location)
Q:4 (a) Draw the ER-Diagram of Library Management System. Assume relevant entities and attributes (07)
for the given system.
Q:4 (b) Draw the ER-Diagram of a system to manage a company (with many departments and (07)
projects). Assume relevant entities and attributes for the given system.
Page 2 of 2