preview

Mcb Week 1 Assignment

Better Essays

This assignment is based on lecture 5 (chapter 14). o Submit your own work on time. No credit will be given if the assignment is submitted after the due date. o Note that the completed assignment should be submitted in .doc, .docx, .rtf or .pdf format only. o In MCQs, if you think that your answer needs more explanation to get credit then please write it down. o You are encouraged to discuss these questions in the Sakai forum. (1) Every time attribute A appears, it is matched with the same value of attribute B, but not the same value of attribute C. Therefore, it is true that: A. A!B B. A!C C. A!(B, C) D. (B,C) ! A ANS: A (2) A table is in 2NF if the table is in 1NF and what other condition is met? A. There are no functional dependencies. …show more content…

Another difficulty using relations that have redundant information is the problem of update anomalies. These can be classified as Insertion, Deletion or Modification anamolies. (7) Describe the concept of full functional dependency and describe how this concept relates to 2NF. Provide an example to illustrate your answer. (Review question 14.10 from the book) ANS: Full functional dependency indicates that if A and B are attribute of a relation, B is fully functional dependent on A if B is functionally dependent on A, but not on any proper subset of A. Second Normal Form (2NF) is a relation that is in first normal form and every non-primary key attribute is fully functionally dependent on the primary key. (8) Describe the concept of transitive dependency and describe how this concept relates to 3NF. Provide an example to illustrate your answer. (Review question 14.11 from the book) ANS: Transitive dependency A condition where A, B and C are attributes of a relation such that if A!B and B!C, then C is transitively dependent on A via B (provided that A is not functionally dependent on B or C) Third Normal Form (3NF) is a relation that is in first and second normal form in which no Non- Primary key attribute is transitively dependent on the primary key. (9) Solve exercise 14.14 (a, b, c) on page 390 from the course text book (5th edition). For the 4th edition users, the question is 13.14 (a,b,c) (a) ANS: The functional dependencies : Patient No ! Full Name Ward

Get Access