Data
Tables/Relations:
Employee (Name, SSN, Salary, SuperSSN, Dno)
Department (Dnum, Dname, MgrSSN)
Dept-Locations (Dnum, Dlocation)
Work ON (ESSN, Pno, Hours)
Dependent (ESSN, Dep Name, Sex)
Employee (Name, SSN, Salary, SuperSSN, Dno)
Department (Dnum, Dname, MgrSSN)
Dept-Locations (Dnum, Dlocation)
Work ON (ESSN, Pno, Hours)
Dependent (ESSN, Dep Name, Sex)
0 M
1 (a)
Discuss the various component modules of a DBMS with a neat diagram.
8 M
1 (b)
Briefly explain the advantages of object oriented systems.
5 M
1 (c)
List and explain the main characteristics of database approach.
7 M
2 (a)
Define and explain a partial key, with an example.
4 M
2 (b)
What is meant by recursive relationship? Bring out the importance of role names in recursive relationship, with an example.
6 M
2 (c)
Design an ER diagram for maintaining a movie database taking into account atleast four entities.
10 M
3 (a)
Explain foreign key and its importance. Can a foreign key exist, only for a single table? Explain.
5 M
3 (b)
How can an intersection operator be implemented using union and minus operator?
3 M
3 (c)
Write queries in relational algebra for the following:
(i) Retrieve the number of dependents for an employee named "Ram"
(ii) Retrieve the name of managers working in location named "XYZ" who has no female dependents.
(iii) Retrieve the name of employee who works in the same department as that of "Raj".
(i) Retrieve the number of dependents for an employee named "Ram"
(ii) Retrieve the name of managers working in location named "XYZ" who has no female dependents.
(iii) Retrieve the name of employee who works in the same department as that of "Raj".
12 M
4 (a)
Explain all possible options that can be specified when a referential integrity constraint is violated using suitable example for all options.
8 M
4 (b)
Write a queries in SQL for the following. Refer the relations at the end of the question paper:
(i) Retrieve the name of the employee who gets second highest salary
(ii) For each department that has more than five employees, retrieve the department number and the number of its employees who have salary more than Rs.5000.
(iii) Retrieve the name of employees who salary is greater than all the employees working in either department 5 or 6.
(i) Retrieve the name of the employee who gets second highest salary
(ii) For each department that has more than five employees, retrieve the department number and the number of its employees who have salary more than Rs.5000.
(iii) Retrieve the name of employees who salary is greater than all the employees working in either department 5 or 6.
12 M
5 (a)
Discuss the significance of an assertion. Write an assertion to specify a constraint such that the salary of an employee must no be greater than the salary of the manager of the department that the employee works for in SQL.
8 M
5 (b)
What is meant by impedance mismatch? Explain.
6 M
5 (c)
Create a view which will display the department name, number of employees working and total salary for each department.
6 M
6 (a)
Suggest and explain three different techniques to achieve INF using a suitable example.
8 M
6 (b)
Different between prime and non-prime attribute, with an example.
4 M
6 (c)
Consider the relation R(A, B, C, D, E, F) and the FD A?B, C?DF, AC?E, D?F.
What is the key and highest normal form of R? if it is not in 3NF find a decomposition that is lossless and dependency preserving?
What is the key and highest normal form of R? if it is not in 3NF find a decomposition that is lossless and dependency preserving?
8 M
7 (a)
Which normal form is based on the concept of multi valued functional dependency? Explain the same with an example.
10 M
7 (b)
Explain two phase locking protocol and its disadvantages.
10 M
Write short notes on:
8 (a)
Tune stamp ordering algorithm
5 M
8 (b)
ARIES algorithm
5 M
8 (c)
Embedded SQL
5 M
8 (d)
Fifth normal form
5 M
More question papers from Database Management Systems