You are on page 1of 5

A relation is in 1NF if it doesn't contain any ____________?

A.Determinants
B.Repeating groups
C.Null values in primary key fields
D.Functional dependencies

A table is in 2NF if the table is in 1NF and what other condition is met?
A.There are no functional dependencies.
B.There are no null values in primary key fields.
C.There are no repeating groups.
D.There are no attributes that are not functionally dependent on the relation's
primary key.

When you normalize a relation by breaking it into two smaller relations, what must
you do to maintain data integrity?
(SElect two best answer)
A.Link the relations by a common field
B.Remove any functional dependencies from both relations
C.Assign both relations the same primary key field(s)
D.Create a primary key(s) for the new relation

A,B

What process does the technical term normalization describe?


A.Creating tables from an ER diagram
B.Creating larger tables from smaller tables
C.Expressing a database's design in terms of set theory
D.Breaking larger tables into smaller tables

What kind of inefficiencies may exist in tables that have not been normalized?
Please select all the correct answers.
A.Redundant data
B.Lengthy updates
C.Slow searches and queries
D.Missing data

A,B,C

To what does the term normal form refer?


A.A stage in a process that breaks up large tables into smaller, more efficient
tables
B.A standard database included with most RDBMSs
C.A standard table included with most RDBMSs
D.A methodology for representing tables in an ER diagram

A table is in 3NF if the table is in 2NF and what other condition is met?
A.There are no transitive dependencies.
B.There are no null values in primary key fields.
C.There are no repeating groups.
D.All non-key attributes are functionally dependent on the table's entire primary
key.
A

A table field that is a primary-key field in another table is referred to as what


kind of key?
A.Concatenated primary key
B.Foreign key
C.Candidate key
D.Primary key

Which of the following data domains support calculations?


A.VARCHAR
B.BOOLEAN
C.INT
D.DATE

C,D

Row is synonymous with the term:


A.record.
B.relation.
C.column.
D.field.

Following a power failure, the database is restored with a wrong price for a data
item. This break in data quality was caused by:
A.Ambiguity
B.Lack of reliability
C.Incompleteness
D.Inconsistency

When the values in one or more attributes being used as a foreign key must exist in
another set of one or more attributes in another table, we have created a(n):
A.transitive dependency.
B.insertion anomaly.
C.referential integrity constraint.
D.normal form.

A relation is considered a:
A.Column.
B.one-dimensional table.
C.two-dimensional table.
D.three-dimensional table.

In the relational model, relationships between relations or tables are created by


using:
A.composite keys.
B.primary keys.
C.candidate keys.
D.foreign keys.

Table is synonymous with the term:


A.record.
B.relation.
C.column.
D.field.

Which of the following is not a restriction for a table to be a relation?


A.The cells of the table must contain a single value.
B.All of the entries in any column must be of the same kind.
C.The columns must be ordered.
D.No two rows in a table may be identical.

For some relations, changing the data can have undesirable consequences called:
A.referential integrity constraints.
B.modification anomalies.
C.normal forms.
D.transitive dependencies.

A key:
A.must always be composed of two or more columns.
B.can only be one column.
C.identifies a row.
D.identifies a column.

An attribute is a(n):
A.column of a table.
B.two dimensional table.
C.row of a table.
D.key of a table.

Logical database design takes place during:


A.Systems implementation
B.Systems design
C.Systems design and system implementation
D.Systems analysis

A goal of normalization is to:


A.minimize the number of relationships
B.minimize the number of entities
C.minimize the number of tables
D.minimize data redundancy

D
One solution to the multivalued dependency constraint problem is to:
A.split the relation into two relations, each with a single theme.
B.change the theme.
C.create a new theme.
D.add a composite key.

The following is a table named Grades, which attempts to present information about
all the grades that students have received for the tests they've taken. Each row
represents a grade for a particular student.

Test Student Date TotalPoints Grade TestFormat Teacher Assistant


Database Quiz Lorenz 2017-04-10 10 10 Multiple Choice Chezka
Gab
Database Quiz Aniel 2017-04-10 10 8 Multiple Choice Diara Drian
PHP Quiz Alex 2017-04-11 20 17 Multiple Choice Alessandra NULL
Soft Eng Test Lloyd 2017-03-13 50 45 Essay Chloe Princess
Soft Eng Test Lyka 2017-03-14 50 38 Essay Chloe Princess
Network Quiz Lloyd 2017-03-15 100 99 Multiple Choice, Essay Chezka
Gab

Description that each column in this is meant to provide. The columns are:
Test: A description of the test or quiz given
Student: The student who took the test
Date: The date on which the test was taken
TotalPoints: The total number of possible points for the test
Grade: The number of points that the student received
TestFormat: The format of the test: essay, multiple choice, or both
Teacher: The teacher who gave the test
Assistant: The person who is assigned to assist the teacher

Assume that the primary key for this table is a composite primary key consisting of
the Test and Student columns.Each row in the table is meant to express a grade for
a specific test and student.
Normalize the given table.

DHL prides itself on having up-to-date information on the processing and current
location of each
shipped item. To do this, DHL relies on a company-wide information system. Shipped
items are
the heart of the DHL product tracking information system. Shipped items can be
characterized
by item number (unique), weight, dimensions, insurance amount, destination, and
final delivery
date. Shipped items are received into the DHL system at a single retail center.
Retail centers are
characterized by their type, uniqueID, and address. Shipped items make their way to
their
destination via one or more standard DHL transportation events (i.e., flights,
truck deliveries).
These transportation events are characterized by a unique scheduleNumber, a type
(e.g, flight,
truck), and a deliveryRoute.
Please create an Entity Relationship diagram that captures this information about
the DHL
system. Be certain to indicate identifiers and cardinality constraints.

Grading:
Entities correctly identified: 5
Attributes correctly identified: 5
Primary keys correctly identified: 5
Relationships and cardinality correctly identified: 10