levo

Databases

Data types and database structure

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

Overview

Data types, tables, records, fields, primary and foreign keys, and relationships between tables.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

Why are related tables used instead of one large table?

Key term

Why is a field size set for a text field?

Key term

How does a relationship protect data integrity?

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    Name five data types used in databases.

    Model answer

    Database fields can be alphanumeric or text, numeric, date, currency or logical (Boolean).

  2. 2

    Which data type should store a telephone number, and why?

    Model answer

    A telephone number should be stored as text. The number can start with 0 and is never used in calculations.

  3. 3

    What is a logical or Boolean field?

    Model answer

    A logical field holds only one of two values, such as Yes or No.

  4. 4

    Which data type should store a price?

    Model answer

    A price should be stored as currency, which shows the currency symbol and two decimal places.

  5. 5

    What is a table in a database?

    Model answer

    A table stores data about one type of thing, such as customers, in rows and columns.

  6. 6

    What is a record?

    Model answer

    A record is all the data about one item in a table, such as one customer, shown as a row.

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.

Digital Devices and Their Features
Software
Input and Output Devices
Storage, Memory and Processing

Cram the night before, weakest topic first

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

Online storage is .
scalablevolatileoffline

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.

Sorting means rearranging all rows into order.
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.