GRADE 7 · COMPUTING · UNIT 2 · LESSON 2.14
Decomposing problems: Creating a smart solution
Final project
Read a little. Try the workbook. Check your answers. Choose one section below to get started.
LET’S TRACE, REASON AND TEST
Final project
Book extension, project or review · original companion practice
Start the project with success criteria, required inputs and outputs, a complete flowchart and a test plan. Select sensor APIs and board features deliberately. Keep every required input and output in the design, including the normal state. A working fragment does not establish that the whole prototype meets the brief.
- Plan a sensor-based prototype against the stated school-computer protection requirements.
- Create a flowchart and MicroPython solution with selection and the required multiple inputs and outputs.

Explore the clues
Tap one card to find out more.
Understand the idea
Start the project with success criteria, required inputs and outputs, a complete flowchart and a test plan. Select sensor APIs and board features deliberately. Keep every required input and output in the design, including the normal state. A working fragment does not establish that the whole prototype meets the brief.
Concept to practise: Final project.
Work through an example
A model can check a light reading and a button state, then use a visible message and an appropriate sound as outputs. Its plan must specify how those inputs combine, when each output occurs and how false conditions are handled.
Try before your workbook
Before testing a prototype, what evidence should show that all required inputs and outputs are covered? What should happen if suitable hardware is unavailable?
Check my readiness thinking
Use a requirements checklist tied to the flowchart, code and planned tests. Without suitable hardware, complete and label the design or trace honestly; do not record invented physical observations or a completed device test.
Your original programs and learning models
These original PaxaKids program and data models support your workbook. Some examples deliberately contain faults to investigate. Follow their headings and preserve exact code case, punctuation and order. Traces and supplied records are not claims of physical testing.
Create a school-computer alert prototype
Keep a written plan, complete flowchart, saved MicroPython program and test record. Explain what the model detects and how that signal relates to the staff’s purpose.
Keep the full project requirements visible
| Requirement | Evidence to keep |
|---|---|
| Chosen light, touch or accelerometer input | Exact API, returned type and model arrangement. |
| More than one input | Explain the extra input and its effect. |
| More than one output | Identify each output and its purpose. |
| Selection and a flowchart | Both outcomes, all inputs/outputs and repeat. |
| Implementation and tests | Saved program, transfer, observations and retests. |
Discuss software type and simulation
The complete labelled software layers diagram is provided in the original workbook. Use its exact labels when answering the workbook questions.
Write a plan with a clear finish point
| Plan part | What to decide |
|---|---|
| Purpose and user | What staff need to notice and understand. |
| Requirements | Sensor, additional input, outputs and selection rule. |
| Resources | V2 board, USB data cable, editor and model materials. |
| Completion point | Agreed submission point and saved evidence. |
| Success criteria | Active/inactive behaviour and extra-input effect. |
Choose the sensor and its actual data type
| Approach | MicroPython condition example | Type used |
|---|---|---|
| Light | display.read_light_level() < 100 | integer reading; Boolean comparison |
| V2 logo touch | pin_logo.is_touched() | Boolean result |
| Movement | accelerometer.was_gesture("shake") | Boolean result |
An example using two input sources
| A held? | Sensor active? | Example outputs |
|---|---|---|
| False | False | HAPPY; sound stopped |
| False | True | HAPPY; sound stopped |
| True | False | HAPPY; sound stopped |
| True | True | SURPRISED; alarm tone |
Represent the example rule accurately
Decision: A held AND active?
True branch
- Show SURPRISED
- Start alarm tone
False branch
- Stop sound
- Show HAPPY
Complete the original project scaffold
ORIGINAL LIGHT + BUTTON SCAFFOLD
from microbit import *
import music
THRESHOLD = 100
while True:
active = display.read_light_level() < THRESHOLD
if button_a.is_pressed() and active:
pass # Add alert image and sound.
else:
pass # Add inactive image and stop sound.
sleep(100)Select the test rows for your sensor
| Source test pair | Chosen sensor state to exercise |
|---|---|
| Rows 1 and 2: light | Your light condition active, then inactive. |
| Rows 3 and 4: touch | Touch detected, then not detected. |
| Rows 5 and 6: movement | Selected gesture detected, then not detected. |
Connect, send, observe and preserve evidence
- Confirm plan, chart and completed source agree
- Connect board; send the identified revision
- Run chosen active/inactive and extra-input tests
- Record actual outputs and any failed case
- Repair, save/send and retest if needed

