Home » Database » Database miscellaneous » Question

Database miscellaneous

  1. The relational schema Student Performance (name, coureNo., rollNo., grade) has the following functional dependencies
    name, courseNo. → grade
    rollNo., courseNo. → grade
    name → rollNo
    rollNo. → name
    The highest normal form of this relation schema is
    1. 2NF
    2. 3NF
    3. BCNF
    4. 4NF
Correct Option: B

For easy understanding let's say attributes (name, courseNo, rollNo, grade) be (A,B,C,D) Then given FDs are as follows :
AB → D, CB → D, A → C, C → A
Here there are two Candidate keys, AB and CB.
Now AB → D and CB → D satisfy BCNF as LHS is superkey in both.
But, A → C and C → A, doesn't satisfy BCNF. Hence we check for 3NF for these 2 FDs.
As C and A on RHS of both the FDs are prime attributes, they satisfy 3NF.
Hence for the whole relation the highest normal form is 3NF.



Your comments will be displayed only after manual approval.