1.3.2 databases Flashcards

1
Q

what is a relational database?

A

a database which recognises the difference between entities and uses different tables for each entity

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

what is an entity?

A

an item of interest about which information is stored

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

what is a flat file?

A

a database that consists of a single file usually about one entity

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

what is a primary key?

A

a unique identifier for each record in a table

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

what is a foreign key?

A

the attribute which links two tables together

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

what is a secondary key?

A

an Index other than the primary key used to search and sort though the database with more convenience and speed

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

what is normalisation?

A

this is the process of coming up with the best layout for a relational database

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

what does normalisation try to accomplish?

A

no redundancy, consistent data throughout linked tables, records can be added and removed without issues, complex queries can be carried out

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

what is an index?

A

an index is a data structure used to look up and access data in database quickly

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

is the primary key automatically indexed?

A

yes

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

what does capturing data mean?

A

capturing data is the process of getting the information you wish to use

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

what method do banks use to capture data from cheques?

A

they use magnetic ink character recognition to get all the details from the amount which must be entered manually

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

what does selecting data mean?

A

selecting data is the process of reducing excess information to obtain only the data you require

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

what does managing the data mean?

A

managing the data means to manipulate the information in any type of way such as through sorting through it or selecting certain parts using SQL

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

what is the most common language used to manipulate data in databases

A

SQL

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

what are the requirements to be in first normal form?

A

to be in first normal from there must be no attribute that contain more than a single value in a cell

17
Q

what are the requirements to be in second normal form?

A

the database is in first normal form, there are no composite keys

18
Q

what are the requirements to be in third normal form?

A

the database is in second normal form, there are no non key dependencies

19
Q

what does SQL stand for?

A

structured query language

20
Q

what is SQL?

A

a declarative language used to manipulate databases

21
Q

what is referential integrity?

A

referential integrity is the process of ensuring constancy as it makes sure that information is not removed if it is required elsewhere in a linked database

22
Q

what is a transition defined as?

A

a transaction is a single operating executed on data

23
Q

what does ACID stand for?

A

Atomicity, consistency , isolation and durability

24
Q

what does atomicity in ACID mean?

A

a transition must be processed in its entirety or not at all

25
Q

what does consistency in ACID mean?

A

a transaction must maintain referential integrity rules between linked tables

26
Q

What does isolation (in ACID) mean?

A

Simultaneous execution of transactions should lead to the same result as if they were executed one after the other.

27
Q

What does durability (in ACID) mean?

A

Once a transaction has been executed it will remain so regardless of the circumstances

28
Q

what is record locking?

A

record locking is the process of preventing simultaneous access to a record

29
Q

What is the name of an issue that can arise as a result of record locking?

A

deadlock

30
Q

What is redundancy?

A

the process of creating more than one copy of data in a physically different location