GRADE 9 · COMPUTING · UNIT 2 · LESSON 2.4
Managing data
Database systems
Read a little. Try the workbook. Check your answers. Choose one section below to get started.
LET’S LOOK, THINK AND TRY
Database systems
- Source project involves a database-driven information system and planned records or queries.
- Plan, produce and evaluate an original solution using the relevant unit concepts.
Link parent records to transactions
Give Devices, Technicians and Tickets their own primary keys. A ticket refers to an existing device and technician using foreign-key values. Many tickets may refer to the same parent record. Check or enforce these references instead of inventing a parent when an identifier does not match.
Define each query and summary
State which records should be selected, which fields should be displayed and how any counts are calculated. Join related records using their identifiers. Test missing references, repeated parent identifiers in valid transactions and cases that should be excluded by the criteria. Use fictional equipment and aliases throughout.

Work through an original example
An original service model has devices D1 and D2 and technician T1. Ticket Q1 links D1 to T1 with Open/High status and priority. Q2 links D2 to T1 with Closed/Low. Select Open AND High tickets.
Only Q1 matches. Joining through DeviceID and TechID supplies its device and technician details. T1 may correctly appear in both tickets because one technician can handle several tickets; each ticket still needs its own unique TicketID.
Try it before the workbook
A new ticket points to nonexistent device D9. Should it silently be accepted under the stated parent-reference requirement?
Use the example to choose your first step. This short preparation question is separate from your workbook. Open the check clue when you are ready.
Explore the clues
Open one card at a time to review your thinking.
Remember the idea
Give Devices, Technicians and Tickets their own primary keys. A ticket refers to an existing device and technician using foreign-key values. Many tickets may refer to the same parent record. Check or enforce these references instead of inventing a parent when an identifier does not match.
Check your first try
no
Flag or reject the unmatched reference until valid parent data is supplied and checked. Do not silently change another device record to make it fit.
Explain and check
- Match exact code outputs, binary widths and stated units. Explain your method.
- Check the question, rules, outputs and units. Explain why your method works.

