738 views

2 Answers

Best answer
4 votes
4 votes

From the above question, you will clearly understand about weak Entity . 

Let us revise what is weak Entity ?

1 . A weak entity is one which is depend upon other strong entity for its existence 

2. The attributes in weak entity are not sufficient to identify tuples . so it need primary key of strong entity 

3. If you have a relation of strong and weak entity . then the weak entity always have TOTAL participation . converse may not be true => every entity which has a total participation need not be a weak entity (check in the above figure )

4. you need to have an identifying relationship (double diamond box ) which happen to be in between PARTS and PRODUCTS and NOT between PARTS AND TRAINER 

the above question check point no 3 and point no 4 

Hence now it should be pretty clear that option a is true :)

selected by
0 votes
0 votes
First of all weak entity should not have any primary key.Parts id attribute is the discriminator.it depends on the strong entity set Products for its existence because “belongs to” is the identifying relationship.So the schema for the weak entity set Parts will be

Parts(Part-id,P-id,Part-name) with (Part-id,Part-name) as the primary key.

For further reference follow the book Database Systems Concept
Answer:

Related questions

1 votes
1 votes
2 answers
1
himanich asked Jun 22, 2016
2,483 views
Which of the following are true for relational database?Number of rows is cardinality, number of columns is degreeTuple is an entity, column is a relationRelation is an e...
3 votes
3 votes
3 answers
2
CKgurav asked Jan 1, 2016
1,018 views
how many tables will get generated for following E-RI believe an answer is 3.2 tables for 2 different multivalued attributes and one for entity "Dept.".
0 votes
0 votes
0 answers
3
0 votes
0 votes
0 answers
4
Deepalitrapti asked Aug 16, 2018
178 views