Chapter 4 – ‘Relational Databases’ Flashcards

1
Q
  1. The relational data model portrays data as being stored in __________.

a. hierarchies
b. tables
c. objects
d. files

A

b. tables (Correct. The relational data model portrays data as being stored in a table or relation format.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  1. How a user conceptually organizes and understands data is referred to as the __________.

a. physical view
b. logical view
c. data model view
d. data organization view

A

b. logical view (Correct. The logical view shows how a user conceptually organizes and understands data.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  1. What is each row in a relational database table called?

a. relation
b. attribute
c. anomaly
d. tuple

A

d. tuple (Correct. A tuple is also called a row in a relational database.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  1. Which of the following is an individual user’s view of the database?

a. conceptual-level schema
b. external-level schema
c. internal-level schema
d. logical-level schema

A

b. external-level schema (Correct. The external-level schema represents an individual user’s view of the database.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  1. Which of the following would managers most likely use to retrieve information about sales during the month of October?

a. DML
b. DSL
c. DDL
d. DQL

A

d. DQL (Correct. DQL—data query language—is used to retrieve information from a database.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  1. Which of the following attributes would most likely be a primary key?

a. supplier name
b. supplier number
c. supplier Zip code
d. supplier account balance

A

b. supplier number (Correct. A unique number can be assigned as a primary key for each entity.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  1. Which of the following is a software program that runs a database system?

a. DQL
b. DBMS
c. DML
d. DDL

A

b. DBMS (Correct. A DBMS—database management system—is a software program)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
  1. The constraint that all primary keys must have nonnull data values is referred to as which of the following?

a. referential integrity rule
b. entity integrity rule
c. normalization rule
d. relational data model rule

A

b. entity integrity rule (Correct. Every primary key in a relational table must have a nonnull value.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
  1. The constraint that all foreign keys must have either null values or the value of a primary key in another table is referred to as which of the following?

a. referential integrity rule
b. entity integrity rule
c. foreign key value rule
d. null value rule

A

a. referential integrity rule (Correct. The referential integrity rule stipulates that foreign keys must have values that correspond to the value of a primary key in another table or be empty.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
  1. Which of the following attributes in the Cash Receipts table (representing payments received from customers) would most likely be a foreign key?

a. cash receipt number
b. customer check number
c. customer number
d. cash receipt date

A

c. customer number (Correct. Customer number would be a foreign key in the Cash Receipts table and would link the Cash Receipts table to the Customer Table.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly