Listing all results (139)

An Introduction to Python (v2.7 and v3)

This learning resource is an introduction to programming with Python. Versions are included for Python 2.7 and Python 3.

The fundamentals of programming are covered:
• Arithmetic operations
• Data types
• Control flow

As well as some more advanced techniciques including the use of:...

Assignment Dry Run

This activity, available in three different programming languages, requires students to ‘dry run’ written code and work out what it does. This is a useful skill for programming, which tests their understanding of assignment and subsequent changes to variables within programs. They step through code and analyse the...

Australian Magician's Dream

Made up of two complementary activities, these resources from the CS4FN team go deeper into theory about search algorithms.

The first activity involves the teacher leading a magic trick using some normal playing cards. In the subsequent explanation of the trick, students are asked to consider the pseudocode...

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.


Brain in a Bag

This unplugged activity from Peter McOwan and Paul Curzon mingles computer science with biology. A group activity is used that mimics the firing of neurons within the brain. These trigger other neurons to fire – these can be compared to AND gates in logic circuits.

The ‘brain in a bag’ kits used in the...

The Four Aces

This magic trick from the Computer Science for Fun team at QMUL shows that computing is about more than just programming and computational thinking is about more than just algorithms.

A simple mathematical approach is taken with dealt piles of cards – this allows the dealer to control the whereabouts of the...

Intermediate Programming with LiveCode

A series of eleven guided tasks with LiveCode for students with some prior experience, based on the full software development cycle.

Variables and arrays are assigned using keyboard input, logic and maths calculations are carried out and the results displayed in a simple user interface.

Each task...

Advanced Programming with LiveCode

This series of lessons and exercises covers more advanced programming concepts and techniques. Pseudocode is used within the full development cycle to aid understanding of event-driven programs. Variables are covered in-depth, and a range of loops and selection statements are used for flow of control. Complex array...

Data Representation: Bitmap Images

Using a spreadsheet as a grid of 'pixels', this computing activity teachers how 1's and 0's can store image data. The classroom exercises use images with increasing pixel resolution, looking at how this affects the clarity of the image. Moving from black-and-white images, the students then use grids of colour...


View all publishers