wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Database & Design Ch.1-6 Midterm Review

Total questions: 150

Worksheet time: 1hrs 15mins

Name
Class
Date
1.

One advantage of a database system over previous data management approaches is that the database system is considerably less complex.

a)

True

b)

False

2.

_____ is defined as the condition in which all of the data in the database are consistent with the real-world events and conditions.

a)

Data ubiquity

b)

Data integrity

c)

Data anomaly

d)

Data quality

3.

Corporations use only structured data.

a)

True

b)

False

4.

Structure is based on the type of processing to be performed on the data.

a)

True

b)

False

5.

A data warehouse can store data derived from many sources.

a)

True

b)

False

6.

MySQL is an example of the _____.

a)

relational data model

b)

XML data model

c)

hierarchical model

d)

file system data model

7.

The _____ relationship should be rare in any relational database design.

a)

1:M

b)

1:1

c)

M:N

d)

M:1

8.

A _____ is a primary key created by a database designer to simplify the identification of entity instances. 

a)

surrogate key

b)

composite key

c)

compound key

d)

natural key

9.

The purpose of an entity _____ is to simplify an entity-relationship diagram (ERD) and thus enhance its readability.

a)

interface

b)

cluster

c)

 

constraint

d)

discriminator

10.

Nonoverlapping subtypes are subtypes that contain a(n) _____ subset of the supertype entity set.

a)

unique

b)

nonunique

c)

subtypes

d)

entity

11.

Within a specialization hierarchy, every subtype can have _____ supertype(s) to which it is directly related.

a)

only one

b)

zero

c)

one or many

d)

many

12.

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.

a)

preferably single-attribute

b)

nonintelligent

c)

security-complaint

d)

unique values

13.

The response of the DBMS to a query is the ___________

a)

integrated view of the data

b)

ad hoc query

c)

query result set

d)

ad hoc response

14.

A data warehouse contains historical data obtained from the _____.

a)

 

enterprise databases

b)

workgroup databases

c)

desktop database

d)

operational databases

15.

The “_____” characteristic of a primary key states that the primary key should not have embedded semantic meaning.

a)

security-compliant

b)

nonintelligent

c)

preferably single-attribute

d)

unique values

16.

From a structural point of view, 2NF is better than _____.

a)

3NF

b)

1NF

c)

4NF

d)

BCNF

17.

Repeating groups must be eliminated by ensuring that each row defines a single entity.

a)

True

b)

False

18.

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.

a)

transitive dependency

b)

repeating group

c)

atomic attribute

d)

partial dependency

19.

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 _____.

a)

select-compatible

b)

union-compatible

c)

difference-compatible

d)

intersect-compatible

20.

The row’s range of permissible values is known as its domain.

a)

True

b)

False

21.

RDBMSs enforce integrity rules automatically.

a)

True

b)

False

22.

To simplify the conceptual design, most higher-order relationships are decomposed into appropriate equivalent _____ relationships whenever possible.

a)

unary

b)

weak

c)

binary

d)

strong

23.

Database design is a(n) _____ process based on repetition.

a)

iterative

b)

sequential

c)

linear

d)

intermittent

24.

The _____ constraint can be placed on a column to ensure that every row in the table has a value for that column.

a)

UNIQUE

b)

EMPTY

c)

VALUE

d)

NOT NULL

25.

A(n) _____ only returns matched records from the tables that are being joined.

a)

outer join

b)

theta join

c)

equijoin

d)

inner join

26.

_____, also known as RESTRICT, yields values for all rows found in a table that satisfy a given condition.

a)

DIFFERENCE

b)

INTERSECT

c)

SELECT

d)

UNION

27.

The _____ relationship is the “relational model ideal.”

a)

M:1

b)

M:N

c)

1:M

d)

1:1

28.

The SELECT operator yields a vertical subset of a table.

a)

True

b)

False

29.

The entity relationship diagram (ERD) represents the _____ database as viewed by the end user.

a)

condensed

b)

physical

c)

conceptual

d)

logical

30.

In Chen notation, there is no way to represent cardinality.

a)

True

b)

False

31.

Composite attributes make it easier to facilitate detailed queries.

a)

True

b)

False

32.

Some very specialized applications may require normalization beyond the _____.

a)

3NF

b)

4NF

c)

1NF

d)

2NF

33.

Relational models view data as part of a table or collection of tables in which all key values must be identified.

a)

True

b)

False

34.

Denormalization produces a lower normal form.

a)

True

b)

False

35.

The most likely data type for a surrogate key is _____.

a)

date

b)

numeric

c)

logical

d)

character

36.

_____ is the bottom-up process of identifying a higher-level, more generic entity supertype from lower-level entity subtypes.

a)

Specialization

b)

Total Completeness

c)

Generalization

d)

Normalization

37.

