print keyword
A VCAA pseudocode keyword that outputs a value, variable or expression as a result. Example: print area displays the current value stored in the variable area
Understanding print keyword in VCE Pseudocode
What it does: print appears on the last line, after input collects the values and <- computes the area. This ordering — input, process, output — is the standard VCAA pseudocode structure. print can output any value, variable or expression. print total / count evaluates the expression and outputs the result directly. There is no limit on the number of print statements. For example, an if-then-else block may have a print in each branch to output different results.
Common mistakes: display n is not valid VCAA pseudocode. The correct keyword for outputting a value is print. The line should read print n. Line 2 is wrong. print a + b <- total incorrectly mixes print with an assignment. print only outputs a value — it cannot assign. The assignment total <- a + b and the output print total must be on separate lines. Line 2 is wrong.
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.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Print with a capital P?Match the Pairs
Key Term
printFill in the Blanks
Spot the Error
Student with a class code? Join your class →