AdvertisementYour brand could be hereYour brand hereOn every Darslab page · students, parents and teachersinfo@darslab.comAsk for pricesPricesinfo@darslab.com
☰ Year plan · Computing

Term 3 review

Week 30 · Review: Term 3 · 3 lessons
3

Sensors, AI and boards

Computing 5: Units 9–12, pp. 119–170
GoalReview control systems, smart devices, how AI learns, and micro:bit programs that decide.
New words
sensor · a device that measures something and turns it into dataactuator · a part that makes something move or changetraining data · the examples that an AI program learns fromforever · a block that repeats the blocks inside it
Explanation

A control system has an input, a process and an output. A sensor sends data in, the processor follows a program, and an actuator makes something happen. Smart devices send their data over the internet. An AI program learns patterns from training data and makes a prediction, but it can be wrong or unfair. People must check it, and nobody should tell a chatbot personal information. A micro:bit board can use forever with if … then … else to choose between two outputs. An event block counts presses correctly. The light level goes from 0 to 255. A random number should be picked once and stored in a variable before it is tested.

PartCar park barrier
sensornotices a car at the gate
processorif a car is there, lift the arm
actuatora motor lifts the arm
Worked examples
PictureSun visible?Label
1yessunny
2nonot sunny
3yessunny
4nonot sunny
5yessunny
Here are five labelled pictures of the sky. The program finds the pattern: when the sun is visible, the label is sunny. Its prediction for a new picture with the sun visible is sunny. It could still be wrong, for example for a picture where the sun peeps out between dark rain clouds.
SituationWhat to do
a chatbot asks for your school’s namedo not tell it, and tell a trusted adult
speech-to-text writes a wrong wordcheck the text and correct it
an AI tool gives a fact that you are not sure aboutcheck it with another source or an adult
These rules keep us safe with AI tools.
Card boardsetcardtopick random1to4show iconheartshow numbercardifcard=4thenelseon shake
A board picks the number once and then tests it. On four shakes the board picks 2, 4, 1 and 4. Only the number 4 shows the heart.
Class activity

Teach it back (pairs, paper). Each player picks one idea from this week’s review: a sensor and an actuator, how AI learns, forever with if … then … else, or counting with an event block. Write a three-line explanation and draw one picture. Then teach it to your partner in one minute. Your partner asks one question. What was easy to explain and what was hard?

Practice
1
Fill in the missing part of this ticket gate system.
PartTicket gate
inputa card is tapped
processthe program checks that the card is valid
output?
2
The reading is 59, then 60, then 61. What does the board show each time?
Metersetreadingtolight levelshow stringDimshow stringBrightifreading<60thenelseforever
3
A program learned from pictures of sunny days only. What may go wrong on a rainy day?
4
A chatbot asks for your phone number. What should you do?