Deck 14: Database Design: ERD, REA, and SQL
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/100
Play
Full screen (f)
Deck 14: Database Design: ERD, REA, and SQL
1
Match the database integrity rule to the appropriate definition.
A)Each record in the database must have a unique identifier called a primary key.
B)Data referenced and stored in related tables must be consistent across the database.
C)The primary key value cannot be null (empty).
D)The field values must be from a predefined domain.
Rule 2: Primary Key Integrity
A)Each record in the database must have a unique identifier called a primary key.
B)Data referenced and stored in related tables must be consistent across the database.
C)The primary key value cannot be null (empty).
D)The field values must be from a predefined domain.
Rule 2: Primary Key Integrity
Answers: C
2
Match the database integrity rule to the appropriate definition.
A)Each record in the database must have a unique identifier called a primary key.
B)Data referenced and stored in related tables must be consistent across the database.
C)The primary key value cannot be null (empty).
D)The field values must be from a predefined domain.
Rule 1: Entity Integrity
A)Each record in the database must have a unique identifier called a primary key.
B)Data referenced and stored in related tables must be consistent across the database.
C)The primary key value cannot be null (empty).
D)The field values must be from a predefined domain.
Rule 1: Entity Integrity
Answers: A
3
Well-designed databases and queries determine whether accounting professionals are able to retrieve accurate accounting data.
True
4
________ store data that is analyzed for business intelligence to enhance tactical and strategic decision making.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
5
The database integrity rule Referential Integrity states that field values must be from a predefined domain.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
6
Match the database integrity rule to the appropriate definition.
A)Each record in the database must have a unique identifier called a primary key.
B)Data referenced and stored in related tables must be consistent across the database.
C)The primary key value cannot be null (empty).
D)The field values must be from a predefined domain.
Rule 3: Domain Integrity
A)Each record in the database must have a unique identifier called a primary key.
B)Data referenced and stored in related tables must be consistent across the database.
C)The primary key value cannot be null (empty).
D)The field values must be from a predefined domain.
Rule 3: Domain Integrity
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
7
The ________ database structure is used by data warehouses.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
8
________ databases contain data collected by other organizations and agencies, such as the Securities and Exchange Commission (SEC).
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
9
Match the database realm to the appropriate activity.
A)Update data
B)Create database tables
C)Create database model
Database designer realm
A)Update data
B)Create database tables
C)Create database model
Database designer realm
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
10
Match the database integrity rule to the appropriate definition.
A)Each record in the database must have a unique identifier called a primary key.
B)Data referenced and stored in related tables must be consistent across the database.
C)The primary key value cannot be null (empty).
D)The field values must be from a predefined domain.
Rule 4: Referential Integrity
A)Each record in the database must have a unique identifier called a primary key.
B)Data referenced and stored in related tables must be consistent across the database.
C)The primary key value cannot be null (empty).
D)The field values must be from a predefined domain.
Rule 4: Referential Integrity
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
11
The database ________ creates the database model.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
12
Database modeling may require additional investment of time as the database is being developed.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
13
________ databases can be classified as (1)operational databases, (2)data warehouses, or (3)XBRL databases.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
14
________ is a piece of information about events and objects.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
15
The database design impact how well the database serves the needs of the enterprise.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
16
The database ________ creates the database.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
17
Database anomalies are removed through ________ and/or database modeling.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
18
Operational databases almost exclusively use the ________ structure.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
19
The database integrity rule Primary Key Integrity states each record in the database must have a unique identifier called a primary key.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
20
Database anomalies are problems within a database table that result in inaccurate or incomplete data.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
21
Many-to-many relationships are not problematic when building a database.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
22
What does a database designer do?
A)Uses the database
B)Creates the database
C)Creates the database model
D)Restores the database
A)Uses the database
B)Creates the database
C)Creates the database model
D)Restores the database
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
23
An entity occurrence describes a property of the entity (an object or event).
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
24
Data integrity refers to data being
A)current and active
B)current and complete
C)accurate and current
D)accurate and complete
A)current and active
B)current and complete
C)accurate and current
D)accurate and complete
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
25
Entity identifiers are attributes that uniquely identify an entity occurrence.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
26
List and define the four database essentials.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
27
List and define three database anomalies.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
28
Which of the following is not considered a database element?
A)Table
B)Field
C)File
D)Record
A)Table
B)Field
C)File
D)Record
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
29
Which database architecture is typically used for data warehouses?
A)Dimensional
B)XBRL
C)Relational
D)Network
A)Dimensional
B)XBRL
C)Relational
D)Network
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
30
In an ERD diagram, the entity attributes are listed in the entity box.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
31
Which database architecture is typically used for operational databases?
A)Dimensional
B)XBRL
C)Relational
D)Network
A)Dimensional
B)XBRL
C)Relational
D)Network
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
32
Match the database realm to the appropriate activity.
A)Update data
B)Create database tables
C)Create database model
Database user realm
A)Update data
B)Create database tables
C)Create database model
Database user realm
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
33
What are the three classifications of internal database? How is each used?
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
34
Match the database realm to the appropriate activity.
A)Update data
B)Create database tables
C)Create database model
Database builder realm
A)Update data
B)Create database tables
C)Create database model
Database builder realm
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
35
In an ERD diagram, an entity is represented by a rounded box or rectangle.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
36
In designer terminology, for a one-to-one relationship, the maximum occurrence possible for each entity is one.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
37
What are the three realms of a database and what happens in each realm?
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
38
Which of the following is not a database anomaly?
A)Update
B)Commit
C)Deletion
D)Insertion
A)Update
B)Commit
C)Deletion
D)Insertion
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
39
For a single occurrence of one entity (one customer), cardinality defines the maximum and minimum number of occurrences that might relate to the other entity (sales orders).
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
40
What is data modeling?
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
41
A specific customer, such as Vincent, is an entity ________.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
42
Match the ERD symbols to the definition.
A)Entity relationship
B)Entity identifier
C)Relationship cardinality
D)Entity
E)Entity Attributes

