• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 19 pages
Exam (elaborations)

Cs6400 - Exam 2 Questions With Answers

Document preview thumbnail
Preview 3 out of 19 pages

CS6400 - Exam 2 QUESTIONS WITH ANSWERS

Content preview

CS6400 - Exam 2 QUESTIONS WITH |\ |\ |\ |\ |\ |\




ANSWERS

How to map entity types? - CORRECT ANSWERS ✔✔Create a
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\


relation for the entity type with the same name
|\ |\ |\ |\ |\ |\ |\ |\




How to map a single value property, B, in a relation, ET? -
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\


CORRECT ANSWERS ✔✔ET will have B as an attribute
|\ |\ |\ |\ |\ |\ |\ |\




How to map an identifying property, A, in a relation, ET? -
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\


CORRECT ANSWERS ✔✔A becomes the primary key of ET
|\ |\ |\ |\ |\ |\ |\ |\




How to map a composite property type, C composed of D and E,
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\


in a relation, ET? - CORRECT ANSWERS ✔✔ET will have D and E
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\


as attributes
|\




What happens to composite property C when mapping to
|\ |\ |\ |\ |\ |\ |\ |\ |\


relations? - CORRECT ANSWERS ✔✔C gets lost and the meaning
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\


expressed by the relation is not as rich. |\ |\ |\ |\ |\ |\ |\




By putting C in the relation, it loses the property of having atomic
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\


relations.
|\




How to map a multivalued property type, F, in a relation, ET? -
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\


CORRECT ANSWERS ✔✔Create a new relation, ET-F.
|\ |\ |\ |\ |\ |\




The combination of A and F become a composite key
|\ |\ |\ |\ |\ |\ |\ |\ |\

,A is a foreign key
|\ |\ |\ |\




For a given instance of ET, it will have a unique value of A.
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\




How to map 1:1 relationship types with entities ET1 (PK A) and
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\


ET2 (PK B)? - CORRECT ANSWERS ✔✔In either relation, add the
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\


PK of the other entity as a foreign key
|\ |\ |\ |\ |\ |\ |\ |\




How to map 1:1 relationships with mandatory participation? -
|\ |\ |\ |\ |\ |\ |\ |\ |\


CORRECT ANSWERS ✔✔Put the foreign key on the mandatory |\ |\ |\ |\ |\ |\ |\ |\ |\


side so that for every instance of the mandatory participation
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\


side, it is related to the other entity.
|\ |\ |\ |\ |\ |\ |\




How to map 1:M relationship types? - CORRECT ANSWERS
|\ |\ |\ |\ |\ |\ |\ |\ |\


✔✔Assign the foreign key to the "many" side |\ |\ |\ |\ |\ |\ |\




How to map N:M relationship types? - CORRECT ANSWERS
|\ |\ |\ |\ |\ |\ |\ |\ |\


✔✔Create a relation for ET1 |\ |\ |\ |\




Create a relation for ET2 |\ |\ |\ |\




Create a relation for the relationship between ET1 and ET2, which
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\


has FK to PK of ET1 (A) and another FK to PK of ET2 (B)
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\




How to map weak relationships? ET1 is strong entity, ET2 is weak
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\


entity - CORRECT ANSWERS ✔✔Create a relation ET1 with PK (A)
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\

, Create a relation ET2 with composite PK, A and B.
|\ |\ |\ |\ |\ |\ |\ |\ |\




A is an FK to ET1 in ET2
|\ |\ |\ |\ |\ |\ |\




How to map super-subtype relationships (mandatory/disjoint)?
|\ |\ |\ |\ |\




ET is supertype
|\ |\




ET1 and ET2 are subtypes - CORRECT ANSWERS ✔✔Create a
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\


relation for ET1 and ET2 with attributes of ET
|\ |\ |\ |\ |\ |\ |\ |\




How to map super-subtype relationships (mandatory/overlap)?
|\ |\ |\ |\ |\




ET is supertype
|\ |\




ET1 and ET2 are subtypes - CORRECT ANSWERS ✔✔Create a
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\


relation ET |\




Create a relation ET1 that has ET's PK as its PK and an FK to ET
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\




Create a relation ET2 that has ET's PK as its PK and an FK to ET
|\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\ |\




How to map super-subtype relationships
|\ |\ |\ |\


(nonmandatory/overlap)?
|\




ET is supertype
|\ |\

Document information

Uploaded on
July 23, 2025
Number of pages
19
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$20.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
EXAMSTUDYPLUG
4.5
(242)
Sold
392
Followers
107
Items
20935
Last sold
1 week ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions