Home
>
Articles
>
Home & Office Computing
>
Mac OS X
This chapter is from the book
Practice exam questions
The following practice exam questions test your knowledge of material that this chapter covers.
1: |
Which statement about domains is false?
-
By defining a domain for a particular attribute, you apply business rules to ensure that the data will make sense.
-
A domain describes the conditions that an attribute value must meet to be a valid value.
-
A domain can identify a range of valid values.
-
None of the above; all statements are true.
|
2: |
Which numeric data type is defined correctly?
-
REAL data consists of single-precision floating-point numbers that are greater than 21.
-
DOUBLE data is two-digit data in double-precision floating point numeric format.
-
SMALLINT data is an integer less than 22.
-
INTEGER data is for large integers.
|
3: |
Which two statements about null values are true?
-
Depending on user-defined settings, the DBMS can treat a null value as a zero value, a blank, or an empty string.
-
A null value is a special indicator that represents the absence of a value.
-
A null value is equivalent to a blank.
-
For an attribute that does not need to have a valid value at all times, use a null value.
-
A null value is equivalent to a zero value.
|
4: |
Which statement is false?
-
If a DBMS uses an index to find a row in a table, the performance is always better than when the DBMS scans the entire table.
-
A table with a unique index can never have two rows with the same values in the columns that form the index key.
-
A clustering index keeps table rows in a specified sequence, which always minimizes page access for a set of rows.
-
All of the above.
|
5: |
Which statement about designing indexes is false?
-
During physical database design, you decide what indexes to define on what columns of a table.
-
You can use process models to determine how different applications and users will be accessing data.
-
Users of a table with an index are generally aware that an index exists on the table.
-
Decisions about indexes are important because of the performance implications they present.
|
6: |
Which statement does not explain a purpose of an index?
-
An index can be used to optimize data access.
-
An index can be used to ensure uniqueness.
-
An index can be used to enable clustering.
-
None of the above; all statements are correct.
|