10. Fundamentals of Databases AQA A-Level Computer Science

0.0(0)
studied byStudied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/24

Last updated 7:22 PM on 2/25/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

25 Terms

1
New cards

Database

They are a collection of organised information so the information can be easily accessed, processes and managed.

2
New cards

Database Management System (DBMS)

It is a software package designed to define, manipulate, retrieve and manage data in a database

3
New cards

Entity

It is one type of object.

4
New cards

Attribute

They describe the entity

They are also called fields or columns.

5
New cards

How is a database table organised?

In records, they can also be called rows.

6
New cards

Data Models

They define how data is connected to each other and how they are processed and stored inside the system.

Designed to allow easy data input.

7
New cards

Relational Database

It is a database that has been designed and structured so that the relationships among different entities are identified by shared attributes among different entities.

8
New cards

Primary Key

It is a unique identifier for a record

9
New cards

Foreign Key

It is a primary key from a different table used to define the relationship.

10
New cards

Composite Key

It is a combination of two or more attributes in a table that can be used uniquely to identify each record in the table.

11
New cards

Relationship

One-to-One

One entity can relate to the other entity exactly once.

12
New cards

Relationship

One-to-Many

One entity can relate to the other entity more than once.

13
New cards

Relationship

Many-to-Many

One entity can appeal multiple times in the other entity and vice versa.

14
New cards

First Normal Form (1NF)

It has no repeating attribute/field or groups of attributes.

It contains only atomic values.

15
New cards

Second Normal Form (2NF)

It is in the first normal form and all the non-key attributes are fully functional dependant on the primary key.

This is partially dependant on the primary key only occurs if there is a composite key.

16
New cards

Third Normal Form (3NF)

It is in second normal form and there is no non-key dependancies or no attributes depending on other attributes.

17
New cards

Database Normalisation

To reduce data redundancy.

To maintain data integrity.

Smaller tables, faster indexing, fast sorting, searching, updating.

No accidental deleting a record.

18
New cards

DDL (Data Definition Language)

It is a standard for commands that define the different structures in a database.

Statements create, modify and remove database objects like tables.

<p>It is a standard for commands that define the different structures in a database.</p><p>Statements create, modify and remove database objects like tables.</p>
19
New cards

Inner join

knowt flashcard image
20
New cards

Client-Server Database Model

It is a centralised database server dealing with many requests from different clients on different PCs

<p>It is a centralised database server dealing with many requests from different clients on different PCs</p>
21
New cards

Advantages of using a Client-Server Database Model

Avoids data inconsistency since only one copy of the database is accessed.

All updates will be immediately available to all clients.

Avoid expensive cost of resources required to have multiple copies of a database.

Access rights and security can be centrally managed.

22
New cards

Disadvantages of using a Client-Server Database Model

When clients update the same record at the same time, some updates will be lost.

To prevent data inconsistency, a DBMS uses record locking mechanism - whenever a record is being updated, it is being locked until the transaction is completed or cancelled.

23
New cards

Serialisation

It is a mechanism to ensure there is not transactions overlap in time. A transaction cannot start until the previous one has finished.

24
New cards

Serialisation Techniques

Timestamp Ordering

A timestamp is given at the start of each transaction. For two transactions updating the same record, the transaction with the earlier timestamp will be applied first.

25
New cards

Serialisation Techniques

Commitment Ordering

Transactions are ordered by their dependencies on each other as well as the time they started.

If the transaction has dependencies on another, it it blocked until the dependent-upon transactions have finished/committed.

Explore top notes

note
Nutrition
Updated 1188d ago
0.0(0)
note
Social Studies Vocabulary
Updated 532d ago
0.0(0)
note
B3
Updated 1239d ago
0.0(0)
note
Chapter 15: Potential Therapies
Updated 1324d ago
0.0(0)
note
CUSTOMER SERVICE
Updated 1354d ago
0.0(0)
note
social studies chapter 7!
Updated 883d ago
0.0(0)
note
Nutrition
Updated 1188d ago
0.0(0)
note
Social Studies Vocabulary
Updated 532d ago
0.0(0)
note
B3
Updated 1239d ago
0.0(0)
note
Chapter 15: Potential Therapies
Updated 1324d ago
0.0(0)
note
CUSTOMER SERVICE
Updated 1354d ago
0.0(0)
note
social studies chapter 7!
Updated 883d ago
0.0(0)

Explore top flashcards

flashcards
Memory 2
45
Updated 833d ago
0.0(0)
flashcards
science 8 finals :scream:
105
Updated 995d ago
0.0(0)
flashcards
Evolution Exam 1
86
Updated 1256d ago
0.0(0)
flashcards
Nervous System Knowt
35
Updated 1010d ago
0.0(0)
flashcards
Macbeth Act 2 Lit Devices
50
Updated 1041d ago
0.0(0)
flashcards
History Final Notes
78
Updated 289d ago
0.0(0)
flashcards
TWA Unit 6.2
23
Updated 82d ago
0.0(0)
flashcards
Memory 2
45
Updated 833d ago
0.0(0)
flashcards
science 8 finals :scream:
105
Updated 995d ago
0.0(0)
flashcards
Evolution Exam 1
86
Updated 1256d ago
0.0(0)
flashcards
Nervous System Knowt
35
Updated 1010d ago
0.0(0)
flashcards
Macbeth Act 2 Lit Devices
50
Updated 1041d ago
0.0(0)
flashcards
History Final Notes
78
Updated 289d ago
0.0(0)
flashcards
TWA Unit 6.2
23
Updated 82d ago
0.0(0)