Question 21
EasyWhich normal form deals with join dependencies?
- A.
Boyce–Codd Normal Form
- B.
Fifth Normal Form (5NF)
- C.
Second Normal Form
- D.
First Normal Form
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
DBMS
Which normal form deals with join dependencies?
Boyce–Codd Normal Form
Fifth Normal Form (5NF)
Second Normal Form
First Normal Form
Sign up free to see the answer and a step-by-step explanation.
Is a table with a composite primary key always in 2NF?
Yes, always
Only if it has fewer than 10 rows
No; a non-key column may depend on only part of the key
Only if it has no NULLs
Sign up free to see the answer and a step-by-step explanation.
Which of these functional dependencies is trivial?
A → B
{A, B} → A
{A, B} → C
B → C
Sign up free to see the answer and a step-by-step explanation.
If A → B and B → C hold, which dependency follows by the transitivity rule?
A → C
B → A
C → B
C → A
Sign up free to see the answer and a step-by-step explanation.
Armstrong's axioms consist of reflexivity, augmentation and:
Union
Decomposition only
Normalisation
Transitivity
Sign up free to see the answer and a step-by-step explanation.
Given A → B, what does the augmentation rule allow you to derive?
A → C
AC → BC
C → B
B → A
Sign up free to see the answer and a step-by-step explanation.
In terms of functional dependencies, what is a candidate key?
Any attribute with numbers
The first column of a table
An attribute that is never NULL
A minimal set of attributes that functionally determines all the attributes of the relation
Sign up free to see the answer and a step-by-step explanation.
A relation is in Second Normal Form (2NF) if it is in 1NF and:
It has no transitive dependencies
No non-prime attribute is partially dependent on any candidate key
Every determinant is a candidate key
It has no multi-valued dependencies
Sign up free to see the answer and a step-by-step explanation.
A table with primary key (student_id, course_id) also has the column student_name, which depends only on student_id. Which normal form does this violate?
BCNF only
1NF
2NF
3NF only
Sign up free to see the answer and a step-by-step explanation.
Employee(emp_id, dept_id, dept_name) has emp_id → dept_id and dept_id → dept_name. Which normal form is violated?
3NF
1NF
2NF
None
Sign up free to see the answer and a step-by-step explanation.