edited by
21,874 views
63 63 votes

Given the following two statements: 

S1: Every table with two single-valued attributes is in $\text{1NF, 2NF, 3NF}$ and $\text{BCNF}.$ 

S2: $AB \to C, D \to E, E \to C$ is a minimal cover for the set of functional dependencies $AB \to C, D \to E, AB \to E, E \to C$.

Which one of the following is CORRECT?

  1. S1 is TRUE and S2 is FALSE.
  2. Both S1 and S2 are TRUE.
  3. S1 is FALSE and S2 is TRUE.
  4. Both S1 and S2 are FALSE.

5 Answers

Best answer
71 71 votes

(A) S1 is TRUE and S2 is FALSE.

A relation with $2$ attributes is always in BCNF

The two sets of functional dependencies are not the same. We can not derive $AB \to E$ from the $1^{\text{st}}$ set.

edited by
34 34 votes

S1 is true bcoz if there are only 2 attributes then relation is always in bcnf.

let R(A B) possible cases are:

(1) {A->B } here A is cand key so BCNF

(2) {B->A}  here B is cand key so BCNF

(3) { A->B  B->A} here A and B both are cand key so BCNF

​​​​​​​(4) no non-trivial FD's here AB is cand key so BCNF

S2 is false bcoz minimal cover should be { D->E , AB->E , E->C }

so ans is A

19 19 votes
Table with 2 single valued attributes will be in 1NF,

2NF because there can not be a partial key dependencies. Key can be 1 attribute or 2 attributes. If one is key then other can be dependent, if 2 attributes make key then it is trivial.

3NF, there is no question of Transitive dependencies.

BCNF, because if at all a dependency exists, the determinant will be a Key.
Answer:
Position:
Show:

Related questions

78 78 votes
11 answers 11 answers
33.2k
33.2k views
go_editor asked Sep 28, 2014
33,227 views
Consider a $6$-stage instruction pipeline, where all stages are perfectly balanced. Assume that there is no cycle-time overhead of pipelining. When an application is exec...
53 53 votes
4 answers 4 answers
15.0k
15.0k views
go_editor asked Sep 26, 2014
15,023 views
Consider the relation scheme $R = (E, F, G, H, I, J, K, L, M, N)$ and the set of functional dependencies $$\left\{ \{E, F \} \to \{G\}, \{F\} \to \{I, J\}, \{E, H\} \to \...
68 68 votes
6 answers 6 answers
23.0k
23.0k views
go_editor asked Sep 28, 2014
22,986 views
Given the following schema: employees(emp-id, first-name, last-name, hire-date, dept-id, salary) departments(dept-id, dept-name, manager-id, location-id)You wan...
37 37 votes
4 answers 4 answers
14.8k
14.8k views
go_editor asked Sep 26, 2014
14,757 views
Consider the following four schedules due to three transactions (indicated by the subscript) using read and write on a data item x, denoted by $r(x)$ and $w(x)$ respectiv...