input keyword
A VCAA pseudocode keyword that accepts a value from the user and stores it in a named variable. Example: input age stores the user's entered value in the variable age
Understanding input keyword in QCE Digital Solutions Unit 1
What it does: input appears before the assignment that uses length and width. Variables must be given values via input before they can be used on the right side of <-. The input keyword stores the user's value directly into score. No <- is needed — input handles storage automatically, unlike assignment which requires <-. VCAA pseudocode allows multiple variable names after input, separated by commas: input a, b accepts two values and stores them in a and b respectively.
Common mistakes: enter name is not valid VCAA pseudocode. The correct keyword for accepting user input is input. The line should read input name. Line 1 is wrong. input total <- a + b incorrectly mixes the input keyword with an assignment. input only accepts user values — calculation and assignment use <-. The correct statement is total <- a + b on its own line. 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 158–380) and word search (Modules 82–380).
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
Match the Pairs
Key Term
inputFill in the Blanks
Spot the Error
Student with a class code? Join your class →