The relationships depicted within the specialization hierarchy are sometimes described in terms of “is-a” relationships.

a)

True

b)

False

38.

Which of the following is true of spreadsheet applications?

a)

They do not allow manipulation of data once entered.

b)

They provide enhanced security and robust data sharing features.

c)

They enhance the user's ability to understand the data.

d)

They are a better alternative to databases.

39.

_____ are the result of formatting disorganized data in order to facilitate storage, use and generation of information.

a)

Unstructured data

b)

Raw data

c)

Obsolete data

d)

Structured data

40.

_____ is the body of information and facts about a specific subject.

a)

A format

b)

Knowledge

c)

Validation

d)

A database

41.

Data is the result of processing raw facts to reveal its meaning.

a)

True

b)

False

42.

Most data that can be encountered are best classified as _____.

a)

structured

b)

historical

c)

semistructured

d)

unstructured

43.

The only way to access the data in a database is through the DBMS.

a)

True

b)

False

44.

If one exists, a data modeler uses a _____ as the primary key of the entity being modeled.

a)

surrogate key

b)

combination key

c)

foreign key

d)

natural identifier

45.

From a system functionality point of view, _____ attribute values can be calculated when they are needed to write reports or invoices.

a)

historical

b)

derived

c)

granular

d)

atomic

46.

A table is in BCNF if every determinant in the table is a foreign key.

a)

True

b)

False

47.

The organization of data within folders in a manual file system is determined by _______.

a)

its expected use

b)

its date of creation

c)

the data processing specialist

d)

the title of the documents in the folder

48.

_____ provide a description of the data characteristics and the set of relationships that link the data found within the database.

a)

Schemas

b)

Queries

c)

Metadata

d)

End-user data

49.

The hierarchical data model was developed in the _____.

a)

1970s

b)

1960s

c)

1990s

d)

1980s

50.

The object-oriented data model was developed in the _____.

a)

1990s

b)

1980s

c)

1960s

d)

1970s

51.

The relational data model was developed in the _____.

a)

1970s

b)

1990s

c)

1980s

d)

1960s

52.

The network model has structural level dependence.

a)

True

b)

False

53.

The _____ model was developed to allow designers to use a graphical tool to examine structures rather than describing them with text.

a)

entity relationship

b)

object-oriented

c)

hierarchical

d)

network

54.

In an SQL-based relational database, rows in different tables are related based on common values in common attributes.

a)

True

b)

False

55.

The hierarchical model is software-independent.

a)

True

b)

False

56.

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.

a)

True

b)

False

57.

_____ are especially useful when you are trying to determine what values in related tables cause referential integrity problems.

a)

Theta joins

b)

Equijoins

c)

Inner joins

d)

Outer joins

58.

As rare as 1:1 relationships should be, certain conditions absolutely require their use.

a)

True

b)

False

59.

A _____ key is defined as a key that is used strictly for data retrieval purposes.

a)

Candidate

b)

Secondary

c)

Foreign

d)

Lookup

60.

A derived attribute is indicated in the Chen notation by a _____ that connects the attribute and an entity.

a)

double dashed line

b)

dashed line

c)

double line

d)

single line

61.

When the specific cardinalities are not included on the diagram in Crow's Foot notation, cardinality is implied by the use of _____.

a)

images

b)

attributes

c)

tables

d)

symbols

62.

An entity in the entity relationship model corresponds to a table in the relational environment.

a)

True

b)

False

63.

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.

a)

optional to

b)

mandatory for

c)

existence-dependent on

d)

independent of

64.

Within a specialization hierarchy, a supertype can exist only within the context of a subtype.

a)

True

b)

False

65.

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.

a)

unique values

b)

nonintelligent

c)

security-compliant

d)

preferably single-attribute

66.

The property of _____ enables an entity subtype to inherit the attributes and relationships of the supertype.

a)

inheritance

b)

specialization hierarchy

c)

specialization hierarchy

d)

subtype discriminator

67.

Specialization is the top-down process of identifying lower-level, more specific entity subtypes from a higher-level entity supertype.

a)

True

b)

False

68.

At the implementation level, the supertype and its subtype(s) depicted in a specialization hierarchy maintain a(n) _____ relationship.

a)

1:M

b)

self-referencing

c)

1:1

d)

M:N

69.

According to the “preferably single-attribute” characteristic of a primary key, the primary key:

a)

should have embedded semantic meaning associated with each attribute.

b)

must be composed of attributes that are free from security risks or violations.

c)

must be able to guarantee unique attribute values. 

d)

should have the minimum number of attributes possible. 

70.

In the context of total completeness, in a(n) _____, every supertype occurrence is a member of at least one subtype. 

a)

foreign key constraint

b)

overlapping constraint

c)

unique constraint

d)

disjoint constraint

71.

