GRADE 8 · COMPUTING · UNIT 4 · LESSON 4.18

Computer systems

Autonomous programming, sensors and robotics

Read a little. Try the workbook. Check your answers. Choose one section below to get started.

Topic 4.18 · Autonomous programming, sensors and robotics8 fillable worksheet pagesRead at your own pace

LET’S TRACE, REASON AND TEST

Autonomous programming, sensors and robotics

An autonomous system can sense its surroundings, apply a decision method and act without a person controlling every step. Sensors provide input; a controller chooses an action; an actuator produces a physical output. Autonomy can use fixed rules and does not itself prove machine learning.

Today’s two goals
  • Trace sensing, decision and action in factory and exploration examples.
  • Explain my method and support it with a labelled trace, example or test record.
Original PaxaKids illustration for Autonomous programming, sensors and robotics. Use the supplied program and data models for precise workbook facts.
An original PaxaKids workbook scene. Use the supplied programs and data for precise workbook facts.

Work through an example

A paper robot model reads a distance of 6 units. Its stated rule is to stop below 8, so the predicted action is stop. This is a labelled paper trace of a fixed rule, not an observed hardware test or evidence that the robot learned the rule.

Try before your workbook

A device reads temperature and turns a fan on according to a fixed threshold. Must it be using machine learning?

Explore the clues

Tap one card to find out more.

Understand the idea

An autonomous system can sense its surroundings, apply a decision method and act without a person controlling every step. Sensors provide input; a controller chooses an action; an actuator produces a physical output. Autonomy can use fixed rules and does not itself prove machine learning.

Concept to practise: Autonomous programming, sensors and robotics.

Work through an example

A paper robot model reads a distance of 6 units. Its stated rule is to stop below 8, so the predicted action is stop. This is a labelled paper trace of a fixed rule, not an observed hardware test or evidence that the robot learned the rule.

Try before your workbook

A device reads temperature and turns a fan on according to a fixed threshold. Must it be using machine learning?

Check my readiness thinking

No. Sensing and autonomous control can follow fixed rules. A claim about learning needs separate evidence of training and evaluation.

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.

Trace sensing, decision and action

An autonomous system carries out a task without a person choosing each immediate action. People may still set its goals, program it, supervise it or intervene. Sensors supply readings from the environment; software uses those readings to choose outputs.

A robot can use fixed rules, learned models or both. The classroom robot illustration does not establish that any learning or hardware test occurred.

Read a repeating paper control model

Fictional tabletop model: read distance in centimetres. If distance is below 20, stop the motors; otherwise move slowly. Pause, then read again. This simplified diagram is for tracing only, not a complete real-machine safety design.
Read a repeating paper control model — original labelled workbook model. The following text version gives its labels and values.
Read a repeating paper control model · original PaxaKids model.
Read this model’s labels and values
Read
Read distance (cm)
Condition
Distance < 20?
True
    1. process
    2. Stop motors
False
    1. process
    2. Move slowly
Pause
Pause, then repeat

Separate a sensor from an actuator

A sensor provides input about a condition. An actuator carries out a physical action, such as a motor moving wheels. The controller runs the decision instructions. A display may report a result, but it is not the same as a motor action.
Separate a sensor from an actuator — original model
ItemRole in this fictional model
Distance sensorSupplies a reading about an obstacle.
ControllerApplies the distance rule.
Wheel motorProduces physical movement.

Trace a fictional factory decision

Paper paint-station rule: command SPRAY only if temperature is 18–22 degrees inclusive, distance is 25–35 cm inclusive, and part-present is 1. Otherwise command WAIT. All three conditions are required. These invented values are not operating instructions for a real machine.
Trace a fictional factory decision — original model
CaseTemp.DistancePresentCommand
F120301{'clue': 'SPRAY or WAIT', 'prompt': 'Factory command F1', 'answers': ['SPRAY']}
F223301{'clue': 'SPRAY or WAIT', 'prompt': 'Factory command F2', 'answers': ['WAIT']}
F320241{'clue': 'SPRAY or WAIT', 'prompt': 'Factory command F3', 'answers': ['WAIT']}
F418251{'clue': 'SPRAY or WAIT', 'prompt': 'Factory command F4', 'answers': ['SPRAY']}
F520300{'clue': 'SPRAY or WAIT', 'prompt': 'Factory command F5', 'answers': ['WAIT']}

Use a rover example with accurate limits

NASA’s AutoNav example describes Perseverance replanning around obstacles toward a destination already established. Navigation cameras provide information for the journey. Human teams still have planning and oversight roles.

Avoiding a rock does not by itself prove that a rover retrained a model during that drive. The illustration is a classroom scale-model scene.

Classify the original control scenarios

S3: a thermostat uses a temperature sensor and prewritten rules to turn a heater on below 19 degrees and off above 21 degrees.

S5: a small robot follows fixed sensor rules to stop and turn at an obstacle; it does not change rules from experience.