A)Entity relationship
B)Entity identifier
C)Relationship cardinality
D)Entity
E)Entity Attributes

Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
43
After ensuring compliance with the BCNF normalization rule, rarely does a database table need further normalization.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
44
Match the ERD symbols to the definition.
A)Entity relationship
B)Entity identifier
C)Relationship cardinality
D)Entity
E)Entity Attributes

A)Entity relationship
B)Entity identifier
C)Relationship cardinality
D)Entity
E)Entity Attributes

Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
45
In a one-to-many relationship in an ERD, the entity on the one side (customer)is called a ________ entity and the entity on the many side (sales order)is called a ________ entity.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
46
When using normalization for database development, all the attributes are placed in one huge table.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
47
All the entity identifiers that uniquely identify the entity are called ________ keys in the database builder realm.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
48
In database modeling performed in the database designer realm, the term entity can refer to
A)Place
B)Event
C)Object
D)B and C
A)Place
B)Event
C)Object
D)B and C
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
49
Entity identifiers that uniquely identify the entity are called
A)Candidate keys
B)Primary keys
C)Foreign keys
D)Composite keys
A)Candidate keys
B)Primary keys
C)Foreign keys
D)Composite keys
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
50
________ depicts the relationship among entities in the database.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
51
Match the normalization rule to the appropriate definition.
A)No field can have multiple values.
B)The table identifier (primary key)should not be a composite key.
C)Every identifier should be a candidate key
Rule 1: First Normal Form (1NF)
A)No field can have multiple values.
B)The table identifier (primary key)should not be a composite key.
C)Every identifier should be a candidate key
Rule 1: First Normal Form (1NF)
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
52
Match the ERD symbols to the definition.
A)Entity relationship
B)Entity identifier
C)Relationship cardinality
D)Entity
E)Entity Attributes

A)Entity relationship
B)Entity identifier
C)Relationship cardinality
D)Entity
E)Entity Attributes

Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
53
Match the ERD symbols to the definition.
A)Entity relationship
B)Entity identifier
C)Relationship cardinality
D)Entity
E)Entity Attributes

