290 views
0 votes
0 votes

My answer is 11 but in book given answer is 10.if i am wrong please give proper explanation.

as i am getting

2^3+2^2-2^0=11

1 Answer

Best answer
2 votes
2 votes
Didn't use any formula, instead went by the naive method.

Superkeys for A : A, AB, AC, AD, ABC, ABD, ACD, ABCD. So n(A) = 8

Superkeys for BC : BC, BCD, ABC, ABCD. So n(BC) = 4

Here, n(A $\cap$ BC) = 2 as ABC and ABCD are common superkeys

So taking union, we get

n(A $\cup$ BC) = 8 + 4 - 2 = 10
selected by

Related questions

5 votes
5 votes
1 answer
1
set2018 asked Nov 12, 2017
3,967 views
consider the following relational schema R(ABCDE) .The number of super keys in relation R if every two attributes of relation R is candidate keys are ___________
2 votes
2 votes
1 answer
2
1 votes
1 votes
1 answer
3
Sagar Pawar asked May 10, 2015
753 views
If S is a superkey such that S $\cap$ UID is NULL then S $\cup$ UID is also a superkey