Box Variables

This unplugged activity, from the CS4FN team at Queen Mary University of London, helps learners to understand variable assignment and operations. They use the idea of variables as boxes as the basis of a group activity, developing their use of logical thinking to trace variables through programs.

The activity seeks to undo misconceptions relating to variables, and demystifies why the assignment operator is not an ‘equals’ sign in computer programming. Practice ‘dry-running’ code is then provided, to help consolidate skills and understanding.

Show health and safety information

Please be aware that resources have been published on the website in the form that they were originally supplied. This means that procedures reflect general practice and standards applicable at the time resources were produced and cannot be assumed to be acceptable today. Website users are fully responsible for ensuring that any activity, including practical work, which they carry out is in accordance with current regulations related to health and safety and that an appropriate risk assessment has been carried out.

Downloads

You might also like

Published by

Actions

Share this resource

Collections

This resource is part of Computer Science for Fun

Lists that tag this content

Comments