Candidate No.
______________
KADI SARVA VISHWAVIDYALAYA
DATABASE MANAGEMENT SYSTEM (IS 343)
MBA II Semester III Batch 2012-14
End Term Examination Marks: 40
Duration: 2.5 Hrs Time: 10.00 to 12.30 Date: 01/01/14
Instructions:
1. This paper has FIVE questions.
2. Your answer should be precise and to the point.
3. Give examples and make diagrams wherever necessary.
________________________________________________________________________________________
Question 1. Answer the following: [08]
A. How do you think an organization can prosper if it implements database management system?
B. Explain the concept of a data model. Explain any one of the data models that are used in database
management systems?
OR
B. Describe the main characteristics of the database approach in contrast with the file oriented
approach.
Question 2. Answer the following: [08]
A. What is the purpose of normalizing data?
B. What is meant by degree of relationship? Explain the various types of degree of relationship
diagrammatically.
OR
A. Define the concept of primary and foreign key constraints. Why are primary and foreign keys used?
B. Explain Database Administrator's responsibilities.
Question 3. Answer the following: [08]
A. Explain the various types of constraints that may exist in relationships.
B. What is data independence? Explain the difference between physical and logical data
independence.
OR
A. Differentiate between DDL and DML
B. Explain the components of a database along with their relationship.
Question 4. Answer the following: [08]
Consider the employee database, where the primary keys are underlined. Give an expression in SQL for each
of the following queries:
employee (employee-name, street, city)
works (employee-name, company-name, salary)
company (company-name, city)
manages (employee-name, manager-name)
A. Find the names of all employees who work for First Bank Corporation.
B. Find the names and cities of residence of all employees who work for First Bank Corporation.
C. Find the names, street addresses, and cities of residence of all employees who work for First Bank
Corporation and earn more than Rs.10,000.
D. Find all employees in the database who live in the same cities as the companies for which they
work.
OR
Consider the following schema:
Suppliers(sid: integer, sname: string, address: string)
Parts(pid: integer, pname: string, color: string)
Catalog(sid: integer, pid: integer, cost: real)
sid is the key for Suppliers, pid is the key for Parts, and sid and pid together form the key for Catalog.
Write an expression in SQL for each of the following queries:
A. Find the sids of suppliers who supply some red or green part.
B. Find the sids of suppliers who supply every red part.
C. Find the sids of suppliers who supply only red part.
D. Find the sids of suppliers who supply some red part and some green part.
Question 5. Answer the following: [08]
In an organization several projects are undertaken. Each projects can employ one or more employees. Each
employee can work on one or more projects. Each project is undertaken on the request of client. A client can
request for several projects. Each project has only one client. A project can use a number of items and an
item may be used by several projects. Draw an E-R diagram to represent the information given above.