Beruflich Dokumente
Kultur Dokumente
APPLICATIONS
SESAP ZG518
Contact Session-2
BITS Pilani
Pilani Campus Febin.A.Vahab
QUIZ
Qn1:
Entity is a _________
a) Object of relation
b) Present working model
c) Thing in real world
d) Model of relation
Qn 2:
Which of the following can be a multivalued attribute?
a) Phone_number
b) Name
c) Date_of_birth
d) All of the mentioned
Ans:Phone_number
Qn3:
Which of the following indicates the maximum number of
entities that can be involved in a relationship?
A. Minimum cardinality
B. Maximum cardinality
C. ERD
D. Greater Entity Count (GEC)
Ans:B
Qn4:
A recursive relationship is a relationship between an entity and
________ .
A. itself
B. a subtype entity
C. an archetype entity
D. an instance entity
Ans:A
Qn5:
A. entities.
B. attributes.
C. identifiers.
D. relationships.
Ans:B
Qn6:
Ans:C
The application must keep track of all the positions at the firm, the employees
filling these positions, the allowances for these positions, the salary scales for
these positions, and the company vehicles assigned to these positions.
Employees
Positions
Allowances
Salaryscales
Vehicles
Employees-Id,SSN,Firstname,Lastname
Positions-Id,Positionname
Allowances-Id,Name
Salaryscales –Code,Range
Vehicles-Vehicle id,registration num
Business Rules:
One employee can fill in multiple positions
One position can be filled by more than one employee
One position has one particular salary scale.
One Salary scale can be attached to multiple positions
One position is allocated multiple allowances
One allowance can be allocated to multiple positions.
One position is allotted one vehicle.
One vehicle is allotted to one position.
Give an example of an attribute (or set of attributes) that you can deduce is not
a candidate key, based on this instance being legal.
Is there any example of an attribute (or set of attributes) that you can deduce is
a candidate key, based on this instance being legal?