levo

Databases

The relational database and its main features

  • 3 things to know
  • A2 Unit 1
Start revising · £5/month

Overview

Relational database, flat file and database management system.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

What is a relational database?

Key term

What are the main features of a relational database?

Key term

What is a flat file, and why is it a poor way to store related data?

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, where each table holds one kind of thing and tables are joined by shared values rather than by physical pointers. The structure is defined separately from the programs that use it.

  2. 2

    What are the main features of a relational database?

    Model answer

    A relational database holds data in linked tables, enforces a primary key on every table, links tables through foreign keys, enforces referential integrity, stores each fact once, and is queried through a language such as Structured Query Language rather than by navigating a fixed path.

  3. 3

    What is a flat file, and why is it a poor way to store related data?

    Model answer

    A flat file stores everything in one table. Related facts then repeat on every row that mentions them, so the same fact is stored many times, storage is wasted, and an update applied to some rows and not others leaves the file contradicting itself.

  4. 4

    What is a database management system?

    Model answer

    A database management system is the software that sits between users and the stored data, creating and maintaining the structure, enforcing rules and security, and processing queries and updates so that applications do not deal with the files directly.

  5. 5

    What is meant by data independence?

    Model answer

    Data independence means the structure of the stored data can be changed without rewriting the programs that use it, because applications ask the database management system for data by name rather than reading files in a fixed layout.

  6. 6

    How does a relational database control access to data?

    Model answer

    A relational database grants privileges to named users or roles, so a user may be permitted to read a table but not to update it, or to see certain columns only through a view that hides the rest.

Other ways to work this

The same content, four other ways.

Everything in your subscription

Runs, plus a mode for every other kind of session.

1Flash
2Imposter
3Fade
4Brain dump

Learn every subtopic in runs of four questions

Facts flash and fade, a wrong word hides in some of them, and a brain dump decides which questions are locked in.

Systems Analysis and Development Approaches
Design, Development and Testing
Implementation and System Security
Programming

Cram the night before, weakest topic first

A quick scan finds your weakest topics. Recall each fact you missed three times in a row.

A check requires a value.
presencerangeformat

Blank Blitz consolidates the facts

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

✓What it iscovered
~Why it happenspartly there
How long it lastsnot there yet

Explain It tests your understanding

Explain a concept in your own words and see which of its points you covered.

One byte is made up of 8 bits.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The faults are the mistakes students make most often.

721941163128510

Brain Breaks between sessions

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

Every question in Databases, on a schedule.

Learn it in runs of four questions, each ending on a brain dump against the clock. Every question you lock in comes back the next day, then at longer gaps, each time just before you would forget it.

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