Final exam review part 3 Flashcards

1
Q

A type of data integrity constraint that ensures each row in a table has a unique identifier (primary key).

A

Entity integrity

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

A clause in a SQL SELECT statement used to filter rows based on specified conditions.

A

WHERE clause

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

When you design a table you should allow nulls if…

a. a value is not required by business rules
b. the value could be unknown at a particulate point of time
c. a and b
d. none of the above

A

c. a and b

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

A set of rules designed to reduce or eliminate various anomalies is called

a. normal form
b. an anomaly
c. SDLC
d. logical design

A

a. normal form

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

Which type of data model takes into account the limitations of a specific RDBMS

a. logical
b. physical
c. conceptual
d. enterprise

A

b. physical

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

In a business, which one of the following is an example of an attribute

a. Bill’s employment record
b. All the employees
c. Employee’s address
d. This week’s orders

A

c. Employee’s address

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

A surrogate key should be considered when

a. a relationship is M:N
b. a composite key is required
c. the key contains a lengthy text field
d. an index needs to be created

A

c. the key contains a lengthy text field

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