1.3.2 Databases Flashcards

1
Q

Relational Database

A

“Allows the user to specify information about multiple tables and the relationship between those tables”

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

Flat File

A

“A database that allows the user to specify data attributes (columns, databases etc.) for only one table at a time, storing those attributes independently”

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

Primary Key

A

“A field that uniquely identifies a record in a table”

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

Foreign Key

A

“The linking field in the foreign table formed when a relationship is made. The FK becomes by default the PK of the new table.”

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

Concatenated Primary Key

A

“When more than one field is added together to form a unique primary key for a table.”

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

Secondary Key

A

“A key field which can be used to access a table in a different way”

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

ERM

A

Entity Relationship Modelling: “The process of producing a data model for describing the data or information aspects of a business domain or its process requirements, in an abstract way that lends itself to ultimately being implemented in a data such as a relation database.”

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

Normalisation

A

“The process of arranging data in tables and setting their relationships to move them through normal forms”

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

Indexing

A

“The process of creating a database index, which is a data structure that improves the speed of data retrieval operations on a dataset table at the cost of additional writes and storage space to maintain the index data structure.”

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

0NF

A

“A table with no normalisation. All data and all fields in one table”

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

1NF

A

First Normal Form: “A relationship with repeating groups removed. That is a relation in which the intersection of each tuple and attribute contains one and only one value.”

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

2NF

A

Second Normal Form: “A relation that is in 1NF and every non-primary key attribute is fully dependant on the primary key. That is, all the incomplete dependencies have been removed”

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

3NF

A

Third Normal Form: “A relation that is in 1NF and 2NF, and in which no non-primary key attribute is transitively dependent on the primary key. That is, 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
14
Q

Normal Forms

A

“A way of structuring the data in a relational database according to formal rules, in order to avoid problems of efficiency and security in accessing and maintain the data.”

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

SQL

A

Structured Query Language: “The language and syntax used to write and run database queries”

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

Referential Integrity

A

“A measure of the consistency of the data in a database. It is violated when the relation to which a foreign key refers to no longer exists.”

17
Q

Transaction Processing

A

“Information processing that is divided into individual, indivisible operations, called transactions. Each transaction must succeed or fail as a complete unit, it can never be only partially complete.”

18
Q

ACID

A

Atomicity, Consistency, Isolation, Durability: “A set of properties that guarantee that database transactions are processed reliably. In the context of databases, a single logical operation on the data is called a transaction.”

19
Q

Record Locking

A

“A technique of preventing simultaneous access to data in a database, to prevent inconsistent results. The classic example is demonstrated by two bank clerks attempting to update the same bank account for two different transactions.”

20
Q

Redundancy

A

“Redundancy occurs in database systems which have a field that is repeated in two or more tables For instance, when customer data is duplicated and attached with each product bought, then redundancy of data is a known source of inconsistency since customer might appear with different values for given attributes.”