OCR A Level Computer Science - Databases

0.0(0)
studied byStudied by 1 person
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/60

flashcard set

Earn XP

Description and Tags

Flashcards on Relational Databases, Data Normalization, ER Diagrams, Data Management, SQL, Referential Integrity, and Transaction Processing.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

61 Terms

1
New cards

Field

A single piece of data in a record.

2
New cards

Record

A group of related fields, representing one data entry.

3
New cards

Table

A collection of records with a similar structure.

4
New cards

Primary Key

A unique identifier for each record in a table.

5
New cards

Compound Primary Key

A combination of two or more fields that is unique for all records.

6
New cards

Foreign Key

A field in a table that refers to the primary key in another table, used to link tables and create relationships.

7
New cards

Secondary Key

A field or fields that are indexed for faster searching.

8
New cards

Database Management System (DBMS)

Software used to manage databases (e.g., MySQL, Oracle, Microsoft SQL Server, PostgreSQL).

9
New cards

Database

An organized collection of data that allows easy storage, retrieval, and management of information.

10
New cards

Indexing

Technique used to speed up data retrieval by creating an index of certain columns.

11
New cards

Flat File Database

Database that stores all data in a single table, leading to data redundancy and inefficient storage.

12
New cards

Relational Database

Database that organizes data into multiple tables, using keys to connect related data and reduce redundancy.

13
New cards

Atomic Values

Each column must contain single, indivisible values.

14
New cards

No repeating groups

Columns must not contain arrays or lists of values

15
New cards

Unique column names

Each column must have a unique name within the table

16
New cards

Unique identifier (primary key)

Each row must have a unique identifier to distinguish it from other rows

17
New cards

Second Normal Form (2NF)

A table must fulfill all 1NF requirements and have full functional dependency.

18
New cards

Full Functional Dependency

All non-prime attributes must be fully dependent on the primary key

19
New cards

No partial dependencies

Non-prime attributes must not depend on only part of the primary key

20
New cards

Third Normal Form (3NF)

A table must fulfill all 2NF requirements and have no transitive dependencies.

21
New cards

No transitive dependencies

Non-prime attributes must not depend on other non-prime attributes

22
New cards

Entity

Something worthy of capturing and storing data about.

23
New cards

Entity Relationship Diagram (ERD)

Diagram that represents the entities (tables) in a database and the relationships between them.

24
New cards

Link Table

A new table created to resolve many-to-many relationships between entities.

25
New cards

Forms

Collect user input and organize data in a structured format, commonly in web applications.

26
New cards

OMR (Optical Mark Recognition)

Detects marked areas on paper using a special machine to read the marks, used for exams and surveys.

27
New cards

OCR (Optical Character Recognition)

Converts printed or handwritten text into digital format, useful for digitizing documents.

28
New cards

Sensors

Devices that detect and respond to changes in the environment, converting physical signals into digital data.

29
New cards

Barcodes

Machine-readable representation of data using parallel lines or geometric patterns, used for tracking items and inventory.

30
New cards

Data Mining

Process of discovering hidden patterns, correlations, and insights from large datasets using machine learning and statistics.

31
New cards

Query By Example (QBE)

User-friendly method for constructing database queries using a visual interface.

32
New cards

CSV (Comma Separated Values)

Simple data exchange format that stores tabular data in plain text, using commas to separate values.

33
New cards

JSON (JavaScript Object Notation)

Lightweight data interchange format that uses key-value pairs and is common in web applications.

34
New cards

Memory Sticks

Portable storage devices that use flash memory to store and transfer data via USB.

35
New cards

Email

Electronic communication system for exchanging messages and files between users over the internet.

36
New cards

SQL (Structured Query Language)

Programming language used to interact with a DBMS to select, insert, delete, and manage data.

37
New cards

SELECT

Retrieves data from a database table.

38
New cards

FROM

Specifies the tables to retrieve data from.

39
New cards

WHERE

Filters the data based on a specified condition.

40
New cards

AND

Combines multiple conditions in a WHERE clause.

41
New cards

OR

Retrieves data when at least one of the conditions is true.

42
New cards

WILDCARDS

'*' and '%' symbols are used for searching and matching data

43
New cards

INSERT

Adds new data to a database table.

44
New cards

DELETE

Removes data from a database table.

45
New cards

DROP

Deletes a table in a database.

46
New cards

Referential Integrity

Ensures consistency between related tables in a relational database by maintaining valid relationships between primary and foreign keys.

47
New cards

CASCADE

Automatically makes changes to related records

48
New cards

NO ACTION/RESTRICT

Prevents changes if related records exist

49
New cards

Transaction

A sequence of database operations treated as a single unit of work.

50
New cards

Locking

Ensures that no two transactions can access the same data simultaneously.

51
New cards

Commit

Saves all changes made in the transaction as permanent.

52
New cards

Rollback

Reverts the changes made in the transaction.

53
New cards

Concurrency Control

Manages simultaneous access to data in a multi-user environment.

54
New cards

ACID

A set of rules that all Database Management Systems (DBMS) must use to ensure data integrity

55
New cards

Atomicity

All operations in a transaction succeed or fail as a whole

56
New cards

Consistency

Ensures data remains in a consistent state after transactions

57
New cards

Isolation

Transactions are isolated from each other.

58
New cards

Durability

Committed transactions persist even in case of system failures

59
New cards

Record Locking

A technique used in database management systems (DBMS) to prevent conflicting access to data by multiple transactions or processes

60
New cards

Shared lock (Read lock)

Allows multiple transactions to read a record simultaneously, but prevents modifications or deletions until the lock is released

61
New cards

Exclusive lock (Write lock)

Allows only one transaction to access and modify a record, blocking other transactions from reading or writing to the locked record until the lock is released