Section 6 Flashcards

1
Q

A UID that is a single attribute is a ……….. ……….

A

simple UID

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

However, sometimes a single attribute is not enough to uniquely identify an instance of an entity. If the UID is a combination of attributes, it is called a ………… ……….

A

composite UID

The date of performance or seat number alone does not identify a concert ticket. On any given date, there are many seats available. The same seat number is sold for many different dates.

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

………… …………. are those that don’t occur in the natural world but are created for purposes of identification in a system

A

Artificial UIDs

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

A UID can be both artificial and ………….

A

composite

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

R 1

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

It is possible for an intersection entity to use an artificial attribute as the UID, instead of the barred relationships to the originating entities

A

R 2

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

Sometimes two or more possible UIDs exist. For example, when you order a product from a commercial website, you will usually be assigned a unique customer code and asked to enter your e-mail address. Each of these uniquely identifies you, and each could be chosen as the UID. These are both ………… ……….

A

candidate UIDs

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

Sometimes two or more possible UIDs exist. For example, when you order a product from a commercial website, you will usually be assigned a unique customer code and asked to enter your e-mail address. Each of these uniquely identifies you, and each could be chosen as the UID. These are both ………… ……….

A

candidate UIDs

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

Only one of the candidate UIDs is chosen as the actual UID, this is called the ……… ………. The other candidates are called ……….. ………..

A

primary UID

secondary UIDs

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

Secondary UIDs can be useful as an alternative means of …………………………..

A

searching for data.

  • You forgot your student ID, but you have your badge with you.
  • You have a frequent-shopper card at the supermarket but did not bring it with you. Some systems can find your information if you provide your telephone number.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
A

R 2

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

…………………..: A series of steps followed to obtain a database design that allows for efficient access and storage of data in a relational database. These steps reduce data redundancy and the chances of data becoming inconsistent (because two copies and somebody update only one of them).

A

Normalization

useful memory aid: some legal systems require that a witness in court swears to tell “the truth, the whole truth and nothing but the truth”. One way of stating the normalization rules is that “Every non-UID attribute must be dependent on the UID, the whole UID, and nothing but the UID”.

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

One of your goals as a database designer is to “store information in …… ………. and in the best possible place“

A

one place

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

1NF eliminates repeating groups (multiple values) within an attribute by transferring the attribute to a
new entity and then connecting the entities with a ………. relationship.

A

1:M

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

Following the rules of 2NF allows us to validate that every attribute is in the correct …………, and identify entities that may have been missed in our original ERD.

A

entity

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

Note that the rule of Second Normal Form states that any …………. field must be dependent on the ……………

A

non-UID / entire UID

17
Q

An entity is considered to be in 2NF if the UID of the entity is ………….

A

simple

18
Q

The rule of Third Normal Form (3NF) states that no ……….. attribute can be dependent on another ………… attribute

A

non-UID

19
Q

A ………. ………… exists when any attribute in an entity is dependent on any other non-UID attribute in that entity

A

transitive dependency

Third normal form: The form of database normalization where all non key fields are dependent on the key, the whole key, and nothing but the key

20
Q

Third Normal Form ………… transitive dependencies

A

prohibits

21
Q

Third Normal Form Violations are hiding ………. ………

A

another entity.

22
Q

For an entity to be in Third Normal Form, it must also be in ……… ……… ………..

A

Second Normal Form

23
Q
A