Disjoint subtypes are subtypes that contain nonunique subsets of the supertype entity set.

a)

True

b)

False

72.

To model time-variant data, one must create a new entity in an M:N relationship with the original entity.

a)

True

b)

False

73.

All relational tables satisfy the 1NF requirements.

a)

True

b)

False

74.

Dependency diagrams are very helpful in getting a bird’s-eye view of all the relationships among a table’s attributes.

a)

True

b)

False

75.

A dependency of one nonprime attribute on another nonprime attribute is a partial dependency.

a)

True

b)

False

76.

Dependencies that are based on only a part of a composite primary key are called transitive dependencies.

a)

True

b)

False

77.

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 _____.

a)

2NF

b)

1NF

c)

4NF

d)

3NF

78.

A relational table must not contain a(n) _____.

a)

Relationship

b)

Repeating group

c)

Entity

d)

Attribute

79.

A data model is usually graphical.

a)

True

b)

False

80.

A disadvantage of the relational database management system (RDBMS) is its inability to hide the complexities of the relational model from the user.

a)

True

b)

False

81.

A(n) _____ database is used by an organization and supports many users across many departments.

a)

Enterprise

b)

Transactional

c)

Desktop

d)

Workgroup

82.

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.

a)

True

b)

False

83.

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?

a)

Data query

b)

Data dictionary

c)

Data integrity

d)

Data redundancy

84.

_____ data exist in a format that does not lend itself to processing that yields information.

a)

Semistructured

b)

Historical

c)

Structured

d)

Unstructured

85.

The term _____ refers to an organization of components that define and regulate the collection, storage, management and use of data within a database environment.

a)

structured data

b)

transaction

c)

database system

d)

management system

86.

When data are entered into a form and saved, they are placed in the underlying database as knowledge.

a)

True

b)

False

87.

The DBMS reveals much of the database’s internal complexity to the application programs and users.

a)

True

b)

False

88.

_____ is the result of revealing the meaning of raw facts.

a)

Information

b)

End-user data

c)

An encoded sample

d)

An encrypted bit

89.

_____ data exist in the format in which they were collected.

a)

Structured

b)

Historical

c)

Unstructured

d)

Semistructured

90.

An XML database supports the storage and management of _____ XML data.

a)

multistructured

b)
structured
c)

semistructured

d)

fullystructured

91.

The _____ data model uses the concept of inheritance.

a)

object-oriented

b)

entity relationship

c)

relational

d)

network

92.

An implementation-ready data model should contain a description of the data structure that will store the end-user data.

a)

True

b)

False

93.

A(n) _____ is a restriction placed on the data.

a)

relationship

b)

constraint

c)

entity

d)

attribute

94.

In the context of data models, an entity is a person, place, thing, or event about which data will be collected and stored.

a)

True

b)

False

95.

A(n) _____’s main function is to help one understand the complexities of the real-world environment.

a)

node

b)

database

c)

entity

d)

model

96.

In an SQL-based relational database, each table is dependent on every other table.

a)

True

b)

False

97.

Today, most relational database products can be classified as object/relational.

a)

True

b)

False

98.

M:N relationships are not appropriate in a relational model.

a)

True

b)

False

99.

Database designers determine the data and information that yield the required understanding of the entire business.

a)

True

b)

False

100.

The _____ model uses the term connectivity to label the relationship types.

a)

relational

b)

object-oriented

c)

entity relationship

d)

network

101.

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.

a)

True

b)

False

102.

In Chen notation, entities and relationships have to be oriented horizontally; not vertically.

a)

True

b)

False

103.

A(n) _____ is anything about which data are to be collected and stored.

a)

relationship

b)

entity

c)

constraint

d)

attribute

104.

Each row in the relational table is known as an entity instance or entity occurrence in the ER model.

a)

True

b)

False

105.

Business rules apply to businesses and government groups, but not to other types of organizations such as religious groups or research laboratories.

a)

True

b)

False

106.

In a database context, a(n) _____ indicates the use of different names to describe the same attribute.

a)

entity

b)

synonym

c)

homonym

d)

duplicate

107.

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).

a)

comprehensive data sublanguage

b)

distribution independence

c)

integrity independence

d)

logical data independence

108.

A data dictionary is sometimes described as “the database designer’s database” because it records the design decisions about tables and their structures.

a)

True

b)

False

109.

Character data can contain any character or symbol intended for mathematical manipulation.

a)

True

b)

False

110.

The DIFFERENCE operator subtracts one table from the other.

a)

True

b)

False

111.

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).

a)

True

b)

False

112.

A _____ key can be described as a minimal superkey, a superkey without any unnecessary attributes.

a)

candidate

b)

foreign

c)

secondary

d)

primary

113.

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.

a)

null

b)

entity

c)

relational

d)

referential

114.

