SIT 200 Database Management System
SIT 200 Database Management System
DURATION: 2 HOURS
DATE:
TIME:
Instructions to candidates:
Page 2 of 4
ID Name Hostel Age Salary Year of service
Applicant No. Interview Data Interview Time Staff No. Room No.
13-May-2016 10:30 S5 R101
AP 1
13-May-2016 12:00 S5 R101
AP 2
13-May-2016 12:00 S9 R200
AP 3
22-Sep=2016 10:30 S5 R200
AP 2
Interviews are conducted by members of staff in some of the embassy rooms. In a given
day, a member of staff tends to use the same room throughout that day. An applicant
cannot have two interviews in the same day.
i. Explain the term candidate key (2 marks)
ii. List three candidate keys for the above (6 marks)
d) Explain what is meant by a functional dependency in a relation.
Give an example (2 marks)
a) A company places order for items. Each order is placed on a given date and may include
a variety of items in different quantities. The following table shows a sample of orders.
The primary Key is (OrderNo, ItemNo)
Page 3 of 4
Order No Item No Item Description Date Quantity
1 Screw 6-June-2017 100
1
2 Bolt 6-Jan-2017
1 50
3 Flange 2-Feb-2017
2 10
2 Bolt 2-Feb-2017
2 40
1 Screw 2-Feb 2017
2 80
Page 4 of 4