All mock tests are FREE till 31 December — register to save your progress
Unit 4 · Database Management Systems Paper 2 CS · December 2022 Shift 1

Consider Student(stuid, dept, clsroll) with FD1: stuid → dept, FD2: dept → stuid, FD3: stuid → clsroll, FD4: clsroll → stuid, FD5: dept → clsroll. Which functional dependencies can be removed to obtain a canonical cover?
A. FD2 and FD3
B. FD1 and FD5
C. FD5
D. FD1
Choose the correct answer from the options given below:

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: B. A, C only

Explanation

All three attributes determine one another. Removing FD5 (implied by dept → stuid → clsroll) works. Removing FD2 and FD3 leaves the cycle stuid → dept → clsroll → stuid, which still implies everything. Removing FD1 (or FD1 and FD5) loses stuid → dept.

More Database Management Systems questions