levo

Databases

The data dictionary

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

Overview

Data dictionary, field length and default value.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

What is a data dictionary?

Key term

Why is a data dictionary useful when a new developer joins a project?

Key term

Why does a data dictionary record validation rules?

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    What is a data dictionary?

    Model answer

    A data dictionary is a store of information about the data held in a database rather than the data itself, recording what each table and column is, what it may contain and how it relates to the rest. It is often called metadata.

  2. 2

    Name the components a data dictionary records for each attribute.

    Model answer

    For each attribute a data dictionary records the field name, a description of its meaning, its data type, its field length or size, its format, any validation rules, its default value, and whether it may be left empty.

  3. 3

    What does a data dictionary record about tables?

    Model answer

    For each table a data dictionary records the table name and purpose, the attributes it contains, its primary key, its foreign keys and the relationships they implement, and any indexes defined on it.

  4. 4

    Why does a data dictionary record validation rules?

    Model answer

    Recording the validation rules in one place means every program that writes to the column applies the same rule, and a developer or auditor can see what values the column is supposed to admit without reading the application code.

  5. 5

    How does a data dictionary help maintenance?

    Model answer

    A data dictionary tells a maintainer what a column means and what else depends on it, so the effect of a proposed change can be assessed before it is made and a column is not altered in ignorance of the reports that read it.

  6. 6

    What is an active data dictionary?

    Model answer

    An active data dictionary is maintained by the database management system itself and is consulted whenever data is accessed, so it cannot fall out of step with the database. A passive dictionary is kept separately and must be updated by hand.

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.