Organizing Records in Access Flashcards

(30 cards)

1
Q

What is the process of applying normalization rules to a database design called?

A

Normalizing the database or just normalization

Normalization helps ensure the division of information items into appropriate tables.

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

What are the five widely accepted normal forms in database normalization?

A

1NF, 2NF, 3NF, BCNF, and 4NF

These normal forms help in organizing database records efficiently.

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

What is the primary goal of the First Normal Form (1NF)?

A

Eliminate repeating groups in individual tables

This involves creating a separate table for each set of related data.

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

In the context of 1NF, what should you do if an inventory record may come from multiple vendors?

A

Place all vendor information in a separate table called Vendors

Link inventory to vendors with an item number key or vendors to inventory with a vendor code key.

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

What is the focus of the Second Normal Form (2NF)?

A

Create separate tables for sets of values that apply to multiple records

Relate these tables with a foreign key.

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

What must be eliminated to satisfy the Third Normal Form (3NF)?

A

Fields that do not depend on the key

Values not part of a record’s key do not belong in that table.

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

What is a multivalued dependency in the context of the Fourth Normal Form (4NF)?

A

A dependency where a single value of A can have multiple values of B

A table should have at least three columns to exhibit a multivalued dependency.

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

How can you satisfy the Fourth Normal Form (4NF)?

A

Separate the table into two tables

This helps eliminate unnecessary repetition of data and other anomalies.

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

What is a key characteristic of a relational database management system (RDMS)?

A

Information is divided into separate, subject-based tables

Table relationships are used to bring the information together as needed.

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

What must be compatible when creating a table relationship?

A

The fields that you connect must have the same or compatible data types

For example, you cannot create a relationship between a Number field and a Text field.

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

True or False: You can change the data type of a field involved in a table relationship without any restrictions.

A

False

You must delete the relationship to change the Field Size property, and changing the data type may require additional steps.

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

In a one-to-many relationship, what should you do with the primary key from the ‘one’ side?

A

Add it as an additional column to the table on the ‘many’ side of the relationship

This establishes the link between the two tables.

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

What does the term ‘primary key’ refer to in database normalization?

A

A unique identifier for a record in a table

It is crucial for establishing relationships between tables.

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

Fill in the blank: The process of normalizing a database ensures that data is divided into appropriate _______.

A

[tables]

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

What is the purpose of creating table relationships in a relational database?

A

To bring information together in meaningful ways

This allows for efficient data retrieval and management.

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

What is a one-to-many relationship in database design?

A

A one-to-many relationship involves a primary key on the ‘one’ side and an additional column in the ‘many’ side table.

17
Q

What is a foreign key?

A

A foreign key is another table’s primary key.

18
Q

How is the PatientID column in the AB_Abstract table characterized?

A

The PatientID column is a foreign key because it is the primary key in the CM_CPI table.

19
Q

What ensures that two tables share a common column?

A

Identifying a one-to-many relationship.

20
Q

What is the relationship between the AB_Abstract table and the ICD_DiagFile10 table?

A

The relationship is many-to-many.

21
Q

What is the problem that arises from a many-to-many relationship?

A

It leads to inefficient design and potential data inaccuracies due to repeated information.

22
Q

How can a many-to-many relationship be resolved?

A

By creating a third table, often called a junction table, to break it down into two one-to-many relationships.

23
Q

What information does the third table in a many-to-many relationship contain?

A

It contains the primary keys from each of the two tables.

24
Q

What is the purpose of the AB_Diagnosis table in the WinRecs database?

A

It serves as the junction table that relates the AB_Abstract and ICD_DiagFile10 tables.

25
What is the nature of the relationship between the AB_Abstract table and the AB_Diagnosis table?
It is a one-to-many relationship.
26
What defines a one-to-one relationship?
Each record in one table corresponds to a single record in another table.
27
Why might you create a separate table for supplementary information?
Because the information is rarely needed and would result in empty space if added to the primary table.
28
What must both tables share in a one-to-one relationship?
A common field.
29
Fill in the blank: In a one-to-one relationship, both tables must share a _______.
[common field]
30
True or False: A many-to-many relationship can be represented directly in a database.
False.