Question 51
MediumStudent(roll, hobby, language) has roll →→ hobby and roll →→ language, independent of each other. Which normal form does splitting it into (roll, hobby) and (roll, language) achieve?
- A.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
DBMS
Student(roll, hobby, language) has roll →→ hobby and roll →→ language, independent of each other. Which normal form does splitting it into (roll, hobby) and (roll, language) achieve?
3NF only
5NF only
2NF only
4NF
Sign up free to see the answer and a step-by-step explanation.
Which is the main cost of a highly normalised design in reporting systems?
Queries need many joins, which can be slow
Larger table rows
More redundancy
More update anomalies
Sign up free to see the answer and a step-by-step explanation.
Which FD is trivial?
A → B
AB → C
AB → A
A → BC
Sign up free to see the answer and a step-by-step explanation.
A relational database table is said to be in Third Normal Form (3NF) if it is in 2NF and:
Every non-prime attribute is fully functionally dependent on the primary key
There are no multi-valued dependencies
No non-prime attribute is transitively dependent on any candidate key
Every determinant is a super key
Sign up free to see the answer and a step-by-step explanation.
R(A, B, C, D, E) has FDs AB → C, C → D and D → E. What is the closure of AB?
{A, B}
{A, B, C, D}
{A, B, C, D, E}
{A, B, C}
Sign up free to see the answer and a step-by-step explanation.
R(A, B, C) has FDs AB → C and C → B. Which normal form is R in?
BCNF
2NF but not 3NF
3NF but not BCNF
Only 1NF
Sign up free to see the answer and a step-by-step explanation.
R(A, B, C, D) has FDs A → B and C → D. What is the candidate key?
C
A
ABCD
AC
Sign up free to see the answer and a step-by-step explanation.
Which normal form deals with multivalued dependencies?
3NF
4NF
BCNF
2NF
Sign up free to see the answer and a step-by-step explanation.
Why might a designer stop at 3NF rather than BCNF?
Decomposing into BCNF may lose some functional dependencies, while a dependency-preserving 3NF decomposition always exists
3NF has no redundancy at all
BCNF is not supported by SQL
BCNF tables can't have keys
Sign up free to see the answer and a step-by-step explanation.
R(A, B, C) is decomposed into R1(A, B) and R2(B, C). The only FD is A → B. Is the decomposition lossless?
No, because B is not a key of either R1 or R2
Yes, always
Only if R has no NULLs
Yes, because B is common to both
Sign up free to see the answer and a step-by-step explanation.