Here’s a puzzle to help practice your computational thinking skills. Don’t forget to take it slowly and think through your answer carefully before committing. A sock drawer contains ten pairs of black...

## Exploring Random Walks with Python Turtle Graphics

In this post we will be looking at an idea from mathematics called a random walk. In a random walk, each step in a process is determined randomly and we are interested...

## Generating Random Graphs in Python

Random Graphs in Python for A Level Computer Science and Beyond The jupyter notebook below shows an implementation of an algorithm for generating a random undirected, unweighted graph. The algorithm uses the...

## Flowcharts for GCSE Computer Science

Representing algorithms for GCSE Computer Science There are several ways to represent algorithms for GCSE Computer Science: Structured English Flowchart Pseudocode Program statements in a particular language In this article we are...

## Pascal’s Triangle with Python

Coding Pascal’s Triangle with Python is a fun intermediate-level challenge. Pascal’s Triangle is a fascinating mathematical structure which contains many patterns. Each element in a row is formed by adding the two...

## Triangle Symmetries with Python Turtle

Making connections between GCSE Computer Science and GCSE Maths is a great way to turbo-charge your learning in both subjects. There are so many areas where the same knowledge can come up...

## The 21 Game with Python Turtle Graphics

Here’s something fun. The 21 Game is a two-player counting game where each player can add 1, 2, or 3, starting at zero, to the total. the total must not exceed 21...

## Calculating Distance with Python

Play Treasure Island by Clicking Here I am very keen to help people connections between Maths and Computer Science. Above is a game I wrote using JavaScript. When you click on an...

## Introduction to Recursion in Python

It was a dark night, the night was dark and the robbers were in a cave. One robber said to the other “tell us a tale,” and this is the tale he...

## Conversion from Decimal to Hexadecimal

I want to share a little trick which some of you may not know for converting from Decimal to Hexadecimal as required for Computer Science GCSE and A Level. To use this...