0% found this document useful (0 votes)
17 views

Cse201 Dbms Minor

Uploaded by

konark konark
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views

Cse201 Dbms Minor

Uploaded by

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

Subjeet Code- CSE-201

1467
Enrollment No....
MID TERM EXAMINTION-September 2023

Database Management System


Time: 01Hr Maximum marks: 30

Note: Attempt questions as per Instructions

SECTION-A (Attempt any two questions out of three, Each of 05 Marks)


Q.1. What is the difference between logical data independence and physical data
Which one is harder to achieve? Why? Independence?

Q.2. What role does the concept of foreign key piay when specifying the most
meaningful join operations? common types of
Q.3. List functions and services of DBMS. Also List
limitations of file-based system over DBMS.

SECTION-B (Attepnt env (One qu;*tio e a f owo, K'ah nf 10 Mark<)

0.1. Assume we have the following application that models soccer


teams, the games they play,
and the players in each team. In the design, we want to capture the following:
" We have a set of teams, each team has an ID (unique
which city this team belongs.
identifier), name, main stadium, and to
" Each team has many players, and each player belongs to one
team. Each
(unique identifier), name, DoB, start year, and shirt number that he uses. player has a number
"Teams play matches, in each match there is a hTst team and a guest team. The match takes
in the stadium of the host team. place
" For each match we need to keep track of the following:
o The date on which the game is played
o The final result of the match
o The players participated in the match. For each player, how many goals he scored,
or not he took yellow card, and whether or not he took red card. whether
During the match, one player may substitute another player. We want to capture this
substitution and the time at which it took place.
Each match has exactly three referees. For each referee we have an ID (unique
identifier),
name, DoB, years of experience: One referee is the main referee and the other two are assistant
referee.

PT.O
Design an ER diagram tocapture the above requirements. State any assumptions you have that
affects your design (use the back of the page if needed). Make sure cardinalities andprimary
keys are clear.

Q.2. (a) Consider the following relational R= {A, B,C,D,E.F,G,HIJ} and the set of FDs
P={{AB>C} {A>DE)(B’F} {F’GH} {D>}}. What is the key for R? Deccmpose Rinto
2NF and 3NF Relations.

(b) Give a set of FDs for the relation schema R(A,B,C,D) with
which R is in INF but not in 2NF.
primary key AB under

SECTION-C (Con1pulsory, 10 Marks)


Q.1. Consider the employee database given below, where the
primary keys are underlined.
employee (employee-name, street, city)
works (employee-name,
company-name, salary)
Company (Company-name, city)
manages (emplovee-name, manager-name)
Give an expression in Relational Algebra and Tuple
the following queries. Relational Calculus for each of
a. Find the names of ail employees who
b. Find the nan:es, street addresses, and work for First Bank Corporation.
cities of residence of all employees who work
for First Bank Corporation and earn
more
C. Find all employees in the database who than $10,000.
live in the same cities as the companies for
which they work.
d. Find all employees in the database who do
e. Find all employees in the database who
not work for First Bank Corporation.
earn more than each employee of Small Bank
Corporation.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy