DBMS Assignment

You might also like

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

Department of Computer Science & Design

SECOND ASSIGNMENT
Database Management
Course Submission Time 9 AM to 4:45 PM
System
Course
21CS53 Submission Date 17-02-2022
Code
Sem/Sec 5th Max Marks 20

All questions are Compulsory Mark CO BT


s s L
An example for each, explain the purpose and notation for
the following operations of relational algebra:
i)SELECT ii) PROJECT iii) UNION 10 2
01 L2
iv)CARTESIAN PRODUCT v) DIVISION vi) RENAME
OPERATION vii) JOIN OPERATION

02 Explain ER to relational mapping algorithm with suitable 10 3


example for each. L2
Explain different aggregate functions with and SQL example.
10 3
L2
03.
Consider the following COMPANY database
EMP(Name,SSN,Salary,SuperSSN,Gender,Dno)
DEPT(DNum,Dname,MgrSSN,Dno)
DEPT_LOC(Dnum,Dlocation)
DEPENDENT(ESSN,Dep_name,Sex)
WORKS_ON(ESSN,Pno,Hours)
PROJECT(Pname,Pnumber,Plocation,Dnum)
Write the relational algebra queries for the following ( 10 M)
(i) Retrieve the name, address, salary of employees who
04. work for the Research department. 10 3
L3
(ii) find the names of employees who work on all
projects controlled by department number4.
(iii) Retrieve the SSN of all employees who either in
department no :4 or directly supervise an employee who
work in department number :4
(iv) Retrieve the names of employees who have no
dependents
(v) Retrieve each department number, the number of
employees in the department and their average salary.
05. Briefly explain types of JDBC drivers. 10 3 L2
Department of Computer Science & Design

CO1 L4 Identify, analyze and define database objects, enforce integrity constraints on a
database using RDBMS
CO2 L3 Use Structured Query Language (SQL) for database manipulation and also
demonstrate the basic of query evaluation.
CO3 L3 Design and build simple database systems and relate the concept of transaction,
concurrency control and recovery in database
CO4 L3 Develop application to interact with databases, relational algebra expression
CO5 L3 Develop applications using tuple and domain relation expression from queries

Bloom’s Taxonomy Level


L1 Remembering
L2 Understanding
L3 Applying
L4 Analyzing
L5 Synthesizing
L6 Creating

You might also like