Database Design and Development Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is a flat file database?

A

A database consisting of one table.

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

Name some of the basic issues with a flat file database.

A
  • Unnecessary repitition.

- An increased file size.

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

What are the three basic ‘anomalies’?

A
  • Insert anomaly
  • Delete anomaly
  • Update anomaly
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is an ‘Insert Anomaly’?

A

Where a new piece of information cannot be added without adding an entire new row.

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

What is a ‘Delete Anomaly’?

A

Where a singular piece of information cannot be removed without deleting it’s entire row.

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

What is an ‘Update Anomaly’?

A

Where multiple, repeating pieces of information must be updated, but not all of them are. This causes inconsistency in the data.

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

What is a linked database?

A

Where two or more tables are created an linked to form a database. This cancels out the three key anomalies of a flat file database.

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

Name the five key fields used in a database.

A
  • Text Field
  • Number Field
  • Date Field
  • Time Field
  • Boolean Field
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Field Name - - - Sample Data - - - Field Type
Forename - - - Malcolm - - - ( ? )
Start date - - - 24/12/2017 - - - ( ? )
Field duty - - - Yes - - - ( ? )
Hours worked - - - 55 - - - ( ? )

State the four field types used here.

A
  1. Text.
  2. Date.
  3. Boolean.
  4. Number.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a primary key?

A

A unique ID that can be used to identify any individual record in the database.

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

What is a foreign key?

A

A key that appears in more than one table, linking them together.

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

What is a database?

A

An organised collection of information or data.

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