retagged by
3,326 views
2 votes
2 votes

Consider the following entity relation diagram

If A has 50 entities,B has 20 entities and C has 200 entities. what is the maximum number of triples of entities that could be in the relationship Set R ?

(A) 50

(B) 100

(C) 1000

(D) 10,000

ans is A,C(given)

please explain how??

retagged by

2 Answers

4 votes
4 votes

Relation between A and B = R(A,B) = Many to One.

Relation between A and C = R(A,C) = Many to One.

Relation between B and C = R(B,C) = One to One.

Foreign Key of B and C will be added in A to mantain A's Relationship with B and C .

So now , A will be the Deciding Factor. 

And Total Tuples in the Relation R will be total Tuples Carried by A.

So, here you can easily decide the Correct one as , Option A contains a=50=t. And that is TRUE.

Hope This will Clear Your Doubt !!!

reshown by
2 votes
2 votes
i dont know how it is 1000 but, i got 50 as the answer.
there is 1 to 1 relation between B and C,many-one between A and B, many to one between A and C.
B C pairs can be only 20 as there is one-one relation between them.
the requred triplet is <A B C>
there is many to one relation between A and <BC>
one element of A shud be related to atmost one pair of <BC>
there are 50 distinct values of A. each A can relate to any one of 20 <BC> combinations. so, maximum of 50 total number of tuples can be present

Related questions

0 votes
0 votes
1 answer
1
aditya kuppa 1 asked Dec 5, 2017
1,089 views
How many minimum tables are required for this er diagram consisting of a many - many relation and total participation of one of the entities.? Can't i merge relation R an...
2 votes
2 votes
1 answer
2
0 votes
0 votes
0 answers
4
practicalmetal asked Oct 26, 2023
373 views
Can someone please provide me with the correct explanation for this question