A)Entity relationship
B)Entity identifier
C)Relationship cardinality
D)Entity
E)Entity Attributes

Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
54
________ rules define attribute limitations, referential integrity, and cardinality of relationships among entities.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
55
Experience does not help database designer define business entities and relationships among those entities.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
56
Match the normalization rule to the appropriate definition.
A)No field can have multiple values.
B)The table identifier (primary key)should not be a composite key.
C)Every identifier should be a candidate key
Rule 2. Second Normal Form (2NF)
A)No field can have multiple values.
B)The table identifier (primary key)should not be a composite key.
C)Every identifier should be a candidate key
Rule 2. Second Normal Form (2NF)
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
57
Detail of the ERD and information about the tables' fields, such as their size and type, are stored in a document called the ________.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
58
In database design terminology, a customer is an
A)Occurrence
B)Object
C)Attribute
D)Entity
A)Occurrence
B)Object
C)Attribute
D)Entity
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
59
Match the normalization rule to the appropriate definition.
A)No field can have multiple values.
B)The table identifier (primary key)should not be a composite key.
C)Every identifier should be a candidate key
Rule 3. Boyce-Codd Normal Form (BCNF)
A)No field can have multiple values.
B)The table identifier (primary key)should not be a composite key.
C)Every identifier should be a candidate key
Rule 3. Boyce-Codd Normal Form (BCNF)
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
60
Match the ERD symbols to the definition.
A)Entity relationship
B)Entity identifier
C)Relationship cardinality
D)Entity
E)Entity Attributes

A)Entity relationship
B)Entity identifier
C)Relationship cardinality
D)Entity
E)Entity Attributes

Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
61
Which symbol represents a cardinality of a maximum: many and minimum: 1?
A)
B)
C)
D)
A)

B)

C)

D)

Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
62
For an ERD, what do the business rules define?
A)Entities
B)Business transactions
C)Attribute limitations
D)Entity attributes
A)Entities
B)Business transactions
C)Attribute limitations
D)Entity attributes
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
63
When using normalization for database development, all the attributes are placed in
A)Three large tables
B)Two huge tables
C)One large table
D)B and C
A)Three large tables
B)Two huge tables
C)One large table
D)B and C
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
64
List the ERD design steps that are dependent on the database structure.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
65
What is the purpose of an entity relationship diagram?
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
66
In an ERD diagram, relationship cardinality is represented as
A)PK symbol listed by attribute
B)Connector lines
C)Square box
D)Crow's feet symbols
A)PK symbol listed by attribute
B)Connector lines
C)Square box
D)Crow's feet symbols
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
67
In a REA model, the relationship between the two events is called economic duality and represents resource exchange.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
68
In ________ modeling, a resource has economic value to the enterprise, such as inventory, cash, or other assets.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
69
In an ERD diagram, a relationship between entities is represented as
A)PK symbol listed by attribute
B)Connector lines
C)Square box
D)Crow's feet symbols
A)PK symbol listed by attribute
B)Connector lines
C)Square box
D)Crow's feet symbols
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
70
How are business entities and their relationships identified?
A)Determining the business rules for business transactions
B)Determining the entity identifiers
C)Normalizing the database
D)Analyzing business transactions
A)Determining the business rules for business transactions
B)Determining the entity identifiers
C)Normalizing the database
D)Analyzing business transactions
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
71
In an ERD diagram, an entity identifier is represented as
A)PK symbol listed by attribute
B)Connector lines
C)Square box
D)Crow's feet symbols
A)PK symbol listed by attribute
B)Connector lines
C)Square box
D)Crow's feet symbols
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
72
Which symbol represents a cardinality of a maximum: 1 and minimum: 1?
A)
B)
C)
D)
A)

B)

C)

D)

Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
73
The REA model shows what is given and what is taken in a business exchange.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
74
In building an ERD, in which step is the database application chosen?
A)Step 2: Determine the business rules for a specific business transaction.
B)Step 7: Add business-related attributes to the ERD.
C)Step 9: Develop relational database tables.
D)Step 10: Build relational database tables.
A)Step 2: Determine the business rules for a specific business transaction.
B)Step 7: Add business-related attributes to the ERD.
C)Step 9: Develop relational database tables.
D)Step 10: Build relational database tables.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
75
Which symbol represents a cardinality of a maximum: 1 and minimum: 0?
A)
B)
C)
D)
A)

B)

C)

D)

Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
76
List and define the first three normalization rules.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
77
Why does a database designer need to understand a business's rules?
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
78
List the ERD design steps that are independent of the database structure.
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
79
Which symbol represents a cardinality of a maximum: many and minimum: 0?
A)
B)
C)
D)
A)

B)

C)

D)

Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck
80
What are the steps for designing an ERD?
Unlock Deck
Unlock for access to all 100 flashcards in this deck.
Unlock Deck
k this deck