Databases - paper 1 Flashcards

1
Q

What are the features of a relational database?

A

Created of 2 or more entities
An entity is an item of interest that information is stored about

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

What is an entity relationship model?

A

Shows two or entities and how they link

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

What is an attribute?

A

Characteristics of an entity

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

What is a flat file database?

A

A database that consists of a single file.
One single entity and its attributes

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

What is a primary key?

A

A unique identifier for each record in a table
Shown by a line underneath it in an entity relationship model

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

What is a foreign key?

A

A foreign key is an attribute that links two or more tables together.
The foreign key will be the primary key in one table and a foreign key in another

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

What is a secondary key?

A

A secondary key allows databases to be searched quickly e.g if the patient ID is the primary key the secondary key may be their surname as it is easier to remember

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

What are the different types of entity relationship models?

A

One to one
One to many
Many to many

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

What is normalisation?

A

Coming up with the best possible design for a database

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

What is transaction processing?

A

A single logical operation is called a transaction

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

What is a hash table?

A

A table with a set of values after they have gone through a hash function.

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

What is dictionary compression?

A

Creating a table of reoccurring words or phrases to save space

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

What is commitment ordering

A

priorities transactions based on the dependencies on one another in addition to time

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