100% found this document useful (1 vote)
135 views1 page

Test Question Paper DBMS

This document contains a minor exam on database management systems (DBMS) with 4 questions. The questions cover key DBMS concepts like primary keys, foreign keys, many-to-many relationships, and queries on relational database schemas. Students are asked to define and identify different key types in sample relations, write queries to retrieve employee and part information from multiple tables, and find suppliers and parts that meet criteria. The purpose is to evaluate students' understanding of fundamental DBMS topics.

Uploaded by

prem agrawal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
135 views1 page

Test Question Paper DBMS

This document contains a minor exam on database management systems (DBMS) with 4 questions. The questions cover key DBMS concepts like primary keys, foreign keys, many-to-many relationships, and queries on relational database schemas. Students are asked to define and identify different key types in sample relations, write queries to retrieve employee and part information from multiple tables, and find suppliers and parts that meet criteria. The purpose is to evaluate students' understanding of fundamental DBMS topics.

Uploaded by

prem agrawal
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

M.G.

M’s College of Engineering, Nanded


Department of Computer Science & Engineering
Academic Year 2017-18 (Even Semester)
Minor-I
Class: T.E. (CSE) (CGPA) Sub: DBMS

Each question carries 05 marks. Total Marks: 20

Q. No. Question Course Outcome Achieved


1. What is the purpose of DBMS? List four significant differences between a file
processing system and DBMS.

2. Explain and differentiate the following terms with suitable example:


i. Primary key ii. Super key
iii. Foreign key
Now, consider the following two relations from the RDBMS of a University System.
TEACHER(Name, Id, Gender, Address)
DEPARTMENT(Dname, Dnumber)
It is given that each teacher works in a unique department. You may assume any other attribute.
Now, using the definitions given by you, identify each of the above key in the two telations.

3. Consider the following schema of a relational database and answer the following queries.
Employee (emp_no, name, address)
Project (p_no, p_name)
Work_no (emp_no, p_no)
Part(part_no, part_name, qty_on_hand, size)
Use (emp_no, p_no, part-no, number)
a) Print the names of the employees who are working on a project named “DBMS”
b) Print the names of the employees who are not working in any project.
c) List the part numbers and names of the parts used in both the projects “DBMS” and “MIS”.

4. Consider the following schema of a relational database and answer the following queries.
Suppliers(sid: int, sname:string, address: string)
Parts(pid:int, pname:string, color:string)
Catalog(sid:int, pid:int, cost:real)
a) Find the names of suppliers who supply some red part.
b) Find the sids of suppliers who supply some red part or are at 221 Packer Ave.
c) Find the pids of the most expensive parts supplied by suppliers named Amit Deshmukh

Dr. A.M.Rajurkar
Subject In charge

You might also like