Tap play and I''ll read this lesson to you like a story.
🪙0
0 of 6
🎮 Every you tap a in a , a , or to a , : a your and what to . this , would just sit there ! In this we will how , and . By the end, you will be to your own that using , and .
An is any a from the . It could from a — a , a key , a tap, or a — or from a such as a , , or . An is the : on , a , a , or a . Every the : , it, . this the IPO — , , .
The IPO model: every interactive program follows this loop.
✨
🌡️ The BBC :bit has that act as — it can , , and which way it is . Its LED and are . One the IPO in !
Device
Example Input
Example Output
Smartphone
Touchscreen tap
App opens on screen
Smart speaker
Voice command
Spoken answer played aloud
Games console
Button press
Character jumps on screen
Laptop
Keyboard typing
Text appears in document
Automatic door
Motion sensor detects person
Door motor opens
Common inputs and outputs in everyday technology
In (like ), from are using . An is a — that which a to . The 'when this is an . So is 'when key or 'when I a . are the between what the does and what the does . , a could only run from top to — ! let , , and , them .
an , the needs to or make a . This is where and in. A is a box that a — for , a called ' the 10. using an to on the . For : IF the ' THEN '! 🎉' 'Try again ❌'. is what makes a than the every .
💡
💡 When , ask: what are ALL the a ? A — for , the ' a if they a . This is called .
🔗 Match each programming term to its correct definition. Drag the definition to the correct term.
Event
Variable
Selection
Input
Output
Let us through a by . The about every : which the , what is , how the is , and how the to or . , , and — not just a or . this as a before any , so they can . This of .
The flow of a simple interactive quiz program from event to feedback.
🧩 A programmer is building a simple quiz in Scratch. Put these design and coding steps in the correct order from first to last. ⬇️
Test the program with correct answers, wrong answers and unusual inputs
Display a final output showing the player's score
Use if-then-else selection to check the answer and update score
Use an 'ask and wait' block to display the first question
Add a 'when green flag clicked' event block to start the quiz
Create a variable called 'score' and set it to 0
Plan the program: sketch a flowchart showing questions, inputs and feedback
is a of . After your , you should it with ( ), ( like 0 or a very ), and (things that should not , like where a is ). Each should have a that you to the . If they , you — the and fix it. is not a of ; every does it . 🔍
⚠️
⚠️ : if your any from — even just a or age — you or that . In the , . that .
🗂️ Sort each test case into the correct category: Normal Input, Boundary Input, or Erroneous Input. 🗂️
User types 'London' when asked to name a UK capital city
User types their name when asked for a number
User enters 0 as their age in a program expecting 1–100
User types 'Paris' as a quiz answer
User types 999999 when asked to pick a number between 1 and 10
User types a series of random symbols like £$%@ into a text box
✍️ Complete the sentences below using the words from the word bank to check your key vocabulary. 📝
A from a and in . In , an is a that a . A a that can during the . on a is or .
Quiz time! 📝
Input, Output and User Interaction — End of Lesson Quiz
Question 1 of 5
Tip: log in to save your score and track progress.
Finished?
Log in to mark this lesson complete and track your progress.