Hi, I'm Byte. I run your code, then test it with test data.
Your output will appear here when you press ▶ Run.
>_
BuryCODE
GCSE
Keep going while…
Use while loops to repeat code when you don't know how many times – and to validate input. OCR J277 2.2 and 2.3.
>>>
1. Clear levelsWrite code, press ▶ Run. Byte runs it, then tests it with normal, boundary and invalid data.
2. Stuck?Hints unlock as you try. The last hint shows you the structure to fill in.
3. End of lessonPress 📝 Get my feedback and paste it into OneNote.
Your feedback
This is based on all the code you've written in this mission. Copy it and paste it into your OneNote.
Settings
💾 Save my progress
This code holds all your levels, code and patches. Copy it and paste it into your OneNote. Next lesson, on any computer, press Load my save code and paste it back in.
📥 Load my progress
Find your save code in OneNote, copy it, and paste it in the box below.
Smashed it!
My patch collection
🏆
All core levels cleared!
You can use while loops when you don't know how many repeats you need, and you can validate input. Both come up in Paper 2.