The Assignment Dry Run Activity

Dry run on paper simple programs that involve variables and assignment.

Set a series of dry run exercises where students have to step through short fragments of code, working out what they do, on paper. This is an important activity to do after explaining variables and assignment. It reinforces understanding and helps identify faulty mental models so they can be fixed. Being able to do this kind of dry run for any new construct is an important prerequisite to being able to actually write code.

Learn about:

  • programming
  • assignment
  • variables
  • values
  • declaration
  • initialisation
  • sequencing

This session comes with linked activity sheets and ‘story’ write-ups that you can download:

This activity can be done on its own but naturally combines with the Box Variable activity.

Back to activities

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s