← All printables
IGCSE Computer Science Paper 2 · Modules 166–175

Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.

A free printable IGCSE Computer Science Paper 2 definitions worksheet with 10 key terms, built from the key terms of 7c Pseudocode and Flowcharts (Modules 166–175) — OTHERWISE in a CASE statement (7c), Choosing between CASE and IF, FOR ... TO ... NEXT, FOR loop with STEP (7c), How many times a FOR loop runs, WHILE ... DO ... ENDWHILE and more. Print it or save it as a PDF — the answer key starts on its own page. No login needed.

IGCSE Computer Science Paper 2 Definitions Worksheet: 7c Pseudocode and Flowcharts (Modules 166–175)

Name:
Date:
Class:

Key terms

Write what each term means, in your own words.

1
OTHERWISE
2
CASE OF
3
FOR Index ← 1 TO 30
4
STEP
5
end - start + 1
6
WHILE ... DO ... ENDWHILE
7
REPEAT ... UNTIL
8
WHILE vs REPEAT
9
FOR / WHILE / REPEAT
10
nested loop

Answer Key

IGCSE Computer Science Paper 2 · Modules 166–175 · Student wording will vary for definitions
1OTHERWISE — The last clause in a CASE statement. It runs when the value matches none of the listed cases, e.g. OTHERWISE OUTPUT "Beep". Without it, nothing happens if there is no match.
2CASE OF — Use CASE OF to test one variable against single values, like a menu choice. Use IF for ranges, like grade boundaries, or when conditions combine several variables.
3FOR Index ← 1 TO 30 — Repeats the statements below once for each whole number from 1 to 30 inclusive. Index is an INTEGER that changes automatically each time. Close the loop with NEXT Index.
4STEP — Sets how much the FOR loop variable changes each time round. STEP 2 counts in twos and STEP -1 counts down. The loop stops when the value goes past the end value.
5end - start + 1 — The number of times a FOR loop runs. FOR i ← 1 TO 5 runs 5 times, 3 TO 3 runs once, and 5 TO 1 runs zero times because the start value is bigger than the end value.
6WHILE ... DO ... ENDWHILE — A loop that tests its condition before each pass and repeats its statements while the condition is TRUE. It may run zero times, and the body must change the condition.
7REPEAT ... UNTIL — A loop that runs its statements first, then tests the condition. It stops when the condition is TRUE, so the body always runs at least once. It has no ENDREPEAT keyword.
8WHILE vs REPEAT — WHILE tests first, so its body may never run, and it loops while the condition is TRUE. REPEAT tests after the body, so it runs at least once, and it stops when the condition is TRUE.
9FOR / WHILE / REPEAT — Use FOR when the number of repeats is known, WHILE when the body might run zero times (such as reading until a sentinel), and REPEAT when the body must run at least once (such as validation).
10nested loop — A loop placed inside another loop. The inner loop runs completely for every pass of the outer loop, so total passes = outer passes x inner passes.

Modules this definitions worksheet covers

Every module has its own free printable worksheet with an answer key, and students can practise the same terms interactively on Cloodit.

Part of: IGCSE Computer Science 0478 — 7c Pseudocode and Flowcharts, WA Computer Science ATAR Year 11 — Pseudocode and Algorithm Design

More IGCSE Computer Science Paper 2 printables

This printable is free — no login needed.

Free classroom tools, no account: Hangman · Random Team Generator · Random Name Picker Wheel · Seating Plan Maker

Make a free class, give it a journey, and you also get:

Create a free teacher account →

No credit card. No setup fee. Make a class and invite students in under three minutes.