retagged by
1,296 views
0 votes
0 votes
Which of the following statements are true for weak entity sets:

1. A weak entity set cannot have a primary key.

2. A weak entity set must have a local attribute in primary key.

3. A weak entity must borrow an attribute from another entity sey to form a primary key.

a) 1 and 2

b) 2 and 3

c) 3 only

d) none of these
retagged by

2 Answers

2 votes
2 votes

i think all options are correct here ...

1) entity has no primary key that's why its called as weak entity.....so true..

2)i think 2nd is also correct because...weak entity has PARTIAL key ...which seperate a record from set of few tuples not all DATABASE...so the key which is going to be the PRIMARY key for weak entity should have it's own LOCAL attribute in key...

3)yes weak entity borrow attributes from parent entity .....

SO ALL OPTIONS ARE CORRECT...

also 2nd option says that key should contain local attribute from weak entity....it doesnt say that key is completely made up of local attributes... 

0 votes
0 votes
Ans b. For point 1. Weak entity cannot have pk formed with its set of attributes but it can have primary key as said in point 3.

Related questions

2 votes
2 votes
2 answers
1
go_editor asked Jul 30, 2016
15,650 views
For a weak entity set to be meaningful, it must be associated with another entity set in combination with some of their attribute values, is called as:Neighbour SetStrong...
0 votes
0 votes
1 answer
2
vishnu777 asked Sep 30, 2021
314 views
Can anyone explain the concepts of entity and entity sets in detail?
0 votes
0 votes
0 answers
3
codingo1234 asked Apr 8, 2019
248 views
Can a weak entity depend on more than one strong entity?If yes then how does that exaclty work?