2021 DBMS Mid
2021 DBMS Mid
(A) i
(B) ii
(C) Both
(D) None
The rule which guarantees that every CO2
primary key attribute is NOT NULL?
A.Entity Integrity
B.Domain Constraint
C.Referential Integrity
D.Operational Constraint
In a university database, every faculty must CO2
have to teach at least one course. However,
a course can be taught by only one faculty.
Again, there may be some courses for which
no faculty has been allotted. Which one of
the following correctly represents the
cardinality and participation for the
relationship between faculty and course?
A. 1:1, total, partial
B. 1:1, partial, partial
C. 1:M, partial, total
D. 1:M, total, partial
Q.No:1( Select the relational expression which could CO3
c) possibly return the following result from a
relation R:
a c
1 2
2 3
A. 2
B. 3.
C. 4
D. 5
Q.No:1( What will be the output if the following is CO3
e) executed?
Select * from customer where name like
‘%K%’
A. Display the details of only the customers
whose name starts with ‘K’.
B. Display the details of only the customers
whose name ends with ‘K’.
C. Display the details of the customers
whose name consists of ‘K’ at any position.
D. All of the above.
Question No Question CO
Mapping
Q.No:2 A. Assume there are different IPL cricket teams, CO2
having players in each team. In the ER design, we
want to show the following:
There are a set of teams, each team has an ID (unique
identifier), name stadium_name, and to which city
this team belongs.
Each team has many players, and each player belongs
to one team. Each player has a number (unique
identifier), player_name, DoB, age(as derived
attribute) start year, and shirt number that he uses.
Teams play matches, in each match there is a host
team and a guest team. The match takes place in the
stadium of the host team.
For each match we need to keep track of the
following:
The date on which the game is played
The final result of the match
The players participated in the match.
For each player, how many runs he scored,
whether or not he took any wicket
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 umpires
(umpire can either be a bowler’s end umpire,
square leg umpire, third umpire). For each
umpair we have an ID (unique identifier),
name, contact number (as multi-valued
attribute) DoB, years of experience.
Q.No:4 Students can take part in multiple sports. Each sport CO2
has minimum two coaches. One coach must be hired by
a certain department and must coach only one sport,
which may have many student-participants from
different departments. A department can hire multiple
coaches for multiple games. A department can enroll
maximum 120 students. A student must be enrolled to
one department only. Every student must have a first
name and a last name along with a unique roll number,
every coach must have a first name and a last name
along with a unique employee id, every department
should have a unique department name, and a sport
must have a unique sports_id.
A. Draw an ERD for the University Sports System
from the above description. Do not use any additional
entities; however, you can add proper attributes to
describe the entity sets. [5 Marks]
[6+2+2 marks]
[2*5 marks]
Controller of Examinations