levo

Databases, Normalisation and Entity Modelling

Relational databases and other database models

  • 3 things to know
  • Component 2

Overview

Relational database, terms relation, tuple and attribute and flat file database.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

What is a relational database?

Key term

Define the terms relation, tuple and attribute.

Key term

Give three benefits of a relational database.

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    What is a relational database?

    Model answer

    A relational database stores data in tables of rows and columns, linked by shared key values. Each table describes one entity type.

  2. 2

    Define the terms relation, tuple and attribute.

    Model answer

    A relation is a table, a tuple is a row and an attribute is a column. The three words are the formal names used in relational theory.

  3. 3

    Give three benefits of a relational database.

    Model answer

    Redundancy is minimised, consistency is easier to maintain, and queries can combine any tables. All three follow from storing each fact once in a table of its own.

  4. 4

    Give two drawbacks of a relational database.

    Model answer

    Complex queries joining many tables can be slow on very large data sets. Design also requires careful normalisation before any data is entered.

  5. 5

    What is a flat file database?

    Model answer

    A flat file database holds all the data in a single table. Redundancy and anomalies are unavoidable once more than one entity is involved.

  6. 6

    Compare a flat file database with a relational database.

    Model answer

    A flat file is simple to set up but repeats data and suffers anomalies. A relational database needs design effort but stores each fact once.

Other ways to work this

The same content, four other ways.

What is inside Levo

Six ways to work the same material.

1Closed book
2Open book
3Closed book

The 3-step method, run for you

Answer cold, learn it, then prove it stuck. Levo tracks the jump between your first attempt and your last.

Data Structures: Arrays, Records and Hash Tables
Stacks, Queues, Linked Lists and Trees
Boolean Logic and Simplification
Algorithms, Pseudo-Code and Programming Constructs

Cram a whole paper in one sitting

Sort every topic into what you know and what you do not, then drill only the weak ones.

KDW to HAT.
decryptsencryptscompresses

Blank Blitz makes facts automatic

Rapid timed gap-fills on the terms and numbers you need to recall without thinking.

AThe two are not the same.
BOpen source refers to the availability of the code.
CMuch open source software is free of charge.

Build It gets the exam shape right

Assemble a full-mark answer from its marking points, in the order an examiner wants them.

Backup means the copy of the data.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The traps are the mistakes students actually make.

721941163128510

Brain Breaks between sessions

Short focus games to reset attention, so the next set lands better than the last.

Every question in Databases, Normalisation and Entity Modelling, on a schedule.

Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.

Or £46 a year, about £3.83 a month. Cancel anytime.