levo

Defining Requirements and Documenting the Design

Designing the data model and the tables

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

Overview

Deriving the tables from the client's own documents, normalising to third normal form, recording every column with its type, size, validation and key role, and choosing the integrity rule for each relationship.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

Define a data model in a solution design.

Key term

How are the entities for the data model found from the requirements?

Key term

What does an ER diagram contribute to a design document?

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    Define a data model in a solution design.

    Model answer

    A data model shows the entities the solution stores, the attributes of each and the relationships between them.

  2. 2

    How are the entities for the data model found from the requirements?

    Model answer

    Entities are the things the business must keep information about, and are usually the nouns that recur through the requirements.

  3. 3

    What does an ER diagram contribute to a design document?

    Model answer

    An ER diagram shows every entity and every relationship on one page, so the structure can be checked before any table is built.

  4. 4

    How is a one-to-many relationship carried into the table design?

    Model answer

    The primary key of the table on the one side is placed into the table on the many side as a foreign key.

  5. 5

    How is a many-to-many relationship handled in the table design?

    Model answer

    A link table is created holding the primary key of each of the two tables, turning the relationship into two one-to-many relationships.

  6. 6

    What must the table design record for every field?

    Model answer

    The design records the field name, the data type, the field size, any validation rule and whether the field is a key.

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.

Software and the Development Environment
Defining Data: Types, Variables and Classes
Program Control Structures
Objects, Classes and Data Structures

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 null is the of one.
absencepresencetype

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.

An error is the mistake a person made.
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 Defining Requirements and Documenting the Design, 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.