In a natural join, the column on which the join was made occurs twice in the new table.

a)

True

b)

False

115.

A _____ is any key that uniquely identifies each row.

a)

special key

b)

foreign key

c)

superkey

d)

candidate key

116.

A(n) _____ join links tables by selecting only the rows with common values in their common attribute(s).

a)

natural

b)

attribute

c)

foreign

d)

unique

117.

A _____ is the primary key of one table that has been placed into another table to create a common attribute.

a)

candidate key

b)

superkey

c)

composite primary key

d)

foreign key

118.

A _____ attribute can be further subdivided to yield additional attributes.

a)

single-valued

b)

simple

c)

composite

d)

multivalued

119.

Ideally, an entity identifier is composed of _____ attribute(s).

a)

one

b)

two

c)

six

d)

three

120.

A composite identifier is a primary key composed of more than one attribute.

a)

True

b)

False

121.

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.

a)

 

{min|max}

b)

(min, max)

c)

[min ... max]

d)

(max, min)

122.

Referential integrity and participation are both bidirectional, meaning that they must be addressed in both directions along a relationship.

a)

True

b)

False

123.

A _____ relationship exists when an association is maintained within a single entity.

a)

unary

b)

weak

c)

ternary

d)

strong

124.

In implementation terms, an entity is existence-dependent if it has a mandatory primary key.

a)

True

b)

False

125.

In the original Chen notation, each attribute is represented by an oval with the attribute name connected to an entity rectangle with a line.

a)

True

b)

False

126.

A _____ entity has a primary key that is partially or totally derived from the parent entity in the relationship.

a)

strong

b)

weak

c)

child

d)

business

127.

A _____ attribute is one that cannot be subdivided.

a)

single-valued

b)

composite

c)

simple

d)

multivalued

128.

A(n) _____ is the set of possible values for a given attribute.

a)

key

b)

range

c)

identifier

d)

domain

129.

If an employee within an EMPLOYEE entity has a relationship with itself, that relationship is known as a _____ relationship.

a)

self

b)

looping

c)

recursive

d)

self-referring

130.

The existence of a mandatory relationship indicates that the minimum cardinality is 0 or 1 for the mandatory entity.

a)

True

b)

False

131.

Software vendors have adopted the Chen representation because of its compact representation.

a)

True

b)

False

132.

The first step in building an entity-relationship diagram (ERD) is _____.

a)

creating a detailed narrative of the organization’s description of operations

b)

developing the initial ERD

c)

identifying the business rules based on the description of operations

d)

identifying the attributes and primary keys that adequately describe the entities

133.

In a 1:M relationship, to avoid the possibility of referential integrity errors, the data of the "1" side must be loaded first.

a)

True

b)

False

134.

An entity cluster is a "virtual" entity type used to represent multiple entities and relationships in the ERD.

a)

True

b)

False

135.

Which of the following is a specialization hierarchy overlapping constraint scenario in case of partial completeness? 

a)

Subtype does not have a supertype.

b)

Supertype has optional subtypes. 

c)

Subtype discriminators cannot be null. 

d)

Subtype sets are unique. 

136.

Entity subtypes do not inherit the relationships in which the supertype entity participates.

a)

True

b)

False

137.

Entity supertypes and subtypes are organized in a specialization hierarchy.

a)

True

b)

False

138.

Implementing overlapping subtypes requires the use of one discriminator attribute for each subtype. 

a)

True

b)

False

139.

Composite primary keys are particularly useful as identifiers of composite entities, where each primary key combination is allowed only once in the _____ relationship.

a)

1:1

b)

M:N

c)

0:1

d)

1:M

140.

Overlapping subtypes are subtypes that contain a unique subset of the supertype entity set.

a)

True

b)

False

141.

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.

a)

True

b)

False

142.

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.

a)

time-variances

b)

Boyce-Codd normal forms

c)

redundancies

d)

partial dependencies

143.

Normalization represents a micro view of the entities within the ERD.

a)

True

b)

False

144.

Normalization works through a series of stages called normal forms.

a)

True

b)

False

145.

From a structural point of view, 3NF is better than _____.

a)

2NF

b)

3NF

c)

6NF

d)

5NF

146.

A table that is in 2NF and contains no transitive dependencies is said to be in _____.

a)

1NF

b)

4NF

c)

3NF

d)

2NF

147.

Dependencies based on only a part of a composite primary key are known as _____ dependencies.

a)

primary

b)

partial

c)

incomplete

d)

composite

148.

An attribute that is part of a key is known as a(n) _____ attribute.

a)

important

b)

prime

c)

entity

d)

nonprime

149.

Normalization is a process that is used for changing attributes to entities.

a)

True

b)

False

150.

The combination of normalization and ER modeling yields a useful ERD, whose entities can be translated into appropriate table structures.

a)

True

b)

False