Think it through with Paxa!
Trace the stated rules and distinguish predictions from actual observations.
Original computing practice files
Optional small offline examples and fictional datasets, created for PaxaKids. They are supplementary practice, not publisher downloads or complete implementations of every workbook project. The page does not execute these files. Inspect code with a grown-up before using it in an approved offline environment; do not use real personal data.
Our Unit 2 learning path
- Lesson 2.1: Spreadsheets and analysing data
- Lesson 2.2: Creating real-life systems and evaluating pre-existing spreadsheets
- Lesson 2.3: Creating databases
- Lesson 2.4: Database systems
- Lesson 2.5: Original Paxa project: Library decisions dashboard
- Lesson 2.6: Check your progress
- Lesson 2.7: Managing data - unit check
For grown-ups: using this lesson
Discuss the idea and worked example, then try the workbook. Your answers are checked in your browser. Open responses need grown-up review and are shown separately from the automatic score. Check your work, then use “Retry answers to practise” to revisit mistakes while keeping correct responses. Accept a sound alternative method.
Opening or checking a worksheet does not complete a lesson. Choose “Mark lesson finished” when ready. Optional account progress saves the selected grade, lesson position and completion across devices. Personal worksheet responses stay in this tab; save your own copy before leaving.
2. Fill in your workbook
Use the original diagrams and stated conventions. Choose, write or draw on the pages, or use the larger Answer List controls. Code examples here are for tracing; this page does not execute them or connect to hardware. Use fictional data and approved supervised tools for project work.
Opening your PDF…
Swipe sideways across the worksheet on a small screen, or use “Answer list” for larger controls.
You’ve completed the checked activities.
TAKE YOUR PRACTICE OFFLINE
3. Download the student worksheet
All 20 original A4 student pages, ready for pencil-and-paper practice. Choose Review Answers to check your work on this webpage.
Student worksheet only · PDF · 6.7 MiB · No answer key included
TRY FIRST, THEN CHECK TOGETHER
Download the student worksheet →4. Answers & guidance
Finished your try? Open the guide and compare one worksheet at a time. Your own words may be different and still explain the right idea.
Shown on this webpage only. There is no answer-key download, and this guide is left out when printing the page.
Show answers for all 20 worksheets
Worksheet 1
- Question 1: What is the intended outcome of this project? A tested information system with explained records, queries and summaries
Worksheet 2
- Question 2: DeviceID for Projector D02 / d02
- Question 3: TechID for the alias Amber T02 / t02
Worksheet 3
- Question 4: Number of ticket records 6
- Question 5: Days value for ticket J05 8
Worksheet 4
This page introduces the activity. There are no marked responses on this sheet.
Worksheet 5
- Question 6: Why create and load parent records before tickets? A ticket references device and technician records that must exist
Worksheet 6
- Question 7: What should happen to a ticket referencing absent DeviceID D99? Reject it while foreign-key enforcement is enabled
Worksheet 7
- Question 8: Which is the strongest import check? Compare every field and record with the printed source, including IDs
- Question 9: Total records across Devices, Technicians and Tickets 12
Worksheet 8
- Question 10: Number of matching tickets 3
- Question 11: First TicketID in the ordered result J01 / j01
Worksheet 9
- Question 12: Only matching TicketID in the original records J02 / j02
- Question 13: Technician alias shown for that ticket Amber / amber
Worksheet 10
- Question 14: What best supports a claim that a saved query works? Its criteria, independent expected records and observed output
Worksheet 11
- Question 15: Number of matching original tickets 3
- Question 16: Smallest TicketID in the ordered result J03 / j03
- Question 17: Why is J02 excluded even though Projector contains r? Its status is Open
Worksheet 12
- Question 18: What must you do after changing the database if you need current spreadsheet summaries? Rerun the saved query and refresh or re-export its result
- Question 19: Spreadsheet column containing Days D / d
Worksheet 13
- Question 20: COUNT(D2:D4) 3
- Question 21: MAX(D2:D4) 8
- Question 22: MIN(D2:D4) 3
Worksheet 14
- Question 23: Duplicate J01: accept or reject? reject / REJECT
- Question 24: Absent D99: accept or reject? reject / REJECT
- Question 25: Days 2.5: accept or reject? reject / REJECT
- Question 26: Why test duplicate IDs and absent referenced IDs separately? They examine different constraints
Worksheet 15
- Question 27: Query B record count when J02 Days is 5 1
- Question 28: Query B record count when J02 Days is 4 0
- Question 29: What does this boundary test establish? The >= 5 condition includes 5 and excludes 4 in these records
Worksheet 16
- Question 30: Which explanation makes the summary result meaningful? MAX(D2:D4) is 8 days among the three closed high-priority tickets
Worksheet 17
- Question 31: Which improvement directly addresses that feedback? Include the matching DeviceName and readable output headings
- Question 32: What would verify the improvement? Repeat the query and observe the user interpreting its labelled output
Worksheet 18
- Question 33: Which limitation belongs in the evaluation? Six fictional snapshot tickets do not establish future service performance
- Question 34: What should be written when a required practical test has not yet been run? Pending
Worksheet 19
- Question 35: Annotate your relationship diagram and identify the saved files. Record query outputs, spreadsheet results and test evidence. Note one feedback-based improvement, its retest and your presentation evidence, or Pending. Require a saved database with Devices(3), Technicians(3) and Tickets(6), three named queries, query-A export, working spreadsheet and presentation evidence, or explicit practical Pending. Keys: DeviceID and TechID primary in parents, both foreign in Tickets, TicketID primary. Foreign-key enforcement checked. A returns J01 Laptop High, 3 days, J05 Projector High, 8 days and J06 Printer High, 5 days; B returns J02 Projector Amber AV; C returns J03 Printer Coral, J05 Projector Amber and J06 Printer Coral in TicketID order. Query-A Days in D2:D4 gives COUNT = 3, MAX = 8, MIN = 3. Test duplicates, absent parent IDs, negative/fractional Days and B boundary: 5 includes J02 while 4 excludes it. Rejecting an insert preserves the original records. Separate expected from observed results or Pending. Presentation explains purpose, keys, queries, formulas, tests and limits. Feedback improvement has a retest; use only fictional data. Give qualitative feedback without numeric marks. Grown-up review; discuss your evidence and reasoning.
Worksheet 20
- Question 36: Explain how the three tables and keys work together, how one query selects its records, and what the spreadsheet summaries mean. Use one invalid-input or boundary test as evidence. Evaluate a feedback-based change and describe a limitation of the dataset or system. Accept coherent explanations linked to actual files or Pending: parent details stored once reduce repetition; each ticket references one existing device and technician, while each parent may have many tickets. AND criteria, correct joins and specified output fields/order explain a named query. COUNT(D2:D4)=3, MAX=8 and MIN=3 describe only query A; an ordinary CSV export needs re-exporting after source changes. Duplicate primary keys, absent foreign keys, restricted status/priority and non-negative stored-integer Days have distinct tests. Query B includes 5 and excludes 4. State whether results were observed or expected. Explain an improvement such as DeviceName headings, with retest or Pending, and a meaningful limit: fictional small snapshot, changing status, no future forecast or no automatic CSV refresh. Presentation and evaluation cover R1 to R5. Equivalent correct GUI or SQL implementations accepted. Grown-up review; discuss your evidence and reasoning.
Curriculum & workbook reference
- Cambridge Lower Secondary Computing Learner’s Book 9 — pages 252–253
Computing for your homeschool day
Explore Database systems with this free Grade 9 Computing lesson. Read one idea together, try the fillable workbook and return to review at your own pace. Download the same student worksheet PDF for pencil-and-paper practice.
Fit learning around your family’s day. There is no timer and no sign-up is needed to use the lesson. An optional account saves your lesson position and completion across devices. Workbook responses and drawings stay in this tab; save a copy of your responses before leaving.
Understand your results
Closed answers are checked in your browser. Drawings and written explanations need grown-up review and are shown separately from the automatic score. Check your work, then use “Retry answers to practise” to revisit mistakes while keeping correct responses.
Choose Review Answers after trying the activity. The guide stays on the webpage; the worksheet download contains only the student pages.
For programme background, visit the Cambridge Lower Secondary Computing overview. PaxaKids provides independent original companion practice.
This original equipment-service adaptation practises the book-linked database-system project outcomes. It uses fictional devices and aliases instead of the publisher hospital datasets, which were not supplied.
The page references identify the reviewed actual supplied book teaching and related practice. Only the cited Learner’s Book teaching pages are listed here. No matching publisher Workbook 9 was supplied or cited. The original PaxaKids workbook is the student download; no textbook scan is published. Explanations, worked models and student workbooks here are original PaxaKids companion material.
This project follows the source unit. Its website lesson number is a PaxaKids navigation label, not an extra publisher-numbered topic.
