Power operator ^
The power operator. Radius ^ 2 raises Radius to the power 2, meaning Radius * Radius. It is worked out before multiplication, so Pi * Radius ^ 2 squares Radius first.
Understanding Power operator ^ in IGCSE Computer Science Paper 2
What it does: Number ^ 2 means Number * Number, so the variable Square stores the square of Number. Radius ^ 2 is calculated first and the result is then multiplied by 3. It does not mean (3 * Radius) squared. The ^ operator raises a number to a power. Radius ^ 2 is Radius * Radius. It is not Radius * 2. Side ^ 3 means 4 * 4 * 4 = 64. Multiplying 4 by 3 gives 12, which is wrong. A square means a power of 2. A power of 3 gives a cube. Multiplying by 2 is not the same as raising to the power 2. Squaring needs ^ 2 or Radius * Radius.
Common mistakes: Cambridge pseudocode uses ^ for powers, not **. The line should be Square ← 5 ^ 2. The brackets make the multiplication happen first, so 12.56 is squared. Without them, only 4 is squared before multiplying by 3.14: Area ← 3.14 * 4 ^ 2.
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 337–346) and word search (Modules 337–357).
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
^Fill in the Blanks
Spot the Error
Student with a class code? Join your class →