S6: a supervised test-arena robot uses a model trained on labelled litter images, adds a coloured outline to its live camera view, and follows an autonomous routine to pick up recognised litter.

Recognise a control limitation

A reading can be inaccurate, missing or unsuitable for the situation. A camera image can be dark or obscured. A distance sensor may miss an object. A careful design must explain how unexpected information changes its decision or triggers a request for help.
Paxa the Fox

Try one step with Paxa!

Follow the model and explain the labels, values and decisions. Use fictional data. Label a paper prediction, simulation and actual practical test separately; an unperformed test stays Pending. Save personal responses before leaving.

Our Unit 4 learning path
  1. Lesson 4.1: Primary memory and the processor
  2. Lesson 4.2: The role of RAM
  3. Lesson 4.3: The role of ROM and comparison
  4. Lesson 4.4: Operating-system purpose and examples
  5. Lesson 4.5: Interface, memory and user accounts
  6. Lesson 4.6: Files, applications and devices
  7. Lesson 4.7: Utility software and maintenance
  8. Lesson 4.8: Denary and binary place value
  9. Lesson 4.9: Converting values and extending to eight bits
  10. Lesson 4.10: ASCII and character encoding
  11. Lesson 4.11: Compression, reconstruction and purpose
  12. Lesson 4.12: Truth-table structure and possible inputs
  13. Lesson 4.13: NOT, AND and OR outputs
  14. Lesson 4.14: Complete, check and communicate tables
  15. Lesson 4.15: AI rules and learning from examples
  16. Lesson 4.16: What augmented reality adds
  17. Lesson 4.17: AR in entertainment, retail and education
  18. Lesson 4.18: Autonomous programming, sensors and robotics
  19. Lesson 4.19: Designing and explaining a robot
  20. Lesson 4.20: Project: Technology work placement
  21. Lesson 4.21: Check your progress 4
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 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.

Autonomous programming, sensors and robotics8 student pages · original artwork

Opening your PDF…

Swipe sideways across the worksheet on a small screen, or use “Answer list” for larger controls.

TAKE YOUR PRACTICE OFFLINE

3. Download the student worksheet

All 8 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

Download worksheet PDF ↓

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 8 worksheets

Worksheet 1

  1. Question 1: Which description establishes autonomous physical control? sensor readings lead to physical actions without a person choosing each immediate action

Worksheet 2

  1. Question 2: Why does the model read the sensor again? the surroundings may have changed after an action

Worksheet 3

  1. Question 3: At distance 12 cm, does the model command STOP or MOVE? STOP
  2. Question 4: At exactly 20 cm, does the stated model command STOP or MOVE? MOVE
  3. Question 5: Which item is an actuator here? wheel motor

Worksheet 4

  1. Question 6: Factory command F1 SPRAY
  2. Question 7: Factory command F2 WAIT
  3. Question 8: Factory command F3 WAIT
  4. Question 9: Factory command F4 SPRAY
  5. Question 10: Factory command F5 WAIT

Worksheet 5

  1. Question 11: Which statement is supported by the example? local autonomous navigation can coexist with human goals and oversight

Worksheet 6

  1. Question 12: Does S3 establish learning from examples? no; its stated rules are prewritten
  2. Question 13: Which statement about S5 is accurate? autonomous obstacle response is described; learning is not
  3. Question 14: Which combination is explicitly described in S6? machine learning, AR and autonomous physical control

Worksheet 7

  1. Question 15: What is a relevant response when required sensor data is missing? follow a defined stop or help-request condition
  2. Question 16: What evidence would support a machine-learning claim? a model fitted using relevant examples
  3. Question 17: Why can a correct decision still need evaluation? its inputs, assumptions and effect may fail in other cases

Worksheet 8

  1. Question 18: Choose the fictional factory model and an exploration robot. For each, draw a large labelled sensor-controller-actuator diagram, state the purpose and trace a normal case and a changed or failed-input case. Explain the decision and resulting action. Identify which behaviour is fixed and what extra evidence would establish learning. Consult the linked NASA example or an offline copy if available; record the actual source consulted or Pending. Retain your diagrams, an actual partner comparison or Pending, one limitation and an improvement. Require two coherent purposes and complete input-decision-action traces. Factory rule requires all three conditions; F1 and F4 SPRAY, others WAIT. Exploration example plausibly uses sensor information to plan physical movement while people may set goals/supervise. Distinguish fixed rules from model fitting; do not infer online learning from autonomy. Failed or missing inputs need a defined response rather than invented certainty. Actual consulted source and partner evidence or Pending, large retained diagrams and improvement. Paper work is not a hardware test. No numeric grading. Grown-up review; personal evidence is required.
Back to my workbook ↑

Curriculum & workbook reference

Computing for your homeschool day

Explore Autonomous programming, sensors and robotics with this free Grade 8 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.

Book page references identify the related teaching topic. File-management and responsible-data preparation are original PaxaKids material; orientation or contents pages are not presented as teaching citations for those skills. 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.