Font size
WorksheetsDatabase & Design Ch.1-6 Midterm Review
Total questions: 150
Worksheet time: 1hrs 15mins
One advantage of a database system over previous data management approaches is that the database system is considerably less complex.
True
False
_____ is defined as the condition in which all of the data in the database are consistent with the real-world events and conditions.
Data ubiquity
Data integrity
Data anomaly
Data quality
Corporations use only structured data.
True
False
Structure is based on the type of processing to be performed on the data.
True
False
A data warehouse can store data derived from many sources.
True
False
MySQL is an example of the _____.
relational data model
XML data model
hierarchical model
file system data model
The _____ relationship should be rare in any relational database design.
1:M
1:1
M:N
M:1
A _____ is a primary key created by a database designer to simplify the identification of entity instances.
surrogate key
composite key
compound key
natural key
The purpose of an entity _____ is to simplify an entity-relationship diagram (ERD) and thus enhance its readability.
interface
cluster
constraint
discriminator
Nonoverlapping subtypes are subtypes that contain a(n) _____ subset of the supertype entity set.
unique
nonunique
subtypes
entity
Within a specialization hierarchy, every subtype can have _____ supertype(s) to which it is directly related.
only one
zero
one or many
many
The “_____” characteristic of a primary key states that the primary key must uniquely identify each entity instance, must be able to guarantee unique values, and must not contain nulls.
preferably single-attribute
nonintelligent
security-complaint
unique values
The response of the DBMS to a query is the ___________
integrated view of the data
ad hoc query
query result set
ad hoc response
A data warehouse contains historical data obtained from the _____.
enterprise databases
workgroup databases
desktop database
operational databases
The “_____” characteristic of a primary key states that the primary key should not have embedded semantic meaning.
security-compliant
nonintelligent
preferably single-attribute
unique values
From a structural point of view, 2NF is better than _____.
3NF
1NF
4NF
BCNF
Repeating groups must be eliminated by ensuring that each row defines a single entity.
True
False
A(n) _____ exists when there are functional dependencies such that Y is functionally dependent on X, Z is functionally dependent on Y, and X is the primary key.
transitive dependency
repeating group
atomic attribute
partial dependency
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 _____.
select-compatible
union-compatible
difference-compatible
intersect-compatible
The row’s range of permissible values is known as its domain.
True
False
RDBMSs enforce integrity rules automatically.
True
False
To simplify the conceptual design, most higher-order relationships are decomposed into appropriate equivalent _____ relationships whenever possible.
unary
weak
binary
strong
Database design is a(n) _____ process based on repetition.
iterative
sequential
linear
intermittent
The _____ constraint can be placed on a column to ensure that every row in the table has a value for that column.
UNIQUE
EMPTY
VALUE
NOT NULL
A(n) _____ only returns matched records from the tables that are being joined.
outer join
theta join
equijoin
inner join
_____, also known as RESTRICT, yields values for all rows found in a table that satisfy a given condition.
DIFFERENCE
INTERSECT
SELECT
UNION
The _____ relationship is the “relational model ideal.”
M:1
M:N
1:M
1:1
The SELECT operator yields a vertical subset of a table.
True
False
The entity relationship diagram (ERD) represents the _____ database as viewed by the end user.
condensed
physical
conceptual
logical
In Chen notation, there is no way to represent cardinality.
True
False
Composite attributes make it easier to facilitate detailed queries.
True
False
Some very specialized applications may require normalization beyond the _____.
3NF
4NF
1NF
2NF
Relational models view data as part of a table or collection of tables in which all key values must be identified.
True
False
Denormalization produces a lower normal form.
True
False
The most likely data type for a surrogate key is _____.
date
numeric
logical
character
_____ is the bottom-up process of identifying a higher-level, more generic entity supertype from lower-level entity subtypes.
Specialization
Total Completeness
Generalization
Normalization
The relationships depicted within the specialization hierarchy are sometimes described in terms of “is-a” relationships.
True
False
Which of the following is true of spreadsheet applications?
They do not allow manipulation of data once entered.
They provide enhanced security and robust data sharing features.
They enhance the user's ability to understand the data.
They are a better alternative to databases.
_____ are the result of formatting disorganized data in order to facilitate storage, use and generation of information.
Unstructured data
Raw data
Obsolete data
Structured data
_____ is the body of information and facts about a specific subject.
A format
Knowledge
Validation
A database
Data is the result of processing raw facts to reveal its meaning.
True
False
Most data that can be encountered are best classified as _____.
structured
historical
semistructured
unstructured
The only way to access the data in a database is through the DBMS.
True
False
If one exists, a data modeler uses a _____ as the primary key of the entity being modeled.
surrogate key
combination key
foreign key
natural identifier
From a system functionality point of view, _____ attribute values can be calculated when they are needed to write reports or invoices.
historical
derived
granular
atomic
A table is in BCNF if every determinant in the table is a foreign key.
True
False
The organization of data within folders in a manual file system is determined by _______.
its expected use
its date of creation
the data processing specialist
the title of the documents in the folder
_____ provide a description of the data characteristics and the set of relationships that link the data found within the database.
Schemas
Queries
Metadata
End-user data
The hierarchical data model was developed in the _____.
1970s
1960s
1990s
1980s
The object-oriented data model was developed in the _____.
1990s
1980s
1960s
1970s
The relational data model was developed in the _____.
1970s
1990s
1980s
1960s
The network model has structural level dependence.
True
False
The _____ model was developed to allow designers to use a graphical tool to examine structures rather than describing them with text.
entity relationship
object-oriented
hierarchical
network
In an SQL-based relational database, rows in different tables are related based on common values in common attributes.
True
False
The hierarchical model is software-independent.
True
False
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.
True
False
_____ are especially useful when you are trying to determine what values in related tables cause referential integrity problems.
Theta joins
Equijoins
Inner joins
Outer joins
As rare as 1:1 relationships should be, certain conditions absolutely require their use.
True
False
A _____ key is defined as a key that is used strictly for data retrieval purposes.
Candidate
Secondary
Foreign
Lookup
A derived attribute is indicated in the Chen notation by a _____ that connects the attribute and an entity.
double dashed line
dashed line
double line
single line
When the specific cardinalities are not included on the diagram in Crow's Foot notation, cardinality is implied by the use of _____.
images
attributes
tables
symbols
An entity in the entity relationship model corresponds to a table in the relational environment.
True
False
If Tiny College has some departments that are classified as “research only” and do not offer courses, the COURSE entity of the college database would be _____ the DEPARTMENT entity.
optional to
mandatory for
existence-dependent on
independent of
Within a specialization hierarchy, a supertype can exist only within the context of a subtype.
True
False
The “_____” characteristic of a primary key states that the selected primary key must not be composed of any attribute(s) that might be considered a violation.
unique values
nonintelligent
security-compliant
preferably single-attribute
The property of _____ enables an entity subtype to inherit the attributes and relationships of the supertype.
inheritance
specialization hierarchy
specialization hierarchy
subtype discriminator
Specialization is the top-down process of identifying lower-level, more specific entity subtypes from a higher-level entity supertype.
True
False
At the implementation level, the supertype and its subtype(s) depicted in a specialization hierarchy maintain a(n) _____ relationship.
1:M
self-referencing
1:1
M:N
According to the “preferably single-attribute” characteristic of a primary key, the primary key:
should have embedded semantic meaning associated with each attribute.
must be composed of attributes that are free from security risks or violations.
must be able to guarantee unique attribute values.
should have the minimum number of attributes possible.
In the context of total completeness, in a(n) _____, every supertype occurrence is a member of at least one subtype.
foreign key constraint
overlapping constraint
unique constraint
disjoint constraint
Disjoint subtypes are subtypes that contain nonunique subsets of the supertype entity set.
True
False
To model time-variant data, one must create a new entity in an M:N relationship with the original entity.
True
False
All relational tables satisfy the 1NF requirements.
True
False
Dependency diagrams are very helpful in getting a bird’s-eye view of all the relationships among a table’s attributes.
True
False
A dependency of one nonprime attribute on another nonprime attribute is a partial dependency.
True
False
Dependencies that are based on only a part of a composite primary key are called transitive dependencies.
True
False
A table that has all key attributes defined, has no repeating groups, and all its attributes are dependent on the primary key is said to be in _____.
2NF
1NF
4NF
3NF
A relational table must not contain a(n) _____.
Relationship
Repeating group
Entity
Attribute
A data model is usually graphical.
True
False
A disadvantage of the relational database management system (RDBMS) is its inability to hide the complexities of the relational model from the user.
True
False
A(n) _____ database is used by an organization and supports many users across many departments.
Enterprise
Transactional
Desktop
Workgroup
Structural dependence exists when it is possible to make changes in the file structure without affecting the application program’s ability to access the data.
True
False
Which of the following refers to the situation where different versions of the same data are stored at different places because they weren’t updated consistently?
Data query
Data dictionary
Data integrity
Data redundancy
_____ data exist in a format that does not lend itself to processing that yields information.
Semistructured
Historical
Structured
Unstructured
The term _____ refers to an organization of components that define and regulate the collection, storage, management and use of data within a database environment.
structured data
transaction
database system
management system
When data are entered into a form and saved, they are placed in the underlying database as knowledge.
True
False
The DBMS reveals much of the database’s internal complexity to the application programs and users.
True
False
_____ is the result of revealing the meaning of raw facts.
Information
End-user data
An encoded sample
An encrypted bit
_____ data exist in the format in which they were collected.
Structured
Historical
Unstructured
Semistructured
An XML database supports the storage and management of _____ XML data.
multistructured
semistructured
fullystructured
The _____ data model uses the concept of inheritance.
object-oriented
entity relationship
relational
network
An implementation-ready data model should contain a description of the data structure that will store the end-user data.
True
False
A(n) _____ is a restriction placed on the data.
relationship
constraint
entity
attribute
In the context of data models, an entity is a person, place, thing, or event about which data will be collected and stored.
True
False
A(n) _____’s main function is to help one understand the complexities of the real-world environment.
node
database
entity
model
In an SQL-based relational database, each table is dependent on every other table.
True
False
Today, most relational database products can be classified as object/relational.
True
False
M:N relationships are not appropriate in a relational model.
True
False
Database designers determine the data and information that yield the required understanding of the entire business.
True
False
The _____ model uses the term connectivity to label the relationship types.
relational
object-oriented
entity relationship
network
Even when a good database blueprint is available, an applications programmer’s view of the data should match that of the manager and the end user.
True
False
In Chen notation, entities and relationships have to be oriented horizontally; not vertically.
True
False
A(n) _____ is anything about which data are to be collected and stored.
relationship
entity
constraint
attribute
Each row in the relational table is known as an entity instance or entity occurrence in the ER model.
True
False
Business rules apply to businesses and government groups, but not to other types of organizations such as religious groups or research laboratories.
True
False
In a database context, a(n) _____ indicates the use of different names to describe the same attribute.
entity
synonym
homonym
duplicate
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).
comprehensive data sublanguage
distribution independence
integrity independence
logical data independence
A data dictionary is sometimes described as “the database designer’s database” because it records the design decisions about tables and their structures.
True
False
Character data can contain any character or symbol intended for mathematical manipulation.
True
False
The DIFFERENCE operator subtracts one table from the other.
True
False
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).
True
False
A _____ key can be described as a minimal superkey, a superkey without any unnecessary attributes.
candidate
foreign
secondary
primary
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.
null
entity
relational
referential
In a natural join, the column on which the join was made occurs twice in the new table.
True
False
A _____ is any key that uniquely identifies each row.
special key
foreign key
superkey
candidate key
A(n) _____ join links tables by selecting only the rows with common values in their common attribute(s).
natural
attribute
foreign
unique
A _____ is the primary key of one table that has been placed into another table to create a common attribute.
candidate key
superkey
composite primary key
foreign key
A _____ attribute can be further subdivided to yield additional attributes.
single-valued
simple
composite
multivalued
Ideally, an entity identifier is composed of _____ attribute(s).
one
two
six
three
A composite identifier is a primary key composed of more than one attribute.
True
False
In the entity relationship diagram (ERD), cardinality is indicated using the _____ notation, where max is the maximum number of associated entities and min represents the minimum number of associated entities.
{min|max}
(min, max)
[min ... max]
(max, min)
Referential integrity and participation are both bidirectional, meaning that they must be addressed in both directions along a relationship.
True
False
A _____ relationship exists when an association is maintained within a single entity.
unary
weak
ternary
strong
In implementation terms, an entity is existence-dependent if it has a mandatory primary key.
True
False
In the original Chen notation, each attribute is represented by an oval with the attribute name connected to an entity rectangle with a line.
True
False
A _____ entity has a primary key that is partially or totally derived from the parent entity in the relationship.
strong
weak
child
business
A _____ attribute is one that cannot be subdivided.
single-valued
composite
simple
multivalued
A(n) _____ is the set of possible values for a given attribute.
key
range
identifier
domain
If an employee within an EMPLOYEE entity has a relationship with itself, that relationship is known as a _____ relationship.
self
looping
recursive
self-referring
The existence of a mandatory relationship indicates that the minimum cardinality is 0 or 1 for the mandatory entity.
True
False
Software vendors have adopted the Chen representation because of its compact representation.
True
False
The first step in building an entity-relationship diagram (ERD) is _____.
creating a detailed narrative of the organization’s description of operations
developing the initial ERD
identifying the business rules based on the description of operations
identifying the attributes and primary keys that adequately describe the entities
In a 1:M relationship, to avoid the possibility of referential integrity errors, the data of the "1" side must be loaded first.
True
False
An entity cluster is a "virtual" entity type used to represent multiple entities and relationships in the ERD.
True
False
Which of the following is a specialization hierarchy overlapping constraint scenario in case of partial completeness?
Subtype does not have a supertype.
Supertype has optional subtypes.
Subtype discriminators cannot be null.
Subtype sets are unique.
Entity subtypes do not inherit the relationships in which the supertype entity participates.
True
False
Entity supertypes and subtypes are organized in a specialization hierarchy.
True
False
Implementing overlapping subtypes requires the use of one discriminator attribute for each subtype.
True
False
Composite primary keys are particularly useful as identifiers of composite entities, where each primary key combination is allowed only once in the _____ relationship.
1:1
M:N
0:1
1:M
Overlapping subtypes are subtypes that contain a unique subset of the supertype entity set.
True
False
It is possible for a table in 2NF to exhibit transitive dependency, where the primary key may rely on one or more nonprime attributes to functionally determine other nonprime attributes.
True
False
If a table has multiple candidate keys and one of those candidate keys is a composite key, the table can have _____ based on this composite candidate key even when the primary key chosen is a single attribute.
time-variances
Boyce-Codd normal forms
redundancies
partial dependencies
Normalization represents a micro view of the entities within the ERD.
True
False
Normalization works through a series of stages called normal forms.
True
False
From a structural point of view, 3NF is better than _____.
2NF
3NF
6NF
5NF
A table that is in 2NF and contains no transitive dependencies is said to be in _____.
1NF
4NF
3NF
2NF
Dependencies based on only a part of a composite primary key are known as _____ dependencies.
primary
partial
incomplete
composite
An attribute that is part of a key is known as a(n) _____ attribute.
important
prime
entity
nonprime
Normalization is a process that is used for changing attributes to entities.
True
False
The combination of normalization and ER modeling yields a useful ERD, whose entities can be translated into appropriate table structures.
True
False
