Study Guide Chapter 5 & 6

Description

1 ITD 256 Quiz on Study Guide Chapter 5 & 6, created by jereznel on 09/06/2016.
jereznel
Quiz by jereznel, updated more than 1 year ago
jereznel
Created by jereznel almost 8 years ago
101
1

Resource summary

Question 1

Question
A circle across the relationship line near an entity indicates ________.
Answer
  • a maximum cardinality of "zero"
  • a maximum cardinality of "one"
  • a minimum cardinality of "optional"
  • a minimum cardinality of "required"

Question 2

Question
 A composite attribute is an attribute that ________.
Answer
  • Describes a characteristic of the relationship
  • Is Multivalued
  • Consists of a group of attributes
  • Is calculated at run-time

Question 3

Question
A for­-use­-by pattern must involve what kind of entity?
Answer
  • Weak entity with one identifying relationship
  • Strong entity
  • Supertype entity
  • Weak entity with two identifying relationships

Question 4

Question
A hash mark across the relationship line near an entity indicates ________.
Answer
  • A maximum cardinality of "zero"
  • A maximum cardinality of "one"
  • A minimum cardinality of "optional"
  • A minimum cardinality of "required"

Question 5

Question
 A line­-item pattern must involve what kind of entity?
Answer
  • Weak entity with one identifying relationship
  • Weak entity with two identifying relationships
  • Supertype entity
  • Strong entity

Question 6

Question
A referential integrity constraint policy that insures that all rows containing a particular foreign key value in a table are eliminated from the table when the row containing the corresponding primary key value in a parent table is eliminated from the database is called ________.
Answer
  • Incremental updates
  • Incremental deletes
  • Cascading deletes
  • Cascading updates

Question 7

Question
A referential integrity constraint policy that insures that foreign key values in a table are correctly maintained when there is a change to the primary key value in the parent table is called ________.
Answer
  • Cascading updates
  • Cascading deletes
  • Incremental updates
  • Incremental deletes

Question 8

Question
A surrogate key should be considered when ________.
Answer
  • A relationship is N:M
  • A composite key is required
  • The key contains a lengthy text field
  • The key contains a number

Question 9

Question
An attribute that determines which subtype should be used is a(n) ________.
Answer
  • Supertype
  • Subtype
  • Identifier
  • Discriminator

Question 10

Question
An entity that holds specialized attributes that distinguish it from one or more other similar entities is a ________.
Answer
  • Supertype
  • Parent
  • Subtype
  • Discriminator

Question 11

Question
An entity whose existence depends on the presence of another entity but whose identifier does not include the identifier of the other entity is a(n) ________.
Answer
  • ID­-dependent entity
  • Strong entity
  • Subtype entity
  • Weak entity

Question 12

Question
An entity whose identifier includes the identifier of another entity is a(n) ________.
Answer
  • Required Entity
  • Weak Entity
  • Optional Entity
  • Strong Entity

Question 13

Question
An identifier may be ________.
Answer
  • Optional
  • A relationship
  • Minimal
  • Composite

Question 14

Question
 An occurrence of a particular entity is called an ________.
Answer
  • Entity relationship
  • Entity class
  • Entity attribute
  • Entity instance

Question 15

Question
Each attribute of an entity becomes a(n) ________ of a table.
Answer
  • Alternate key
  • Primary key
  • Column
  • Foreign Key

Question 16

Question
Entities of a given type are grouped into an ________.
Answer
  • Entity attribute
  • Entity instance
  • Entity relationship
  • Entity class

Question 17

Question
In a minimum cardinality, minimums are generally stated as ________.
Answer
  • 0 or 1
  • M or N
  • 1 or N
  • One or many

Question 18

Question
In a relational database design, all relationships are expressed by ________.
Answer
  • Creating a supertype
  • Creating a subtype
  • Creating a primary key
  • Creating a foreign key

Question 19

Question
 In relational database design, ID­dependent entities are not used to ________.
Answer
  • handle associative relationships
  • represent relationships where the child identifier does not include the key of the parent
  • represent N:M relationships
  • handle archetype/instance relationships

Question 20

Question
Many­-to­-many relationships are represented by ________.
Answer
  • an intersection table which has M:N relationships with the two tables
  • two tables with a 1:N relationship
  • two tables with an M:N relationship
  • an intersection table which has 1:N relationships with the two tables

Question 21

Question
Many-­to­-many relationships are represented by ________.
Answer
  • an intersection table which has M:N relationships with the two tables
  • two tables with a 1:N relationship
  • two tables with an M:N relationship
  • an intersection table which has 1:N relationships with the two tables

Question 22

Question
Maximum cardinality refers to ________.
Answer
  • the most instances of one entity class that can be involved in a relationship instance with another entity class
  • whether or not an instance of one entity class is required to be related to an instance of another entity class
  • the minimum number of entity classes involved in a relationship
  • whether or not an entity is a weak entity

