1.3.2 Databases Flashcards

1
Q

What type of database stores information in a single large table

A

Flat File

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

What type of database stores data in many smaller tables, linked together using keys?

A

Relational Database

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

What are unique attributes that can be used to identify a record in a table?

A

Primary Keys

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

What are the primary keys from another table and are used to link tables together?

A

Foreign Keys

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

What type of model can be used to visually describe the relationships between the different entities in a database.

A

Entity relationship model

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

What is the process of converting a flat file database into a relational one.

A

Normalisation

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

What is a data structure used to shorten the length of time it takes to search a database.

A

An Index

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

What is Optical mark recognition (OMR) used for and hoe doe it work?

A

OMR is often used to capture data that is to be held in databases. A light is then shone at the paper and, as the mark made by the user reflects less light than the empty boxes, the software can work out which answer was selected.

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

Which rule must be obeyed for a table to be in 1st Normal Form?

A

Each field must only contain one piece of data and all attributes in the table must depend on the primary key
(The Key)

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

Which rule must be obeyed for a table to be in 2nd Normal Form?

A

It must be in 1st Normal Form and no entities can be partially dependent on the primary key.
(The Whole Key)

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

Which rule must be obeyed for a table to be in 3rd Normal Form?

A

It must be in 2nd Normal Form and have no transitive dependencies. The entities must be dependent on no other entities than the primary key.
(Nothing But The Key)

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

What is referential integrity?

A

Every foreign key must refer to the primary key of an existing record.

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

What is an orphan record?

A

A record with a foreign key where the record, with the linked primary key, has been deleted.

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

In transaction processing what is atomicity?

A

Either every part of the transaction must be successful or the whole transaction must fail.

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

In transaction processing what is consistency?

A

All data entered in the transaction must follow the rules of the database.

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

In transaction processing what is Isolation?

A

When multiple sessions are operating at the same time on the same database, they do not effect the outcome of the processing of the other session. The data will be as if one session carried out its transaction followed by the other.

17
Q

In transaction processing what is Durability?

A

Once a transaction has completed the data remains the same until it is purposefully changed by another transaction.