Chapter 3- MIS 3306

24 July 2022
4.7 (114 reviews)
75 test answers

Unlock all answers in this set

Unlock answers (71)
question
T/F The practical significance of taking the logical view of a database is that it serves as a reminder of the simple file concept of data storage.
answer
True
question
You can think of a table as a persistent representation of a logical relation.
answer
True
question
The order of the rows and columns is important to the DBMS.
answer
False
question
Character data can contain any character or symbol intended for mathematical manipulation.
answer
False
question
Each table in a relational database must have a primary key.
answer
True
question
The row's range of permissible values is known as its domain.
answer
False
question
The idea of determination is unique to the database environment.
answer
False
question
Only a single attribute, not multiple attributes, can define functional dependence.
answer
False
question
If the attribute (B) is functionally dependent on a composite key (A) but not on any subset of that composite key, the attribute (B) is fully functionally dependent on (A).
answer
true
question
A null is created when you press the Enter key or the Tab key to move to the next entry without making a prior entry of any kind.
answer
True
question
Depending on the sophistication of the application development software, nulls can create problems when functions such as COUNT, AVERAGE, and SUM are used.
answer
True
question
RDBMSs enforce integrity rules automatically.
answer
True
question
Relational algebra defines the theoretical way of manipulating table contents using relational operators.
answer
True
question
The SELECT operator yields a vertical subset of a table.
answer
False
question
The DIFFERENCE operator subtracts one table from the other.
answer
True
question
In a natural join, the column on which the join was made occurs twice in the new table.
answer
False
question
The DIVIDE operation uses one single-column table (e.g., column "a") as the divisor and one two-column table (e.g., columns "a" and "b") as the dividend.
answer
True
question
A data dictionary is sometimes described as "the database designer's database" because it records the design decisions about tables and their structures.
answer
True
question
The one-to-many (1:M) relationship is easily implemented in the relational model by putting the foreign key of the "1" side in the table of the "many" side as a primary key.
answer
False
question
As rare as 1:1 relationships should be, certain conditions absolutely require their use.
answer
True
question
_____ logic, used extensively in mathematics, provides a framework in which an assertion (statement of fact) can be verified as either true or false.
answer
Predicate
question
Each table _____ represents an attribute.
answer
column
question
Date attributes contain calendar dates stored in a special format known as the _____ date format.
answer
Julian
question
In the relational model, _____ are important because they are used to ensure that each row in a table is uniquely identifiable.
answer
keys
question
A _____ is any key that uniquely identifies each row.
answer
superkey
question
A _____ key can be described as a minimal superkey, a superkey without any unnecessary attributes.
answer
candidate
question
A _____ is the primary key of one table that has been placed into another table to create a common attribute.
answer
foreign key
question
A _____ key is defined as a key that is used strictly for data retrieval purposes.
answer
secondary
question
Referential _____ dictates that the foreign key must contain values that match the primary key in the related table, or must contain null.
answer
integrity
question
The CUSTOMER table's primary key is CUS_CODE. The CUSTOMER primary key column has no null entries, and all entries are unique. This is an example of _____ integrity.
answer
entity
question
The _____ constraint can be placed on a column to ensure that every row in the table has a value for that column.
answer
NOT NULL
question
To be considered minimally relational, the DBMS must support the key relational operators _____, PROJECT, and JOIN.
answer
SELECT
question
_____, also known as RESTRICT, yields values for all rows found in a table that satisfy a given condition.
answer
SELECT
question
_____ returns only the attributes requested, in the order in which they are requested.
answer
PROJECT
question
When two or more tables share the same number of columns, and when their corresponding columns share the same or compatible domains, they are said to be _____.
answer
union-compatible
question
A(n) _____ join links tables by selecting only the rows with common values in their common attribute(s).
answer
natural
question
_____ are especially useful when you are trying to determine what values in related tables cause referential integrity problems.
answer
Outer joins
question
A(n) _____ only returns matched records from the tables that are being joined.
answer
inner join
question
A _____ contains at least all of the attribute names and characteristics for each table in the system.
answer
data dictionary
question
The _____ is actually a system-created database whose tables store the user/designer-created database characteristics and contents.
answer
system catalog
question
In a database context, the word _____ indicates the use of the same attribute name to label different attributes.
answer
homonym
question
In a database context, a(n) _____ indicates the use of different names to describe the same attribute.
answer
synonym
question
The _____ relationship is the "relational model ideal."
answer
1:M
question
The _____ relationship should be rare in any relational database design.
answer
1:1
question
_____ relationships can be implemented by creating a new entity in 1:M relationships with the original entities.
answer
M:N
question
Another name for a composite entity is a(n) _____ entity.
answer
bridge
question
A(n) _____ is an orderly arrangement used to logically access rows in a table.
answer
index
question
When you define a table's primary key, the DBMS automatically creates a(n) _____ index on the primary key column(s) you declared.
answer
unique
question
According to Codd's _____ rule of relational databases, application programs and ad hoc facilities are logically unaffected when changes are made to the table structures that preserve the original table values (changing order of columns or inserting columns).
answer
logical data independence
question
According to Codd's _____ rule of relational databases, if the system supports low-level access to the data, users must not be allowed to bypass the integrity rules of the database.
answer
non-subversion
question
A table is also called a(n) _____ because the relational model's creator, E. F. Codd, used the two terms as synonyms
answer
relation
question
In a relational table, each column has a specific range of values known as the _____ domain.
answer
attribute
question
A primary key is a(n) _____ key chosen to be the primary means by which rows of a table are uniquely identified.
answer
candidate
question
In a relational model, _____ are used to establish relationships among tables and to ensure the integrity of the data
answer
keys
question
To avoid nulls, some designers use special codes, known as _____, to indicate the absence of some value.
answer
flags
question
The relational operators have the property of _____; that is, the use of relational algebra operators on existing relations (tables) produces new relations
answer
closure
question
PRODUCT yields all possible pairs of rows from two tables, also known as the _____ product.
answer
Cartesian
question
_____ is the real power behind the relational database, allowing the use of independent tables linked by common attributes
answer
JOIN
question
A(n) _____ links tables on the basis of an equality condition that compares specified columns of each table.
answer
quijoin
question
A(n) ______ provides a detailed description of all tables found within the user/designer-created database.
answer
data dictionary
question
The _____ catalog can be described as a detailed system data dictionary that describes all objects within the database, including data about table names, the table's creator and creation date, the number of columns in each table, the data type corresponding to each column, index filenames, index creators, authorized users, and access privileges.
answer
system
question
The _____ relationship is the relational database norm.
answer
1:M
question
_____ relationships cannot be implemented as such in the relational model.
answer
M:N
question
If one department chair—a professor—can chair only one department, and one department can have only one department chair. The entities PROFESSOR and DEPARTMENT exhibit a(n) _____ relationship.
answer
1:1
question
One characteristic of generalization hierarchies is that they are implemented as _____ relationships.
answer
1:1
question
The proper use of _____ keys is crucial to controlling data redundancy.
answer
foreign
question
Proper data _____ design requires carefully defined and controlled data redundancies to function properly.
answer
warehousing
question
A(n) _____ index is an index in which the index key can have only one pointer value (row) associated with it.
answer
unique
question
An index key can have multiple _____ (a composite index).
answer
attibutes
question
Dr. Codd's _____ rule of relational database states that every value in a table is guaranteed to be accessible through a combination of table name, primary key value, and column name.
answer
guaranteed Access
question
What is a key and how is it important in a relational model?
answer
In a relational model, keys are important because they are used to ensure that each row in a table is uniquely identifiable. They are also used to establish relationships among tables and to ensure the integrity of the data. A key consists of one or more attributes that determine other attributes. For example, an invoice number identifies all of the invoice attributes, such as the invoice date and the customer name.
question
Define entity integrity. What are the two requirements to ensure entity integrity?
answer
Entity integrity is the condition in which each row (entity instance) in the table has its own unique identity. To ensure entity integrity, the primary key has two requirements: (1) all of the values in the primary key must be unique. (2) no key attribute in the primary key can contain a null.
question
Describe the use of null values in a database.
answer
Null values are problematic in a relational model. A null is the absence of any data value, and it is never allowed in any part of the primary key. From a theoretical perspective, it can be argued that a table that contains a null is not properly a relational table at all. From a practical perspective, however, some nulls cannot be reasonably avoided. For example, not all students have a middle initial. As a general rule, nulls should be avoided as much as reasonably possible. In fact, an abundance of nulls is often a sign of a poor design. Also, nulls should be avoided in the database because their meaning is not always identifiable. For example, a null could represent: • An unknown attribute value. • A known, but missing, attribute value. • A "not applicable" condition.
question
Describe the use of the INTERSECT operator.
answer
INTERSECT yields only the rows that appear in both tables. As with UNION, the tables must be union-compatible to yield valid results. For example, you cannot use INTERSECT if one of the attributes is numeric and one is character-based. For the rows to be considered the same in both tables and appear in the result of the INTERSECT, the entire rows must be exact duplicates.
question
Define an index. Explain the role of indexes in a relational database.
answer
An index is an orderly arrangement used to logically access rows in a table. From a conceptual point of view, an index is composed of an index key and a set of pointers. The index key is, in effect, the index's reference point. More formally, an index is an ordered arrangement of keys and pointers. Each key points to the location of the data identified by the key. DBMSs use indexes for many different purposes. An index can be used to retrieve data more efficiently. Indexes can also be used by a DBMS to retrieve data ordered by a specific attribute or attributes. For example, creating an index on a customer's last name will allow you to retrieve the customer data alphabetically by the customer's last name. Also, an index key can be composed of one or more attributes. Indexes play an important role in DBMSs for the implementation of primary keys. When you define a table's primary key, the DBMS automatically creates a unique index on the primary key column(s) you declared