Dbms Question Bank (Bcs403)

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

QUESTION BANK

COURSE: Database Management Systems course code: BCS403 SEM: IV

MODULE-1

1. Explain the main characteristics of the database approach.


2. Explain the Three Schema architecture with neat diagram. Why do we need mappings
among schema level?
3. Discuss with examples, Different types of attributes.
4. Explain the advantages of DBMS.
5. Explain the main phases of database design process with diagram.
6. Explain specialization and generalization with example.
6. Draw and ER Diagram for company database.
7. Draw an ER Diagram for Bank database.
8. Draw an ER Diagram for University Database.
9. Draw an ER Diagram for Movies Database.

MODULE-2

1. Explain the different constraints in relational algebra with example.

2. Explain the Characteristics of relation.

3. Explain the various types of join operations with example.

4. Explain relational algebra operation from set theory with examples.

i) Retrieve the name and id of all sailors who have reserved boat 103.
ii) Retrieve the sailor ids of sailors who have reserved a red boat.
iii) Retrieve the names of sailors who have reserved all boats.
iv) Find the names of the sailors who have reserved at least one boat
v) Retrieve the names of sailors who have reserved a red or green boat.
vi) Find the SID of sailors who are above 20 years of age and not reserved a red boat.
vii) Retrieve the name of oldest sailor with rating 10.
7. Consider the following relations of a COMPANY database schema.
EMPLOYEE(SSN, Fname, Lname, Address, Salary, Dno)
DEPARTMENT(Dnumber, DName, MgrSSn, Mgr_start_date)
PROJECT(PNumber, PName, Plocation,Dnum)
WORKS_ON(ESSN,Pno,Hours)
Develop relational algebra expression for the following.
i) Retrieve the first name, Last name and address of all employees who work for
department number 5.
ii) Retrieve the SSNs of employees who work on all projects controlled by department
number 4.
iii) For each department, find the number of employees in each department, the average
salary and maximum salary.
iv) Retrieve the average salary of all female employees.
v) Retrieve the name of the manager of each department
vi) For each project list the project name and total hours per week by all employees spent on
that project.
vii) Retrieve all employee names who either work in department no 5 and make over 25000 per
year or work in department number 5 and make over 30000.

8) Explain ER to Relational Mapping Algorithm with examples for each step.

MODULE-III

1. What are informal guidelines for database schema design? Explain with example.
2. With example, explain different update anomalies.
3. With example, explain different types of functional dependencies.
4. What do you mean by normalization of a relation? What is the need for normalization? With
suitable example, explain 1NF, 2NF and 3NF.

You might also like