Question: Question 1 [4 marks] Consider the following relation: Assignments(cid, aid, atype, duedate, latedate, weight). In this relation, cid is the course ID, aid is the
Question 1 [4 marks] Consider the following relation: Assignments(cid, aid, atype, duedate, latedate, weight). In this relation, cid is the course ID, aid is the assignment ID and atype is the assignment type. Using a single letter for each attribute, we can represent cid as C, aid as A, atype as T, duedate as D, latedate as L, and weight as W. Express each of the following statements as FDs:
a) (cid, aid) is the key of Assignments.
b) There is only one assignment for a given course with a given duedate.
c) Assignments with the same duedate also have the same latedate.
d) All assignments of the same type for the same course have the same weight.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
