VTU Computer Science (Semester 5)
Database Management Systems
June 2015
Total marks: --
Total time: --
INSTRUCTIONS
(1) Assume appropriate data and state your reasons
(2) Marks are given to the right of every question
(3) Draw neat diagrams wherever necessary


1 (a) Briefly discuss the advantages of using DBMS.
10 M
1 (b) Discuss the main characteristics of the database approach. How does it differ from the traditional file systems?
10 M

2 (a) List the summary of the notations of ER diagram. Include symbols used ER diagram and their meanings.
10 M
2 (b) Define an entity an attribute. Explain the different types of attributes that occur in an ER model with an example.
10 M

3 (a) Explain SELECT and PROJECT operations in relational algebra with an example.
10 M
3 (b) Explain different types of JOIN operations in relational algebra with example.
10 M

4 (a) With respect to SQL, explain with example.
i) DROP command
ii) ALTER command.
10 M
4 (b) Given the schema,
EMP(fname, ssn, bdate, address, sex, salary, supperssn , dno)
DEPT (dname, dnumber, mgrssn, mgrstartdate)
DEPT_LOC(dnumber, dloc)
PROJECT (pname, pnumber, plot, dnum)
WORKS_ON (essn, pno, hours)
DEPENDENT (essn, department-name, sex)
Write th eSQL queries for the following:
i) List female employees from dno=20 earning more than 50000.
ii) List 'CSE' department details.
iii) Retrieve the firstname, lastname and salary of all employees who work in department no.50.
iv) Select the name of employee whose 1st letter is R and 3rd letter is M.
v) Retrieve the name of the manager of each department.
10 M

Explain the following:
5 (a) 1) Aggregate functions in SQL.
5 M
5 (a) 2) Insert, update and delete commands.
5 M
5 (b) How are triggers and assertions defined in SQL? Explain with example.
10 M

6 (a) What is functional dependency (FD)? Write an algorithm to find minimal cover for a set of functional dependencies. Construct minimal cover M for the set of functional dependencies which are
B → A, D →, AB → D.
10 M
6 (b) Explain INF, 2NF and 3NF with examples.
10 M

7 (a) Explain multi valued dependency and fourth normal form, with an example.
10 M
Explain:
7 (b) i) Inclusion dependencies .
5 M
7 (b) ii) Domain key normal form.
5 M

8 (a) Briefly discuss the 2 phase locking (2PL) protocol used in concurrency control.
10 M
8 (b) Explain all the phase involved in ARIES algorithm with an example.
10 M



More question papers from Database Management Systems
SPONSORED ADVERTISEMENTS