DBMS-ASSIGNMENT-1-2025
DBMS-ASSIGNMENT-1-2025
Assignment -1 SEM: 4
Module-1
ii)Define data base and describe the implicit properties of data base.
3. What is a Database? Describe the three-schema architecture. Why do we need mappings between schema
levels?
7. Define the terms: a) Entity b) Attribute c) Composite attribute d) Derived attribute e) Complex attribute
f) Multi-valued attribute g) key attribute h) null value i) Participation constraint j) Participation role k)
Relationship degree l)Data Dictionary m)Weak entity n)Data base schema o)Data catalogue p)Instance
9.Explain the component modules of DBMS & their interactions with diagram
10. Describe the two alternatives for specifying structural constraints on relationship types.
11. What is the concept of weak entity type used in data modeling? Explain the role of partial key in design of
weak entity type.
12. Briefly discuss the different types of update operations on relational database. Show an example of
violation of the referential integrity in each of the update operation.
14.Write the E-R diagram and UML diagram for employee database the constraints are as fallows
Module-2
1. Explain the different types of update operations on relational database. How basic operation deals with
constraint violation.
6. Discuss the E.R to Relational mapping algorithm with example for each step.
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)
(i)Retrieve the name, address, salary of employees who work for the Research department.
(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
(v) Retrieve each department number, the number of employees in the department and their average salary.
Works(Pname,Cname,salary)
Lives(Pname,Street,City)
i)Find the names of all persons who live in the city Bangalore.
ii)Retrieve the names of all person of "Infosys" whose salary is between Rs .50000
iii)Find the names of all persons who lives and work in the same city
iv)List the names of the people who work for “Tech M” along with the cities they live in.
Submission Date:17/03/2025