wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Logical Database Design and the Relational Model

Total questions: 86

Worksheet time: 43mins

Name
Class
Date
1.

_______ database specification indicates all the parameters for data storage that are then input to database implementation.

a)

Logical

b)

Physical

c)

Schematic

d)

Conceptual

2.

A form of database specification which maps conceptual requirements is called:

a)

logical specifications

b)

response specifications

c)

security specifications

d)

physical specifications

3.

Data is represented in the form of:

a)

data trees

b)

tables

c)

data notes

d)

chairs

4.

A two-dimensional table of data sometimes is called a:

a)

group

b)

set

c)

declaration

d)

relation

5.

_______ is a component of the relational data model included to specify business rules to maintain the integrity of data when they are manipulated.

a)

Business rule constraint

b)

Data integrity

c)

Business integrity

d)

Data structure

6.

An attribute (or attributes) that uniquely identifies each row in a relation is called a:

a)

column

b)

foreign field

c)

primary key

d)

duplicate key

7.

An attribute in a relation of a database that serves as the primary key of another relation in the same database is called a:

a)

link attribute

b)

link key

c)

foreign key

d)

foreign attribute

8.

A primary key whose value is unique across all relations is called a(n):

a)

global primary key

b)

inter-table primary key

c)

enterprise key

d)

foreign global key

9.

A primary key that consists of more than one attribute is called a:

a)

foreign key

b)

composite key

c)

multivalued key

d)

cardinal key

10.

In the SQL language, the ________ statement is used to make table definitions.

a)

create session

b)

create table

c)

create index

d)

select

11.

In the figure, the primary key for Order Line is which type of key?

a)

Composite

b)

Foreign

c)

Standard

d)

Grouped

12.

Which of the following is NOT a reason to create an instance of a relational schema with sample data?

a)

Sample data can be used to improve user communications.

b)

Sample data can be used for prototype generation.

c)

Sample data can reverse database implementation errors.

d)

Sample data provide a convenient way to check the accuracy of your design.

13.

A domain definition consists of all of the following components EXCEPT:

a)

domain name.

b)

data type.

c)

integrity constraints.

d)

size.

14.

Which of the following are properties of relations?

a)

Each attribute has the same name.

b)

No two rows in a relation are identical.

c)

There are multivalued attributes in a relation.

d)

All columns are numeric.

15.

Which of the following violates the atomic property of relations?

a)

Sam

b)

Hinz

c)

Sam Hinz

d)

Atomic

16.

The entity integrity rule states that:

a)

no primary key attribute can be null.

b)

referential integrity must be maintained across all entities.

c)

each entity must have a primary key.

d)

a primary key must have only one attribute.

17.

The ________ states that no primary key attribute may be null.

a)

referential integrity constraint

b)

entity integrity rule

c)

partial specialization rule

d)

range domain rule

18.

In the figure, Customer_ID in the CUSTOMER table is which type of key?

a)

Composite

b)

Candidate

c)

Standard

d)

Grouped

19.

All of the following are the main goals of normalization EXCEPT:

a)

minimize data redundancy

b)

simplify the enforcement of referential integrity

c)

maximize storage space

d)

make it easier to maintain data

20.

When all multivalued attributes have been removed from a relation, it is said to be in:

a)

first normal form

b)

second normal form

c)

Boyce-Codd normal form

d)

third normal form

21.

The normal form which removes any remaining functional dependencies because there was more than one primary key for the same nonkeys is called:

a)

fifth normal form.

b)

fourth normal form.

c)

Boyce-Codd normal form.

d)

sixth normal form.

22.

The normal form which deals with multivalued dependencies is called:

a)

fifth normal form.

b)

fourth normal form.

c)

Boyce-Codd normal form.

d)

sixth normal form.

23.

A relation that contains no multivalued attributes and has nonkey attributes solely dependent on the primary key but contains transitive dependencies is in which normal form?

a)

First

b)

Second

c)

Third

d)

Fourth

24.

A constraint between two attributes is called a(n):

a)

functional relation.

b)

attribute dependency.