Question 23

Question
Minimum cardinality refers to ________.
Answer
  • the most instances of one entity class that can be involved in a relationship with one instance of another entity class
  • whether or not an entity is a weak entity
  • the minimum number of entity classes involved in a relationship
  • whether or not an instance of one entity class is required to be related to an instance of another entity class

Question 24

Question
Recursive relationships can have all of the following maximum cardinalities except ________.
Answer
  • 1:1
  • N:M
  • 1:N
  • M:M

Question 25

Question
Supertype/subtype entities are said to have a(n) ________ relationship.
Answer
  • HAS­-A
  • Redundant
  • IS-A
  • Recursive

Question 26

Question
The binary constraint must cover indicates that ________.
Answer
  • a table includes values that must occur in a ternary relationship
  • a binary relationship includes a set of value combinations that must all occur in a ternary relationship
  • a specific binary relationship must be included in a ternary relationship
  • a table includes values that must occur in a binary relationship

Question 27

Question
The binary constraint must not indicates that ________.
Answer
  • a table includes values that must not occur in a ternary relationship
  • a binary relationship includes value combinations that must not occur in a ternary relationship
  • a table includes values that must not occur in a binary relationship
  • a specific binary relationship must not be included in a ternary relationship

Question 28

Question
The characteristics of a thing are described by its ________.
Answer
  • Identifiers
  • Attributes
  • Objects
  • Entities

Question 29

Question
The first step in transforming an extended E­R model into a relational database design is to ________.
Answer
  • create a table for each relationship
  • create a table for each entity
  • remove any recursive relationships
  • evaluate the entities against the normalization criteria

Question 30

Question
The identifier of the entity becomes the ________ of the corresponding table.
Answer
  • Subtype
  • Supertype
  • Primary Key
  • Foreign Key

Question 31

Question
To represent a multivalued attribute in an E­-R model, ________.
Answer
  • create a new ID­dependent entity with a 1:1 relationship
  • create a new weak, but not ID­dependent entity with a 1:N relationship
  • create a new ID­dependent entity with a 1:N relationship
  • create a new strong entity with a 1:1 relationship

Question 32

Question
To represent a one-­to­-many relationship in a relational database design, ________.
Answer
  • an intersection table must be created
  • the key of the table on the "many" side is placed in the table on the "one" side
  • the key of the parent is placed as a foreign key into the child
  • the key of the child is placed as a foreign key into the parent

Question 33

Question
To represent an archetype/instance pattern in an E­R model, ________.
Answer
  • create a new ID­-dependent entity with a 1:1 relationship
  • create a new ID­-dependent entity with a 1:N relationship
  • create a new weak, but not ID-­dependent entity with a 1:N relationship
  • create a new strong entity with a 1:1 relationship

Question 34

Question
To represent an association pattern in an E-­R model, ________.
Answer
  • create a new ID-­dependent entity with a N:1 relationships to two parent entities
  • create a new weak, but not ID­-dependent entity with a 1:1 relationship to one other entity
  • create a new strong entity with a 1:1 relationship to one other entity
  • create a new ID­-dependent entity with a 1:1 relationship to one other entity

Question 35

Question
When an entity has a relationship to itself, we have a(n) ________.
Answer
  • supertype/subtype relationship
  • archetype/instance relationship
  • recursive relationship
  • Both supertype/subtype relationship and recursive relationship are correct

Question 36

Question
When representing a 1:1 relationship in a relational database design, ________.
Answer
  • the intersection table gets the key from both relations
  • the key of each table must be placed as foreign keys into the other
  • the key of either table may be placed as a foreign key into the other
  • the key of both tables must be the same

Question 37

Question
When representing a one­to­many relationship in a relational database design, ________.
Answer
  • the parent is always on the one side of the "one-­to­-many" relationship
  • either parent or child can be on the one side of the "one­-to­-many" relationship, and the choice is arbitrary
  • either parent or child can be on the one side of the "one­-to­-many" relationship, and special criteria indicate which table should be on the one side
  • the child is always on the one side of the "one-­to­-many" relationship
Show full summary Hide full summary

Similar

Circulatory System
bridget.watts97
BIOLOGY B1 2
x_clairey_x
GCSE Chemistry C1.1 - Fundamental Ideas in Chemistry
chancice.branscombe
Biology Unit 4: Respiration and Photosynthesis
Charlotte Lloyd
The Digestive system
Elena Cade
AQA GCSE Product Design Questions
Bella Statham
Longevidad y Envejecimiento Fisiológico
Isaac Alexander
MAPA MENTAL
blanca beatriz m
World War I
Lydia Klein
Účto Fífa 2/6
Bára Drahošová
Anatomie - sistemul respirator 1
Eugeniu Nicolenco