← All printables
IGCSE Computer Science Paper 2 · Modules 369–378

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 8.1b Sequence, Selection and Iteration (Modules 369–378) — IF…THEN…ENDIF (8.1b), IF…THEN…ELSE…ENDIF (8.1b), IF with a compound condition, Several alternatives with IF inside ELSE, CASE OF…ENDCASE (8.1b), OTHERWISE in a CASE statement (8.1b) 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: 8.1b Sequence, Selection and Iteration (Modules 369–378)

Name:
Date:
Class:

Key terms

Write what each term means, in your own words.

1
IF condition THEN ... ENDIF
2
ELSE
3
IF Age >= 13 AND Age <= 19 THEN
4
ELSE IF
5
CASE OF Choice
6
OTHERWISE
7
1 TO 9 :
8
CASE OF
9
FOR Count <- 1 TO 10
10
FOR Count <- 10 TO 1 STEP -1

Answer Key

IGCSE Computer Science Paper 2 · Modules 369–378 · Student wording will vary for definitions
1IF condition THEN ... ENDIF — Runs the indented statements only when the condition is TRUE. If it is FALSE they are skipped. ENDIF closes the selection and lines up with IF.
2ELSE — Adds a second branch that runs when the IF condition is FALSE, so exactly one of the two branches runs. ELSE has no condition of its own and lines up with its IF.
3IF Age >= 13 AND Age <= 19 THEN — A compound condition joins tests with AND, OR or NOT so one IF checks several things at once. AND needs both tests true; OR needs at least one true.
4ELSE IF — A nested IF placed inside ELSE to choose between 3+ alternatives. Conditions are tested in order, only one branch runs, and every IF needs its own ENDIF.
5CASE OF Choice — Compares one variable (here Choice) with a list of values, runs the statement beside the matching value, and is closed by ENDCASE.
6OTHERWISE — The last clause of a CASE statement. It runs when the variable matches none of the listed values, e.g. OTHERWISE : OUTPUT "Invalid choice". Without it, nothing happens if no value matches.
71 TO 9 : — In a CASE clause, value1 TO value2 matches a whole range, such as 1 TO 9. Indented statements under the clause all run. Ranges in one CASE must not overlap.
8CASE OF — Use CASE OF when one variable is matched against fixed values, like a menu choice. Use IF when you test conditions with <, > or AND/OR, like age or score tests.
9FOR Count <- 1 TO 10 — A count-controlled loop that repeats the indented lines end - start + 1 times, adding 1 to the counter each time. It is closed by NEXT Count, which names the same counter.
10FOR Count <- 10 TO 1 STEP -1 — STEP sets how much the FOR counter changes each repeat. Without STEP the counter goes up by 1. A negative STEP, such as -1, makes the counter count down.

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 — 8.1b Sequence, Selection and Iteration, ACARA Digital Technologies Years 9–10 — Algorithms with Logical Operators

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.