Revision Notes
Cambridge A Level Information Technology (9626): Data dictionary – Revision Notes
Revision notes for Cambridge 9626 IT section 10.3: data types, components of a data dictionary, choosing types and validation, and a self-test.
- Subject
- ICT
- Level
- AS LEVEL
- Topic
- Topic 10 – Database and file concepts
- Author
- Marlbridge Academic Team
- Updated
- Reviewed by
- Harris Khan (what this means)
Aligned to Cambridge A Level Information Technology (9626), 2025-2027. Official specification .
Syllabus page (what it covers and how it is assessed): Cambridge A Level Information Technology.
Syllabus points this page covers
9626 (AS Level)
- 10.3 Data dictionary
This page covers 1 of the 4 subtopics in topic 10, Database and file concepts.
Found an error? Report a correction.
Need help with this topic? Request a free trial class for A Level Information Technology (9626).
These notes condense section 10.3 Data dictionary (Topic 10 Database and file concepts) of the Cambridge International AS & A Level Information Technology 9626 syllabus for 2025, 2026 and 2027. AS Level content, examined in Paper 1 Theory. Full explanations and a built dictionary are in the data dictionary study guide; test yourself with the data dictionary practice questions.
Key terms
| Term | Meaning |
|---|---|
| Data dictionary | A table that describes the structure of a database or file: its fields and their properties |
| Field | One item of data about each record |
| Data type | The kind of data a field holds |
| Field size | The maximum length of a field |
| Format | How data is displayed or must be entered |
| Validation rule | A rule data must meet before it is accepted |
| Primary key | A field whose value is unique for each record |
| Boolean | A type with only two values, such as Yes/No |
Data types the syllabus names
| Type | Use for | Example |
|---|---|---|
| Text | Words and characters not used in calculations | Surname |
| Alphanumeric | Letters and digits mixed | Product code AB1234 |
| Integer | Whole numbers | Quantity in stock |
| Decimal | Numbers with a fraction | Weight 62.5 kg |
| Currency | Money | Price 12.99 |
| Percentage | Parts of a hundred | Discount 15% |
| Date and time | Dates and times of day | Date of birth, 09:30 |
| Boolean / logical | Two values only | Yes/No, True/False |
Choosing a data type: decision rules
- Will it be used in calculations? If no (phone number, postcode, product code), use text or alphanumeric.
- Is it a whole number or does it have a fraction? Integer or decimal.
- Is it money? Currency.
- Is it a share of something? Percentage.
- Is it a date or time? Date and time type, so that it can be sorted and calculated.
- Are there only two possible values? Boolean.
Components of a data dictionary
| Component | Notes |
|---|---|
| Table name | Which table the field is in |
| Field name | Short, meaningful, no spaces |
| Data type | Use the exact term |
| Field size | A number of characters, or decimal places |
| Format | For example dd/mm/yyyy or AA9999 |
| Validation rule | Name the check: range, length, format, lookup, presence, type |
| Required? | A presence check |
| Default value | Used if nothing is entered |
| Key | Primary or foreign |
| Description or example | Explains the purpose, with a sample |
Example dictionary extract
| Field | Type | Size/format | Validation | Key |
|---|---|---|---|---|
| StaffID | Alphanumeric | 5, AA999 |
Format and length check | Primary |
| Surname | Text | 25 | Presence check | No |
| StartDate | Date | dd/mm/yyyy |
Range check: not in the future | No |
| Salary | Currency | 2 decimal places | Range check: more than 0 | No |
| FullTime | Boolean | Yes/No | None needed | No |
Worked example: building a dictionary from a description
A library stores, for each book: a catalogue number (three letters then four digits), the title (up to 60 characters), the date it was bought, the purchase price in pounds and pence, and whether it is on loan.
| Item | Field name | Type | Size/format | Validation |
|---|---|---|---|---|
| Catalogue number | CatNo | Alphanumeric | 7, AAA9999 |
Format check and length check; primary key |
| Title | Title | Text | 60 | Presence check |
| Date bought | DateBought | Date | dd/mm/yyyy |
Limit check: not in the future |
| Purchase price | Price | Currency | 2 decimal places | Range check: more than 0 |
| On loan | OnLoan | Boolean | Yes/No | None needed; default No |
Reasoning for each type: the catalogue number mixes letters and digits, so it is alphanumeric; the price is money, so currency; “on loan” has two values only, so Boolean; the date must be sorted and compared, so date type.
Checking your dictionary
- Every table has a unique primary key.
- Each type matches how the data is used.
- Each size is a number and is large enough for the longest sensible value.
- Each validation rule names a real check and suits the type.
- Names are short, clear and consistent.
Matching data to type and validation
| Data | Type | Validation |
|---|---|---|
| Age | Integer | Range 0 to 120 |
| Text | Format check; presence check | |
| Order quantity | Integer | Range, at least 1 |
| Country | Text | Lookup check |
| Delivery date | Date | Limit check: not in the past |
Why a data dictionary matters
- A single agreed description keeps the database consistent.
- Designers check nothing is missing before building.
- Maintainers understand a database they did not create.
- Testers know what each field should accept.
- It guides data entry and moving data between systems.
Exam traps
- Numeric type for phone numbers or postcodes.
- Text type for dates, or for yes/no.
- “Number” without integer or decimal.
- A field size written as a word, not a number.
- Naming a validation rule but not the type of check.
- Forgetting to mark the primary key.
- Mixing up the dictionary and the data itself.
Self-test
- What does a data dictionary describe?
- Which type should a telephone number be, and why?
- Which type holds only two values?
- Name two data types the syllabus lists for numbers.
- What is a field size?
- What does the format
AA9999mean? - Give a suitable validation rule for an age field.
- Why should dates be stored as a date type?
- Which component says whether a field must be filled in?
- Choose a data type for the price of a product.
- Choose a data type for the discount given to a customer, as a share of the price.
- Give one reason why a data dictionary is useful.
Answers
- The structure of the data: the fields and their properties, not the data values.
- Text, because it is not used in calculations and can start with 0.
- Boolean (logical).
- Any two from: integer, decimal, currency, percentage.
- The maximum number of characters, or the size of the number, that the field can hold.
- Two letters followed by four digits.
- A range check, such as 0 to 120, with the type integer.
- So that dates can be sorted in time order and used in calculations.
- Required (a presence check).
- Currency.
- Percentage.
- Any one: gives an agreed description, helps design, aids maintenance, helps testing, guides data entry.
Related resources
-
Study guides
Cambridge A Level Information Technology (9626): File and data management
Cambridge 9626 IT section 10.4 study guide: file types and formats, indexed sequential and direct access, types of DBMS and management information systems, with worked examples.
ICT · Cambridge · AS Level
Read guide -
Practice questions
Cambridge A Level Information Technology (9626): File and data management – Practice Questions
Twelve original Cambridge 9626 IT section 10.4 questions with answers on file formats, indexed sequential and direct access, DBMS types and MIS.
ICT · Cambridge · AS Level
Try questions -
Revision notes
Cambridge A Level Information Technology (9626): File and data management – Revision Notes
Revision notes for Cambridge 9626 IT section 10.4: file formats, indexed sequential and direct access, four DBMS types, MIS features and a self-test.
ICT · Cambridge · AS Level
Revise topic
Get free revision emails (optional)
Occasional emails with practice questions, worked explanations and links to free resources for the qualification and subjects you choose. No spam, and you can unsubscribe from any email. The free tools on this site never need an email.