Try one step with Paxa!
Use the API for the chosen editor. Label paper traces, simulator runs and physical tests accurately; ask a grown-up before connecting equipment. Save personal responses before leaving.
Our Unit 2 learning path
- Lesson 2.1: All about software
- Lesson 2.2: Introducing the micro:bit
- Lesson 2.3: Using Python with the micro:bit
- Lesson 2.4: The micro:bit Python environment
- Lesson 2.5: Correcting errors using a flowchart
- Lesson 2.6: Using sensors in programming
- Lesson 2.7: Flowcharts for algorithm planning
- Lesson 2.8: Algorithmic solutions and data types
- Lesson 2.9: Planning a smart solution
- Lesson 2.10: Effective testing
- Lesson 2.11: Evaluating a program
- Lesson 2.12: Testing accelerometer gestures
- Lesson 2.13: Protecting a museum crown
- Lesson 2.14: Final project
- Lesson 2.15: Evaluation
- Lesson 2.16: What can you do?
For grown-ups: using this lesson
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.
Read one explanation, discuss the model and try the readiness check before the workbook. Choose “Mark lesson finished” when ready. Optional account progress saves lesson position and completion across devices; save personal responses before leaving.
2. Fill in your workbook
Read the teaching and the complete workbook instructions. Choose, write or draw; Answer list offers larger controls. Trace code precisely and distinguish predictions from actual tests. Review designs, explanations and drawings with a grown-up.
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 12 original A4 student pages, ready for pencil-and-paper practice. Choose Review Answers to check your work on this webpage.
Student worksheet only · PDF · 8.4 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 12 worksheets
Worksheet 1
- Question 1: Which is required by this project? more than one input and more than one output
- Question 2: Which pair provides two distinct input sources? light sensor and a button
Worksheet 2
- Question 3: Which combination provides two output types? an LED image and a speaker tone
Worksheet 3
- Question 4: How is the alert program classified here? applications software
- Question 5: What does a simulator trial establish by itself? behaviour in the simulated model
Worksheet 4
- Question 6: Which is a testable success criterion? when enabled and triggered, the chosen image and sound occur
Worksheet 5
- Question 7: Which statement is accurate? a touch predicate returns a Boolean
Worksheet 6
- Question 8: A is held but the sensor condition is False. What is chosen? inactive image and sound stopped
- Question 9: Sensor is active but A is not held. What is chosen? inactive image and sound stopped
Worksheet 7
This page introduces the activity. There are no marked responses on this sheet.
Worksheet 8
- Question 10: Which condition must the completed active branch satisfy? A held and sensor active
Worksheet 9
- Question 11: Your project uses logo touch. Which source test pair applies? 3 and 4
Worksheet 10
This page introduces the activity. There are no marked responses on this sheet.
Worksheet 11
- Question 12: Complete ProjectPlan_Paxa.txt, including simulator benefits and the software category. Draw the full two-input selection flowchart below. Complete and save a matching MicroPython program with multiple inputs and outputs; write the plan/source filenames on the chart. Discuss it with a partner before testing. Written plan must cover school-computer protection purpose/user, requirements, chosen light/touch/accelerometer sensor and sensing arrangement, exact returned type, second input, condition, active/inactive outputs, hardware/software, agreed completion point and measurable success criteria. Explain simulator benefits/limits and applications rather than systems software for this user-task prototype. Chart includes all inputs, labelled True/False selection, both output behaviours, repeat and matching variables. Saved completed MicroPython, no remaining pass placeholders. More than one input and output required: chosen sensor plus A button, display plus speaker is an original example, not mandatory published implementation. Equivalent alternative second input/control accepted if justified and tested. C03 separate Python editor and display/Image/music APIs; C07 actual sensor return type. Plan and source attachments may hold detail beyond canvas; no numeric scoring. Grown-up review; personal evidence is required.
Worksheet 12
- Question 13: Select your sensor’s active/inactive pair from page 9. Record those tests, a second-input-disabled test, and any relevant boundary or repeat tests. Fill Expected before running; record actual board results, revision and Pass/Fail. Use the notes for repairs/retests, one usability finding and a limitation. Require selected source pair: light active/inactive, touch detected/not, or gesture detected/not, with concrete data/action and intended outputs. Test chosen second input changes behaviour; original example A held + active gives SURPRISED/tone, A held + inactive or A not held gives HAPPY/music.stop. Include numeric boundary for chosen light threshold or appropriate repeated positive/negative trials for Boolean sensor. Identify actual source revision, physical V2 board, completed transfer, measured readings or observed touch/gesture, expected/actual/pass-fail. Repairs followed by retests; if all pass state no repair required. Plan discussion/trace before code and sensor-specific source-row choice evident. Usability finding linked to staff purpose, limitation such as light false alert/proxy input. Simulator/traces separate; physical pending if unavailable, do not claim complete device demonstration from source/API stubs. Detailed CSV permitted; no numeric scoring. Grown-up review; personal evidence is required.
Curriculum & workbook reference
- Cambridge Lower Secondary Computing 7 Student’s Book — pages 79–80
- PaxaKids Grade 7 Computing Lesson 2.14: Final project — pages 1–12
Computing for your homeschool day
Explore Final project with this free Grade 7 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
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.
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.
The book pages identify the related teaching topic. The explanations, characters, programs and exercises here are original PaxaKids companion practice. Practical tasks require the appropriate editor and, where applicable, suitable equipment. A design or paper trace is not a verified hardware result. Only completed, reviewed lessons are listed.
Explore the Cambridge Lower Secondary Computing curriculum for programme background. PaxaKids is an independent learning resource.
