A computer does exactly what it is told, so a plan must be exact too.
3 lessons, about 1 h 15 min3 simulations10 problems3 practice questionsPython in every lesson
Pseudocode writes an algorithm in a precise, readable form that is not tied to one programming language. You learn the exam style of Cambridge IGCSE pseudocode: assignment with an arrow, INPUT and OUTPUT, IF and CASE, the three kinds of loop, MOD and DIV, and how to state the purpose of an algorithm and amend one.
A dry run follows an algorithm by hand, one step at a time, without a computer. A trace table records it: one column for each variable, and columns for the prompts and outputs. You complete trace tables for loops and decisions and use them to find what an algorithm does.
A program is tested with data chosen on purpose. You learn the four kinds of test data in the syllabus: normal, abnormal, extreme and boundary. Then you use dry runs and test data to find errors in algorithms and to suggest how to correct them.
Log in to join the discussion.
Loading…