Define terms (a)Database (b)DBMS (c) DBA (d) Schemas and instances and Mention the characteristics
1
and advantages of DBMS.
2 Explain the component modules of DBMS and their interaction , with the help of a diagram.
Describe the three schema architecture and Data Independence , why do we need mapping between each
3 levels.
4 List the Notations used in ER diagram and write about database schema languages and interfaces.
Explain the notations involved in ER diagram. Write ER diagram for the following
(i)Ternary relationship (ii) Recursive relationship
5 iii)Composite Attribute (iv) Cardinality Ratio
v) Multivalued Attribute (vi) Derived Attribute
Draw E-R diagram for
6 (i)Library database by taking into account at least 4 entities
(ii) University database by taking into account at least 4 entities
Solve using relation algebra operation
EMP(Name,SSN,Salary,SuperSSN,Gender,Dno) DEPT(DNum,Dname,MgrSSN,Dno)
DEPT_LOC(Dnum,Dlocation)
DEPENDENT(ESSN,Dep_name,Sex)
7 WORKS_ON(ESSN,Pno,Hours)
PROJECT(Pname,Pnumber,Plocation,Dnum)
1. For every project located in ‘Stafford’, list the project number, the controlling department
number, and the department managers lastname, address, and birth date.
2. Retrieve the names of employees who work on all the projects that “ JOHNSMITH”
works.
Classify different type of update operations on relational database, along with an example of violation of
8 referential and entity integrity in each of update operation?
Describe the steps of ER-to-Relational Mapping with suitable examples and schema for each step.
9
10 Categorize Relational algebraic operations (a) Unary Operation (b) Binary Operations
Build a sample ER diagram for following
11 (i)Weak entity type
(ii) participation constraint
(iii)cardinality ratio (iv) recursive relationship
12 Illustrate the advantage of Database Management system over File processing System?
Construct an ER diagram for an employee table. The constraints are as follows:
i)Employee works for a Department
ii)Every Department is headed by manager
13 iii)an employee works for 1 or more projects
iv)An employee has dependents
v)The department Controls the project
Illustrate the different Relational model constraints with an example?
14
Given the following relational database
Sailors(sailorid, sailor_name, rating, age)
Boats(BoatId, BoatName, color)
Reserves(sailorid, BoatId,day)
15 Solve the following queries:
i)Find names of sailors who’ve reserved boat 103
ii) Find names of sailors who’ve reserved a red boat
iii)Find names of sailors who have ratings at least 8
iv) Find sailors who’ve reserved a red or a green boat
16
Apply all the steps of ER to Relational database schema Mapping algorithm for following ER diagram?
17 Illustrate Aggregate Functions.