c)

functional dependency.

d)

functional relation constraint.

25.

A candidate key must satisfy all of the following conditions EXCEPT:

a)

the key must uniquely identify the row.

b)

the key must indicate the row's position in the table.

c)

the key must be nonredundant.

d)

each nonkey attribute is functionally dependent upon it.

26.

The attribute on the left-hand side of the arrow in a functional dependency is the:

a)

candidate key.

b)

determinant.

c)

foreign key.

d)

primary key.

27.

A functional dependency in which one or more nonkey attributes are functionally dependent on part, but not all, of the primary key is called a ________ dependency.

a)

partial key-based

b)

partial functional

c)

cross key

d)

merged relation

28.

A functional dependency between two or more nonkey attributes is called a:

a)

partial functional dependency.

b)

partial nonkey dependency.

c)

transitive dependency.

d)

partial transitive dependency.

29.

________ problems are encountered when removing data with transitive dependencies.

a)

Insertion

b)

Modification

c)

Deletion

d)

Merging

30.

The need to ________ relations commonly occurs when different views need to be integrated.

a)

metadata

b)

system

c)

drop

d)

merge

31.

Two or more attributes having different names but the same meaning are called:

a)

homonyms.

b)

aliases.

c)

synonyms.

d)

alternate attributes.

32.

An attribute that may have more than one meaning is called a(n):

a)

homonym.

b)

alias.

c)

double defined attribute.

d)

synonym.

33.

An alternative name for an attribute is called a(n):

a)

synonym

b)

alias

c)

alternate attribute

d)

related characteristic

34.

Understanding the steps involved in transforming EER diagrams into relations is important because:

a)

one must be able to check the output of a CASE tool

b)

there are rarely legitimate alternatives from which to choose

c)

CASE tools can model any situation

d)

CASE tools model hypothetical business problems

35.

A nonkey attribute is also called a(n):

a)

column

b)

unimportant datum

c)

descriptor

d)

address

36.

When a regular entity type contains a multivalued attribute, one must:

a)

create a single relation with multiple lines for each instance of the multivalued attribute

b)

create two new relations, one containing the multivalued attribute

c)

create two new relations, both containing the multivalued attribute

d)

delete the relation and start over

37.

In the figure, what type of relationship do the relations depict?

a)

Strong entity/weak entity

b)

Multivalued

c)

Composite foreign key

d)

One-to-many

38.

In the figure, what type of relationship do the relations depict?

a)

Strong entity/weak entity

b)

Multivalued

c)

Composite foreign key

d)

One-to-many

39.

In the figure below, what is depicted?

a)

A one-to-one relationship

b)

A unary relationship

c)

A one-to-many relationship

d)

An associative entity

40.

In the figure below, what type of key is depicted?

a)

Primary

b)

Recursive primary

c)

Composite

d)

Recursive foreign

41.

Referring to the figure below, which of the following is NOT true?

a)

A component is part of an item.

b)

A component is always used in only one item.

c)

A component can be part of an item.

d)

A component may be used in many items.

42.

The figure below is an example of mapping which type of relationship?

a)

First

b)

Second

c)

Unary

d)

Ternary

43.

A rule that states that each foreign key value must match a primary key value in the other relation is called the:

a)

referential integrity constraint

b)

key match rule

c)

entity key group rule

d)

foreign/primary match rule

44.

_____ are anomalies that can be caused by editing data in tables.

a)

Insertion

b)

Deletion

c)

Modification

d)

Creation

45.

A relation that contains minimal redundancy and allows easy use is considered to be:

a)

clean

b)

B)  simple. 

c)

complex

d)

B)  well-structured. 

46.

Data structures include data organized in the form of tables with rows and columns.

a)

True

b)

False

47.

A composite key consists of only one attribute.

a)

True

b)

False

48.

A primary key is an attribute that uniquely identifies each row in a relation.

a)

True

b)

False

49.

A foreign key is a primary key of a relation that also is a primary key in another relation.

a)

True

b)

False

50.

Sample data are useful for developing prototype applications and for testing queries.

