← VCE Pseudocode

Algorithm Header and Structure

The required header keyword that names a VCAA maths pseudocode algorithm. Written as Algorithm: followed by a descriptive name, it must appear as the first line before input or processing

Understanding Algorithm Header and Structure in VCE Pseudocode

What it does: The first line Algorithm: compute average shows the correct form — capital A, colon, and a descriptive name that explains what the algorithm does. Begin and End mark the boundaries of the SD pseudocode algorithm body. The statements inside are indented to show they belong within the block. The algorithm structure is: Algorithm header first, then input to collect values, then processing, then print to display results.

Common mistakes: The keyword algorithm must have a capital A in VCAA pseudocode. The correct header is Algorithm: find maximum. Line 0 is wrong. The Algorithm header requires a colon after the keyword: Algorithm: find the sum. Without the colon the header does not follow VCAA convention. Line 0 is wrong.

Class: _____________________  ·  Name: _____________________  ·  Date: _________

Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.

This module's key terms are also in a printable crossword (Modules 1–10) and word search (Modules 1–28).

Take this worksheet further — free with Cloodit

Each concept is reinforced from every angle — learned, then applied, then tested.

Learning
Duo
Which is the correct first line of a VCAA maths pseudocode algorithm?
Algorithm: find the totalalgorithm: find the total
Matches
algorithm: find total input a, b total <- a + b
↓
Wrong — the keyword must have a capital A: `Algorithm: find total`. Lowercase `algorithm` does not follow VCAA convention
Applying
Meanings
Term
Algorithm:
Meaning
The required header keyword that names a VCAA maths pseudocode algorithm. Written as Algorithm: followed by a descriptive name, it must appear as the first line before input or processing
Practice
Algorithm: find the larger number
Testing
Gaps
: calculate area
Check Answer
Spots
1algorithm: find maximum
2input a, b

Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.

The 'Puffin' badge — Definition Diver, one of Cloodit's 106 collectible badges
Students earn collectable badges

Over 100 of them, across seven natural biomes.

Study Buddy
Students build a real study resource

Turns their work into revision material ready for Flash Cards and Exam study.

Diamond Dash — one of Cloodit's live, competitive Sprint games
Students lock in with Sprints

Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.

A Cloodit certificate of achievement, ready to personalise and print
Custom printable certificates

Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.

Quick Questions

1. Which is the correct first line of a VCAA maths pseudocode algorithm?
A. Algorithm: find the total ✓
B. algorithm: find the total
The keyword Algorithm must have a capital A. Lowercase `algorithm` does not follow VCAA pseudocode convention.
2. What punctuation mark must follow the word Algorithm in a VCAA maths pseudocode header?
A. A dash — Algorithm - name
B. A colon — Algorithm: name ✓
The VCAA pseudocode algorithm header always uses a colon directly after the keyword: `Algorithm: descriptive name`.
3. In a VCAA maths pseudocode algorithm, where does the input statement appear?
A. After the processing and print statements
B. After the Algorithm header, before processing ✓
The algorithm structure is: Algorithm header first, then input to collect values, then processing, then print to display results.
4. Which keywords wrap the body of a VCE Software Development pseudocode algorithm?
A. Begin ... End ✓
B. Start ... Finish
VCE Software Development pseudocode uses `Begin` to open the algorithm body and `End` to close it. `Start` and `Finish` are not valid VCAA keywords.
5. Can a VCAA maths pseudocode algorithm have a second Algorithm: header inside its body?
A. No — each algorithm is a separate independent unit ✓
B. Yes — nested Algorithm headers are allowed
Each algorithm is a self-contained named unit. A second Algorithm header cannot appear inside the body of an existing algorithm.

Match the Pairs

Algorithm: find the larger input a, b if a > b then print a → A complete VCAA maths pseudocode algorithm: Algorithm header names it, input collects values, then processing and output follow in order
Begin result <- a + b Print result End → A complete VCE Software Development pseudocode algorithm: Begin opens the body, statements are indented inside, and End closes it
The Algorithm: header must be the first line of a VCAA maths pseudocode algorithm and uses a capital A and a colon → Algorithm: compute average input x, y average <- (x + y) / 2 print average
In VCE Software Development pseudocode, Begin opens and End closes the algorithm body; all statements inside are indented → Begin score <- x * 10 Print score End
algorithm: find total input a, b total <- a + b → Wrong — the keyword must have a capital A: `Algorithm: find total`. Lowercase `algorithm` does not follow VCAA convention
Algorithm find the sum input a, b print a + b → Wrong — the Algorithm header requires a colon: `Algorithm: find the sum`. Without the colon the header does not follow VCAA pseudocode convention

Key Term

Algorithm:
The required header keyword that names a VCAA maths pseudocode algorithm. Written as Algorithm: followed by a descriptive name, it must appear as the first line before input or processing

Fill in the Blanks

1. Algorithm: calculate area input l, w area <- l * w
Hint: Type the required first keyword that begins every named VCAA maths pseudocode algorithm
2. Algorithm: find the total input a, b total <- a + b
Hint: Type the first word of the descriptive name that explains what this algorithm does
3. Algorithm: check age input age if age >= 18 then
Hint: Type the keyword that accepts the user's value before processing begins
4. Begin total <- a + b Print total End
Hint: Type the keyword that opens the body of a VCE Software Development pseudocode algorithm
5. Begin result <- x * 2 Print result End
Hint: Type the keyword that closes the body of a VCE Software Development pseudocode algorithm

Spot the Error

Question 1
A algorithm: find maximum
B input a, b
C print a
Line A — The keyword `algorithm` must have a capital A in VCAA pseudocode. The correct header is `Algorithm: find maximum`. Line 0 is wrong.
Question 2
A Algorithm find the sum
B input a, b
C total <- a + b
D print total
Line A — The Algorithm header requires a colon after the keyword: `Algorithm: find the sum`. Without the colon the header does not follow VCAA convention. Line 0 is wrong.
Question 3
A Algorithm: compute product
B product <- p * q
C input p, q
D print product
Line B — `product <- p * q` appears before `input p, q`. The variables p and q have not been given values yet. Input must come before any processing that uses those variables. Line 1 is wrong.
Question 4
A Algorithm: show double
B input n
C result <- n * 2
D print result
E Algorithm: check value
Line E — A second Algorithm header cannot appear inside the body of an existing algorithm. Each named algorithm is a separate independent unit. Line 4 is wrong.
Question 5
A Begin
B area <- l * w
C Print area
D Finish
Line D — In VCE Software Development pseudocode, the closing keyword is `End`, not `Finish`. The body opened with `Begin` must be closed with `End`. Line 3 is wrong.

Student with a class code? Join your class →