Pearson Edexcel GCSE Computer Science (1CP2)Specification point 6.6.3

Edexcel 1CP2 6.6.3: Local and global variables

The free BugBot lesson that teach this point, a robot to try it on, and the past-paper questions that test it.

Lessons that teach it

  1. F4.3 Local and global variables Functions and structured code
    Scope: where a variable exists, and why passing values beats global.

Try it on a robot

The task from F4.3 Local and global variables, running here. Change the program and press Run.

Past paper questions on this

Real exam questions that test this, each worked through with a program you can run.

The specification is Edexcel's own document; this page says which of our lessons teach point 6.6.3 and is not endorsed by the board.