a)

True

b)

False

51.

An enterprise key is a foreign key whose value is unique across all relations.

a)

True

b)

False

52.

One property of a relation is that each attribute within a relation has a unique name.

a)

True

b)

False

53.

There can be multivalued attributes in a relation.

a)

True

b)

False

54.

The columns of a relation can be interchanged without changing the meaning or use of the relation.

a)

True

b)

False

55.

Unlike columns, the rows of a relation may not be interchanged and must be stored in one sequence.

a)

True

b)

False

56.

All values that appear in a column of a relation must be taken from the same domain.

a)

True

b)

False

57.

View integration is the process of merging relations together.

a)

True

b)

False

58.

A synonym is an attribute that may have more than one meaning.

a)

True

b)

False

59.

When two or more attributes describe the same characteristic of an entity, they are synonyms.

a)

TRUE

b)

FALSE

60.

CASE tools can model more complex data relationships, such as ternary relationships.

a)

TRUE

b)

FALSE

61.

When a regular entity type contains a multivalued attribute, two new relations are created.

a)

TRUE

b)

FALSE

62.

When transforming a weak entity, one should create one relation with both the attributes of the strong entity and the attributes of the weak entity.

a)

TRUE

b)

FALSE

63.

The primary key of the many side migrates to the one side when transforming a one-to-many relationship.

a)

TRUE

b)

FALSE

64.

When transforming a one-to-one relationship, a new relation is always created.

a)

TRUE

b)

FALSE

65.

If an identifier is not assigned, the default primary key for an associative relation consists of the two primary key attributes from the other two relations.

a)

TRUE

b)

FALSE

66.

An identifier assigned to an associative entity is also called a cross-relation key.

a)

TRUE

b)

FALSE

67.

each employee has exactly one manager.

a)

TRUE

b)

FALSE

68.

When transforming a unary many-to-many relationship to relations, a recursive foreign key is used.

a)

TRUE

b)

FALSE

69.

The relational data model does, at this time, directly support subtype/supertype relationships.

a)

TRUE

b)

FALSE

70.

Data integrity consists of powerful operations to manipulate data stored in relations.

a)

TRUE

b)

FALSE

71.

The allowable range of values for a given attribute is part of the domain constraint.

a)

TRUE

b)

FALSE

72.

The entity integrity rule states that a primary key attribute can be null.

a)

TRUE

b)

FALSE

73.

In the relational data model, associations between tables are defined through the use of primary keys.

a)

TRUE

b)

FALSE

74.

A referential integrity constraint is a rule that maintains consistency among the rows of two relations.

a)

TRUE

b)

FALSE

75.

A cascading delete removes all records in other tables associated with the record to be deleted.

a)

TRUE

b)

FALSE

76.

Select True or False: The truncate table statement in SQL creates a new table.

a)

True

b)

False

77.

Select True or False: A well-structured relation contains minimal redundancy and allows users to manipulate the relation without errors or inconsistencies.

a)

True

b)

False

78.

Select True or False: An anomaly is a type of flaw in the database server.

a)

True

b)

False

79.

Select True or False: When normalizing, the goal is to decompose relations with anomalies to produce smaller, well-structured relations.

a)

True

b)

False

80.

Select True or False: A relation in fifth normal form may not contain any anomalies.

a)

True

b)

False

81.

Select True or False: A co-dependency is a constraint between two attributes or two sets of attributes.

a)

True

b)

False

82.

Select True or False: A candidate key is an attribute, or combination of attributes, that uniquely identifies a row in a relation.

a)

True

b)

False

83.

Select True or False: A relation is in first normal form if it has no more than one multivalued attribute.

a)

True

b)

False

84.

Select True or False: A partial functional dependency is a functional dependency in which one or more nonkey attributes are functionally dependent on part (but not all) of the primary key.

a)

True

b)

False

85.

Select True or False: A transversal dependency is a functional dependency between two or more nonkey attributes.

a)

True

b)

False

86.

Select True or False: Anomalies do not generally arise out of transitive dependencies.

a)

True

b)

False