You are on page 1of 2

M.G.M.

's College of Engineering, Nanded

Department of Computer Science & Engineering

Assignment – I

TE CSE I & II Subject : DBS Date : 22/09/2022

NOTE: All the students are hereby informed that following is the Assignment I for the subject
Database Systems. They should solve the assignment on a separate notebook. The last date for the
submission of assignment is 03.10.2022 and after the due date submission of the assignment will
not be entertained.

1. Why would you choose a database system instead of simple storing data in file processing
system? Compare file processing system and DBMS.
2. What is logical data independence and why is it important? Explain the difference between
logical and physical data independence.
3. Explain different levels of data abstraction in detail.
4. What are the five main functions of a database administrator?
5. Compare different types of database languages?
6. What is data model? Explain the different data models.
7. Explain database system structure with block diagram.
8. Define and differentiate the following terms with suitable example:
i. Primary key
ii. Candidate key
iii. Super key
iv. Foreign key
9. Define the following operators of relational algebra with suitable example:
i. Select
ii. Project
iii. Set Difference
iv. Cartesian product

10. Define the following operators of relational algebra with suitable example:
i. Rename
ii. Union
iii. Set intersection
iv. Natural Join
v. Division
vi. Outer Join

11. Explain briefly modification of database.


12. Consider the following relational schema.
employee ( employee-name, street, city)
works (employee-name, company-name, salary)
company (company-name, city)
manager (employee-name, manager-name)
Write the following queries in relational algebra.
1. Find the names of all employees in this database who live in the same city as the
company for which they work.
2. Give all employees of First Bank Corporation a 15% salary raise.
3. Find the names and address of all employees who’s salary is above Rs. 20,000.
13. Consider the following relational schema.
employee ( empno , name, office, age)
books (isbn , title , authors, publisher)
loan (empno , isbn , date)
Write the following queries in relational algebra.
1. Find the names of employee who have borrowed a book published by MacGraw-Hill.
2. Find the names of employees who have borrowed more than five books published by
MacGraw-Hill.
3. Find the names of employees who have borrowed the Databases system concept Book
4. Find the names of the employee who have borrowed the book by author Korth on
01/09/2010.
14. Consider the relational database of Q. No. 13 and write the following queries in relational
algebra.
1. Find the company with the most employees.
2. Find the company with smallest payroll.
3. Find those companies whose employees earn a higher salary , on average, than the
average salary at First Bank Corporation.
15. List two reasons why null values might be introduced into the database.
16. Consider the following relational schema.
Suppliers(sid, sname, address)
Parts(pid, pname, address)
Catalog(sid, pid, cost)
a) Write relational algebra query to find the names of suppliers who supply some red part

b) Write relational algebra query to find the sid of suppliers who supply some red or green

parts

Subject In charge

Dr. Mrs. A.M. Rajurkar

You might also like