1.3.2 Databases Flashcards

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

Database

A

A collection of data or information which is held together in an organised way

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

Flat file database

A

Consist of a single table which stores all the data within that database

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

Relational Database

A

A database that has a separate table for each entity.

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

Primary Key

A

A field in a table which is unique and allows you to identify every record

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

Foreign Key

A

Used to link tables together and create relationships

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

Compound/composite primary key

A

Combines more that one field to make a unique value

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

Secondary key

A

A key made on a field to be indexed for faster searches

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

Referential integrity

A

Making sure you cannot delete record that are used by other tables

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

Entity relationship modelling/diagram

A

A diagram that represents the relationships between entities in a database

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

Normalisation

A

A process used to come up with the best possible design for a relational database

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

Indexing

A

Creating a database index that improves the speed of data retrieval in a database

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

0NF

A

A table with no normalisation

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

1NF/ First Normal Form

A

A table containing no repeated attributes

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

2NF/ Second Normal Form

A

A table that’s is in first normal form and contains no partial dependencies

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

3NF / Third Normal Form

A

A table that is in 2NF and all non key elements are fully dependent on the primary key

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

Normal Forms

A

Ways for structuring data in a relational database according to formal rules

17
Q

SQL / Structured Query Language

A

A declarative language used for querying and updating tables in a relational database

18
Q

Database transaction

A

A set of operations that update one or more databases in some way

19
Q

ACID

A

Atomicity
Consistency
Isolation
Durability

20
Q

Atomic transaction

A

An atomic transaction is indivisible

21
Q

Consistent transaction

A

Follows all of the established rules of the database

22
Q

Isolated transaction

A

Cannot be interfered with while underway

23
Q

Durable transaction

A

Is recorder is such a way that the result cannot be easily lost

24
Q

Record locking

A

Preventing simultaneous access to record in a database

25
Q

Redundancy

A

Having one or more copies of data in physically different locations