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
2. An employee database that consolidates payroll, personnel, and job skills master files is
referred to as
a. data integration. 
b. data sharing. 
c. data independence.
A

a. data integration. [Correct. Master files are combined into large “pools” of data that
many application programs access.]

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. The internal-level schema of a database system consists of an individual user’s view of
    portions of a database, also called a subschema.
    a. True
    b. False
A

b. False [Correct. The internal-level schema, a low-level view of the database, describes
how the data are stored and accessed, including record layouts, definitions, addresses,
and indexes.]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
5. 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
that acts as an interface between a database and various application programs.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
8. 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 is not a basic requirement of a relational database?
    a. Primary keys cannot be null.
    b. Every column in a row must be single valued.
    c. Foreign keys cannot be null.
    d. All non-key attributes in a table must describe a characteristic of the object identified by the primary key.
A

c. Foreign keys cannot be null. [Correct. Foreign keys, if not null, must have values
that correspond to the value of a primary key in another table. They link rows in one
table to rows in another table.]

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