• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 3 fuera de 19 páginas
Examen

Cs6400 - Exam 2 Questions With Answers

Document preview thumbnail
Vista previa 3 fuera de 19 páginas

CS6400 - Exam 2 QUESTIONS WITH ANSWERS

Vista previa del contenido

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
|\ |\

Información del documento

Subido en
23 de julio de 2025
Número de páginas
19
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$20.99

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
EXAMSTUDYPLUG
4.5
(242)
Vendido
392
Seguidores
107
Artículos
20935
Última venta
1 semana hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes