Mid term practice Flashcards

(17 cards)

1
Q

An ERD is a pictorial representation of

A

Users data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

A reverse engineered ERD from a relational database is always a

A

Physical ERD

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

An attribute that cannot be broken into smaller components is called

A

Atomic Attribute

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

The number of entities that participate in a relationship is called

A

Degree

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Select two options - An entity should not be
A report
A concept
An event
A user of the system
A place

A

A report, A user of the system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a composite attribute?

A

An attribute can be further subdivided into meaningful parts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

5 items that Metadata should have

A

-Data types
-Source
-Description of data
-Name of attribute
-Constraints

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

A drug has contraindications with another drug, i.e. a drug cannot be taken with another drug. What type of a degree is best suited to represent such a relation.

A

Unary

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

A data administrator decides to store the street number, street name, city, province and postal code, all in a single address field, what is such an attribute called:

A

Composite attribute

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

A summary that tells the reader about the project and what the reader should expect from the document.

A

An Abstract

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

A database engineer using a modeling tool to create an ERD and then uses the tool to create DDL statements. This process is called

A

Forward Engineering

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Often DDL statements are written manually by a database designer. He uses a modeling tool to draw an ERD from this set of DDL statements, this process is called

A

Reverse Engineering

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

An association between one, two or three entities is called

A

A relationship

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

A table has a composite key and repeating data items have been resolved.

Question options:

The table can never be in second normal form, it will always have partial functional dependency because it has a composite key

The table may be in first, second or third normal form based on rules.

The table can never be in second normal form unless the composite key is resolved into a primary key that have only one attribute.

A

The table may be in first, second, or third normal form

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Some data needs to be deleted from a table. Other relevant data is lost in the delete operation. What is this called?

A

Deletion Anomaly

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Data needs to be added to a table. Two situations arise

  1. The user is forced to add data to other fields that are in the table.
  2. Data is not available for all fields, the user is forced to add NULL values to other fields .

What is this called?

A

Insertion Anomaly

17
Q

Identify the rule that maintains consistency among the rows of two relations

A

Referential Integrity Rule