1.3.1 Databases Flashcards

1
Q

What is entity relationship modelling?

A

A method of abstractly describing the data tables and the relationships between them visually.

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

Define Flat File

A

A single table data structure used to store all data.

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

Define foreign key

A

A linking attribute that joins two tables in a relational database by being a primary key in one and being a foreign key in another.

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

What is the normalisation of data bases?

A

Optimally designing data tables by reducing data redundancy and repetition by converting them into normal forms.

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

Define primary key

A

A unique identifier identifying each record in a table.

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

Define redundancy

A

The unnecessary repetition of a field in multiple tables.

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

How should databases have redundancy?

A

In the form of identical copies if part of the database gets lost and needs to be recovered.

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

What can ER modelling be used to do?

A

They can be used to reduce redundancy and construct a relational database.

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

What is a relational database?

A

A database where separate tables are made for each entity, and relationships between entities are represented by foreign keys.

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

How are primary and foreign keys identified?

A

Primary is underlined

Foreign use asterisks.

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