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.
Part
Car park barrier
sensor
notices a car at the gate
processor
if a car is there, lift the arm
actuator
a motor lifts the arm
Worked examples
Picture
Sun visible?
Label
1
yes
sunny
2
no
not sunny
3
yes
sunny
4
no
not sunny
5
yes
sunny
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.
Situation
What to do
a chatbot asks for your school’s name
do not tell it, and tell a trusted adult
speech-to-text writes a wrong word
check the text and correct it
an AI tool gives a fact that you are not sure about
check it with another source or an adult
These rules keep us safe with AI tools.
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.
Part
Ticket gate
input
a card is tapped
process
the program checks that the card is valid
output
?
The output is the gate motor opening the gate (the actuator).
2
The reading is 59, then 60, then 61. What does the board show each time?
59 shows Dim. 60 and 61 show Bright, because they are not less than 60.
3
A program learned from pictures of sunny days only. What may go wrong on a rainy day?
It may not recognise the rainy day, because it never learned from it. A good program needs varied training data.
4
A chatbot asks for your phone number. What should you do?
Do not tell it. A phone number is personal information. Tell a trusted adult.