0% found this document useful (0 votes)
103 views2 pages

286 Question Paper

This document appears to be an exam for a Database Management Systems course. It contains instructions for the exam and 4 sections with multiple choice and written response questions. Section A asks about database concepts like transaction properties, normalization, and query processing. Section B asks students to define database terms, discuss access controls and locking protocols, and write SQL queries. Diagrams are also requested for an ER model of a library system and a company project management system.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
103 views2 pages

286 Question Paper

This document appears to be an exam for a Database Management Systems course. It contains instructions for the exam and 4 sections with multiple choice and written response questions. Section A asks about database concepts like transaction properties, normalization, and query processing. Section B asks students to define database terms, discuss access controls and locking protocols, and write SQL queries. Diagrams are also requested for an ER model of a library system and a company project management system.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Seat No:______________ Enrollment No:____________________

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

2. Every Cascadeless schedule is also Recoverable.


[A] True [B] False

3. Partial Dependency is removed in ________________ Normal Form.


[A] 2NF [B] 1NF [C] BCNF [D] 3NF

4. Which of the following is not ACID property of a Transaction?


[A] Consistency [B] Atomicity [C] Durability [D] Integrity

5. Foreign Key can contain NULL values.


[A] True [B] False
Q:1 (b) Explain three level architecture of database management system with proper diagram. (05)
Q:2 (a) List down various database system users and discuss responsibilities of Database Base (07)
Administrator.
Q:2 (b) Explain Conflict Serializability with proper example. (07)
OR
Q:2 (b) Explain View Serializability with proper example. (07)
Q:3 (a) Consider following relation R(A,B,C,D,E,F,G,H) with Functional Dependencies (FDs): (07)
{ ABC, ADE, BF, FGH}

Find all candidates key. Find the relation R is in which normal form?
Q:3 (b) Write relational algebra query using below relation. (06)

Student(ssn, name, address, major)


Course(code, title)
Registered(ssn,code)

1. List of all course titles.


2. List the codes of courses in which at least one student is registered.
3. List the titles of registered courses.
4. List the codes of courses for which no student is registered.
5. List of courses in which all students are registered.
6. SSNs of students who are registered for both ‘Database Systems’ and ‘Analysis of
Algorithms’.
OR
Q:3 (b) Write relational algebra query using below relation. (06)

branch (branch_name, branch_city, assets)


customer (customer_name, customer_street, customer_city)
account (account_number, branch_name, balance)
loan (loan_number, branch_name, amount)
Page 1 of 2
depositor (customer_name, account_number)
borrower (customer_name, loan_number)

1. Find the name of customers who live at city Vadodara.


2. Find the loan number for the loan with an amount greater than $1200.
3. Find the names of all customers who have a loan more than $20000.
4. Find the name and loan amount of all customers who have a loan at the bank.
5. Find the list of all customer having an account at “Downtown” and “Uptown” branch.
6. Find the names of all customers who have a loan at the Perryridge branch.

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)

1. Create EMP and DEPT table.


2. Display ename, deptno and dname of all the employees.
3. Display department no and its corresponding average salary for all the departments.
4. Display all emp whose name start with ‘N’ alphabet and salary is less than 55000.
5. Display all female employees who earn below the average salary of male employees.
6. Display empid, ename, sal and sal increased by 10% for all the employees.

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

You might also like