Programming Practice
T
Reading and Tracing Simple Programs
Build the core idea from scratch with gentle steps and lots of hints.
Computer Science · Beginner
5
questions · ~4 min · 3 hints each (−5 pts)
Confidence tracking, 3-tier hints and instant feedback.
What you'll learn
Each question helps you build key knowledge and skills.
- 1Reading code means working out what a program does line by line before you run it, which helps you spot mistakes early.
- 2A trace table lists each variable as a column so you can write down its value every time the program changes it.
- 3Syntax errors happen when code breaks the rules of the language, such as a missing colon or an unmatched bracket, and the program will not run at all.
- 4Logic errors let the program run but produce the wrong answer, so you must trace through the code carefully to find where the mistake happens.
Question mix
A mix of question types to build your skills.
- Multiple choice×3
- Short answer×2
Different question types help you think in different ways.
How it works
A simple 3-step process
- 1
Rate your confidence
Tell us how sure you feel before answering. It helps us understand your starting point.
- 2
Use hints if stuck
Get up to 3 helpful hints per question. Each hint costs 5 Treasure Points.
- 3
See what went wrong
Get instant feedback with clear explanations, so you can learn and improve.
Ready when you are
This takes about 4 minutes.

