Department of Computer Science and Engineering
ASSIGNMENT I
ACADEMIC YEAR: 2025-2026 YEAR/ SEM: II / 03
SUBJECT CODE&NAME :24CS304 Database Management System
S. Assignment Questions K CO
No. Level
1 Explain the main differences between the file processing K2 CO1
system ,DBMS and RDBMS?
2 List the various steps for setting up a Database for an Enterprise. K2 CO1
3 Construct an ER Diagram for a Company with a set of K3 CO1
Employees.Associate with each employee a log of various jobs
and projects taken over.
4 Construct an ER diagram for e-commerce and Banking system K3 CO1
5 Explain the reduction of the ER Schema to tabular K2 CO2
representation for employee table ?
6 Describe about Mapping Cardinalities and Existence K2 CO2
Dependencies.
7 Consider the following database where the primary keys are K2 CO2
underlined .
Person(ss#,name,address)
Car(license,year,model)
Accident(date, driver,damage amount)
Owns(ss#, license)
Log(license,date,driver)
Construct the following SQLqueries for this relational database:
a)Find the total number of people whose car were involved in
accident in 1989.
b) Find the number of accidents in which cars belonging to
“John” were involved.
c)Add a new customer to the database.
d)Delete the KIA belonging to “John”.
e)Add a new accident record for the Toyota belonging to
“Jones”
8 What do mean by lossless join decomposition? K1 CO2
9 Give an SQL schema definition for the employee database K2 CO3
given below :
Employee(employee name ,street,city)
Works(employee name,company name ,salary)
Company(company name,city)
Manages(employee name,manager name)
Choose an appropriate domain for each attribute and an
appropriate primary key for each relation schema.
10 Consider the relational database: K2 CO3
Employee(employeename,street,city)
Works(employeename,company name,salary)
Company(company name,city)
Manages(employeename,managername)
Construct the following SQL queries for this relational
database:
• Modify the database so that”Jones”now lives in Newton.
• Give all employees of first bank corporation a percent
raise.
• Give all managers of first bank corporation a percent
raise.
• Give all managers of first bank corporation a percent
raise unless the salary becomes greater than $100000;in
such cases give only a 3 percent raise
• Delete all the tuple in the works relation for employees
of Small Bank Corporation.
ASSIGNMENT RUBRICS
Sl.
Criteria Marks Awarded Marks
No
1. Understanding of Concepts 20
2. Accuracy of Calculations/Analysis/PROGRAMS 20
3. Real-world Relevance/Application 20
4. Clarity of Presentation & Diagrams 20
5. Originality and Innovation 20
Total 100
NAME :
REG.NO :
SUBMISSION DATE :
Signature of the Staff