1.3.2 Databases

studied byStudied by 4 people
0.0(0)
Get a hint
Hint

What is an entity?

1 / 39

flashcard set

Earn XP

40 Terms

1

What is an entity?

An item of interest about which information is stored

New cards
2

What is a relational database?

A database which recognises the differences between entities

New cards
3

What is a flat file?

A database that consists of a single file.

New cards
4

What is a primary key?

A unique identifier for each record in the table, for example CarID for a table of car information

New cards
5

What is a foreign key?

The attribute which links two tables together. Exists as primary in one table and foreign in another.

New cards
6

What is a secondary key?

Allows a database to be searched quickly, acts as a secondary index to order and search

New cards
7

What is one-to-one database relation?

Each entity can be linked to 1 other entity, such as husband and wife

New cards
8

What is one-to-many database relation?

One entity can be related to many other entities, such as a mother with multiple children

New cards
9

What is many-to-many database relation?

One entity can be associated with many other entities and the same applies the other way round

New cards
10

What is normalisation?

Process of coming up with the best possible layout for a relational database

New cards
11

What are the 3 types of normalistation?

First normal form, second normal form and third normal form

New cards
12

What is first normal form?

No attribute that contains more than a single value

New cards
13

What is second normal form?

A database which doesn’t have any partial dependencies.

New cards
14

What is 3rd normal form?

If database is in 2nd form and contains no non-key dependencies it is in third normal form

New cards
15

Ways of capturing data

Manual entry, Magnetic Ink Character Recognition, Optical Mark Recognition, Optical Character Recognition

New cards
16

MICR

Magnetic Ink Character Recognition, used by banks for cheques

New cards
17

OMR

Optical Mark Recognition, used for multiple choice questions on a test

New cards
18

OCR

Optical Character Recognition, used for other forms of responses on tests than multiple choice

New cards
19

Selecting and Managing data

Important part of data pre-processing, involving selecting data that fits a certain criteria to reduce the volume of input

New cards
20

Exchanging data

Transferring the collected data, commonly EDI (electronic data interchange), which requires no human interaction

New cards
21

SQL

Structured query language, declarative language used to manipulate databases

New cards
22

SELECT

Used to collect fields from a given table

New cards
23

FROM

Specifies which table information will come from

New cards
24

WHERE

Specifies the search criteria

New cards
25

ORDER BY

Specifies whether you want it in ascending or descending order

New cards
26

JOIN

Combines rows from multiple tables based on a common field between them

New cards
27

CREATE

Allows you to create new databases

New cards
28

ALTER

Add, delete, modify

New cards
29

UPDATE

Update a record in a database table

New cards
30

DELETE

Delete a record from a database table

New cards
31

Data types

CHAR, VARCHAR, BOOLEAN, INT, FLOAT, DATE, TIME, CURRENCY

New cards
32

Referential Integrity

Process of ensuring consistency, such as making sure data is not removed if it is required elsewhere

New cards
33

Transaction processing

Single operation executed on data

New cards
34

ACID

Atomicity, consistency, isolation, durability

New cards
35

Atomicity

Transaction must be completed in its entirety or not at all

New cards
36

Consistency

Must maintain referential integrity rules

New cards
37

Isolation

Simultaneous executions of transactions should lead the to the same result as if they were run one after another

New cards
38

Durability

Once a transaction is executed it will remain so regardless of other circumstances

New cards
39

Record Locking

Preventing simultaneous access to records in a database in order to prevent inconsistencies or loss of updates

New cards
40

Deadlock

Problem with record locking

New cards

Explore top notes

note Note
studied byStudied by 53 people
... ago
5.0(1)
note Note
studied byStudied by 15 people
... ago
5.0(1)
note Note
studied byStudied by 12 people
... ago
5.0(1)
note Note
studied byStudied by 4 people
... ago
5.0(3)
note Note
studied byStudied by 8 people
... ago
4.0(1)
note Note
studied byStudied by 9 people
... ago
5.0(1)
note Note
studied byStudied by 33 people
... ago
5.0(1)
note Note
studied byStudied by 5267 people
... ago
5.0(12)

Explore top flashcards

flashcards Flashcard (35)
studied byStudied by 45 people
... ago
5.0(2)
flashcards Flashcard (23)
studied byStudied by 74 people
... ago
5.0(2)
flashcards Flashcard (41)
studied byStudied by 14 people
... ago
5.0(2)
flashcards Flashcard (36)
studied byStudied by 18 people
... ago
5.0(1)
flashcards Flashcard (26)
studied byStudied by 6 people
... ago
5.0(1)
flashcards Flashcard (69)
studied byStudied by 19 people
... ago
5.0(1)
flashcards Flashcard (27)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (86)
studied byStudied by 12 people
... ago
5.0(1)
robot