KwickClips Course Topics · 43 sec · free
What is a dry run?
Short answer. Running an algorithm by hand.
What does a trace table have for each variable?
One column.
Trace table
| num | count |
|---|---|
| 20 | 0 |
| 10 | 1 |
| 5 | 2 |
Remember
| Dry run: run it by hand |
| Trace table: one column per variable |
No computer in the exam. How do you find the output? The program halves num each step. Num starts at twenty, count zero. Halves to ten, count one. Then five, two. Remember. A dry run is by hand. A trace table records each value.
This clip is from the full lesson: Trace tables and dry-runs — 5 minutes, with the tables, the quick answers and the whole lesson in text.
Useful for: Cambridge IGCSE Grade 10 Computer Science (0478)
Voice-over is AI-generated; the script is written and checked by Kajal Ma'am. Confirm anything you plan around against your official board document. We never ask for a password or an OTP.

