Every now and then I look at a syllabus or textbook for GCSE Computer Science and it strikes me how much more interesting the content could be. Fun with Python for Computer...
As a very good song by a very good band once put it … you may find yourself, in another part of the world… Somehow I found myself in Carpinteria, California, USA...
The Eight Queens Puzzle is a classic problem whose goal is to place 8 queens on an 8x8 chessboard in such a way that none of the queens share a row, column...
There are many ways to run Python code. Many learners begin with IDLE which comes bundled with the standard Python installation. You can go a long way with IDLE but eventually you...
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...
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...
Why do I Need Nested Loops in Python? Nested loops are a very important concept in Python programming and Computer Science, are used in many algorithms. For example sorting algorithms such as...
Learning to program with Python is both fun and challenging. For some, it could mark the beginning of a life-long journey of discovery and creation. In many professions a knowledge of Python...
When you come to study Data Structures such as Stacks, Queues, Linked Lists and Binary Trees for A Level Computer Science, you will often make use of Object Oriented Programming. That is...
In this article we will learn how to use the SQLite database management system with Python for GCSE and A Level Computer Science. You will need to know about how SQL works...