Databases

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

1/39

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 12:49 PM on 10/17/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

40 Terms

1
New cards

Define Relational database

Stores different entities in separate tables. Linking tables depends on the relationship between entities

2
New cards

define database

an organised collection of data

3
New cards

List benefits of an electronic database

easier to add, modify and update data

data can be backed up and copied easier

multiple users from multiple locations can access the same database at the same time

4
New cards

define field

A single piece of data in a record

5
New cards

Define record

A single row of data about one entity

6
New cards

Define table

a collection of related records stored in rows and columns

7
New cards

Define primary key

a unique identifier for each record in a table

8
New cards

Properties of a primary key?

Unique and not null

9
New cards

What is an entity?

A real world object or concept that data is stored about

10
New cards

What is an attribute?

A property of an entity

11
New cards

What is a composite key?

A primary key made from more than one field

12
New cards

What is a foreign key?

A field that links to a the primary key of another table

13
New cards

What is a secondary key?

a field or fields that are indexed for faster searching

14
New cards

What is DBMS (Database management system)

software that allows users to create, manage + interact with a database

15
New cards

Why are keys important?

To uniquely identify records + create relationships

16
New cards

What is a relationship?

A link between tables using keys

17
New cards

What is referential integrity?

Ensures foreign keys refer to existing primary keys

18
New cards

What is a one to many relationship?

One record in a table refers to many in another

19
New cards

What is a many to many relationship?

Many records in one table relates to many in another

20
New cards

How is a many to many relationship resolved?

Using a linking (junction) table

21
New cards

What is a flat file database?

stores all data in a single table or file

22
New cards

ADV of flat file

Simple to set up and use

minimal software needed - low cost

suitable for very small databases

23
New cards

ADV of relational database

reduces data duplication

more efficient storage

faster searching + reporting on large databases

maintains data consistency (referential integrity)

easier to manage complex data

scales well to a large number of records

24
New cards

What is normalisation?

Organising data to:

  • reduce data redundancy

  • ensure data integrity

  • avoid anomalies


25
New cards

What is 1NF?

No repeating groups + atomic fields

26
New cards

What is 2NF?

In 1NF and no partial dependency on a composite key

27
New cards

What is 3NF?

In 2NF and no non-key field depends on another non-key field.

28
New cards

What’s the purpose of normalisation?

Reduce duplication + improve data integrity

29
New cards

What is an index?

A structure that speeds up searching

30
New cards

DIS of an index

slows down update operations
However, speeds up searching operations as records can be located quickly

31
New cards

What is SQL

A language used to query + manipulate databases

32
New cards

What is access control?

Restricting who can view or edit data

33
New cards

What is validation?

Checking data is reasonable before storage

34
New cards

What is verification

checking data was entered correctly

35
New cards

ADV of databases over file systems

Reduced redundancy + improved consistency

36
New cards

ADV of relational model

Supports relationships + complex queries

37
New cards

DIS of flat file database

Data duplication

wastes storage space

hard to update consistently

searching + sorting becomes slow with large databases

poor scalability for a large number of records

38
New cards

DIS of relational database

more complex to design

requires specialist software (e.g: DBMS)

higher set up costs

needs more technical costs

39
New cards

What is data normalisation

the process of structuring tables to reduce data redundancy + prevent anomalies by organising data into relevant tables

40
New cards

What is data redundancy?

data is unnecessarily repeated in a database

can cause inconsistencies if one copy is updated and others aren’t