Week 1 - Principles, Origins and Objectives

0.0(0)
studied byStudied by 0 people
0.0(0)
linked notesView linked note
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/32

flashcard set

Earn XP

Description and Tags

Introduction to databases

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

33 Terms

1
New cards

Database

An organised electronic collection of data that can be stored locally or on the cloud.

2
New cards

Data

The raw, unprocessed facts (e.g. John, 29, Birkbeck)

3
New cards

Information

Processed, organised data (e.g. John is 29 years old and studies at Birkbeck)

4
New cards

Persistent Data

Data that exists even when a computer is turned off.

5
New cards

Field

A single piece of information stored for an attribute in a database, such as a name or address

6
New cards

Record

In the physical layer it is collection of fields that together represent a data entry, such as a business's name, address, and phone number.

7
New cards

Database Management System

Software that allows users to define, construct, manipulate, and share data in a database.

8
New cards

Redundancy

The unnecessary duplication of data across different records or tables.

9
New cards

Physical

The lowest level of abstraction in a DBMS. It tells us how data is stored in memory

10
New cards

Logical

The middle level of abstraction in a DBMS. It tells us the type of data that is store and the relationship between the data

11
New cards

View

The top level of abstraction in a DBMS - it is the one that users see

12
New cards

Query language

A specialised language for making queries and retrieving information from databases such as SQL

13
New cards

Data independence

The ability to make changes at one level without affecting a higher level

14
New cards

Entity Relationship Model

A conceptual framework for designing databases by defining entities, attributes, and relationships.

15
New cards

Relation

Also known as a table, it is a collection of rows (tuples) and columns (attributes)

16
New cards

Many-to-One

A relationship where multiple records in one table relate to a single record in another table.

17
New cards

Schema

The blueprint or logical structure of a database

18
New cards

Bridge Table

A table used to link two other tables in a many-to-many relationship. It typically contains foreign keys from both linked tables

19
New cards

Key

Generic name for column that uniquely identifies a record in a table (e.g. STUDENT_ID, EMAIL). There are many types

20
New cards

Composite

aka concatenated, a key that consists of more than one attribute to create a unique value (e.g. an enrollment table could have STUDENT_ID and COURSE as one student could be on many courses and courses have many students)

21
New cards

Candidate

a type of key - one or a set of columns that is the minimum to uniquely identify a tuple. One is chosen as the primary key

22
New cards

Primary

A key that is a unique identifier for each row in a database. It cannot contain null values or duplicates

23
New cards

Foreign

A key that is an attribute in one table that refers to a candidate key of another table.

24
New cards

Entity Integrity Rule

A rule ensuring that each record in a table has a unique, non-null value (i.e. a primary key)

25
New cards

Referential Integrity Rule

A rule ensuring that every non-null foreign key value has a matching candidate key value in another relation.

26
New cards

Structured Query Language

A query language used to retrieve and manipulate data in relational databases.

27
New cards

Tuple

A row in a relational database table, representing individual entities.

28
New cards

Attribute

A column in a relational database table, showing characteristics of an entity

29
New cards

Cardinality

The number of relationships an entity has with another entity in a database.

30
New cards

Domain

A set of legal values that an attribute can assume in a database.

31
New cards

Null Value

A missing piece of information in a database, representing the absence of a value.

32
New cards

Time-varying Relation

A relation whose data is dynamic and can change over time, as opposed to a static schema.

33
New cards

Integrity Constraints

Rules that ensure the accuracy and consistency of data in a database.