Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 2 (25 marks) You are given the table: Assignment(instructorId, instructorName, coursecode, courseDescription, courseFee, studentid, studentName, dateEnrolledInCourse, assignmentRunningNumber, assignmentWeightage, assignmentScore) A course may be taught

Question 2 (25 marks) You are given the table: Assignment(instructorId, instructorName, coursecode, courseDescription, courseFee, studentid, studentName, dateEnrolledInCourse, assignmentRunningNumber, assignmentWeightage, assignmentScore) A course may be taught by more than one instructor and an instructor may teach more than one course. A student may enrol in more than one course, and a course may have more than one student enrolled. dateEnrolledInCourse is the date a student currently enrols for a particular course. A course has many assignments, each identified by the course code and a running number generated for each course. assignmentScore is the score a student is awarded for a particular assignment, and assignmentWeightage is the weightage that an assignment contributes to the overall course grade. ________________________________________________________________________________ State your assumption(s) for only data requirements that are not specified. (a) Formulate and list the functional and multi-valued dependencies. (9 marks) (b) Propose candidate key(s) for the table. Show composite keys in brackets. (1 mark) (c) (i) For each MVD in answer to Q2(a), explain why it is subsumed or not subsumed. (ii) Normalise the relation to BCNF and 4NF by applying the BCNF approach covered in the course text. Show how you apply the steps to arrive at the tables and explain whether each derived table at each iteration is already in BCNF and 4NF (if applicable). (8 marks) (d) Assemble your BCNF and 4NF tables clearly and include referential integrity constraint(s), if any, in the forms described below: Tables in this form: TABLE-NAME(col-name1, col-name2, ..., col-namen) indicate (PK) against the primary key and indicate (FK) against the foreign keys, if any. Referential integrity constraint(s), if any, together with the child table in this form: TABLE-NAMEx.col-namex1 ...col-namexn must exist in TABLE-NAMEy.col-namey1...col-nameyn (7 marks)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design And Relational Theory Normal Forms And All That Jazz

Authors: Chris Date

1st Edition

1449328016, 978-1449328016

More Books

Students also viewed these Databases questions

Question

Describe the nature of entrepreneuring and intrapreneuring

Answered: 1 week ago

Question

Explain the pages in white the expert taxes

Answered: 1 week ago