• ¿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 2 fuera de 5 páginas
Examen

CS6400 Exam Prep Questions and Answers Verified 100% Correct

Document preview thumbnail
Vista previa 2 fuera de 5 páginas

CS6400 Exam Prep Questions and Answers Verified 100% Correct

Vista previa del contenido

CS6400 Exam Prep Questions and Answers Verified
100% Correct
If a relation's table in real life is ordered, should the contents of a relation be ordered as well? -
✔✔Tuples are not to be ordered, although can be



How to map a N:M relationship from Relation 'R' to 'S'? - ✔✔1.) Foreign key of relation 'R'
2.) Foreign key of relation 'S'
3.) Any relationship properties



How to map weak entity - ✔✔1.) Foreign key
2.) Weak key
3.) attributes of weak entity



For mapping to relations, what 3 items you must look for - ✔✔1.) entities
2.) relationships (N:M mainly)
3.) multi-value attributes



If you want to identify from two Relations ('R' and 'S') all the possible combinations - ✔✔



Can a relation have a foreign key refering to another column in the same relation? - ✔✔Yes,
typically the primary key (primary key can be more than one attribute, but only one primary key
can exist per relation)


When determining how many tuples will be the output of a 'left outer join' or 'right outer join'?
- ✔✔1.) If foreign key has all the items in the opposing table's primary key, then the number
of tuples will match the larger table's
2.) If the column with the foreign has some missing items from the original primary key, it will
be count of tuples in the large relation + missing foreign key items.

, What is the output of R U R? - ✔✔R; if it was Union all, then the output would include
duplicates



Does the Relation extension have to obey Relational intension? - ✔✔Absolutely; items
appended must obey the domain and data type subsets



3 types of constraints: - ✔✔inherent, schema, and application based



What is a result relation? - ✔✔result from a query


How to translate:
'''
Employee(e) and (∃x)(Works_On(w) and Project(p)
''''

into universal quantifier notation - ✔✔Employee(e) and (∀x)(Not(Works_on(w) OR NOT
(Project(p))



What is the key/primary key in a relation formed by a multi value attribute? - ✔✔The foreign
and the attribute



What's another way a relation can be declared? - ✔✔A declaration and assertion



Whats a transaction? - ✔✔executing program that performs db operations


If a record contains a key that is a referenced in another table and you try to delete it, what are
the options? - ✔✔1.) Restrict
'or'

Información del documento

Subido en
16 de noviembre de 2024
Número de páginas
5
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$12.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.
QUINTER
3.6
(73)
Vendido
420
Seguidores
105
Artículos
39867
Última venta
4 días 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