How good is your Python 3 knowledge? Take our quiz to find out now.

Binary Search Algorithm for GCSE and A Level Computer Science

Binary search is an algorithm which is fundamental to both GCSE and A Level Computer Science for all boards. It is a very clever algorithm which reduces the time needed to search for items in large datasets dramatically. It is important to note that in order to use binary search, your data must be sorted. […]

Node Class for a Linked List with Object Oriented 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 a bit of a double whammy if you are not yet very confident with OOP, and it can seem a bit overwhelming. I’ve […]

SQLite with Python for GCSE and A Level Computer Science

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 for GCSE Computer Science with OCR and it will certainly help with Computer Science GCSE with Edexcel and Cambridge, although in those syllabuses […]

Graphs in Python for A Level Computer Science

Part 1 – Networkx Basics networkx is a powerful python package that allows you to easily work with graphs in Python. Combining it with the matplotlib.pyplot package even makes it simple to draw graphs. This is very useful when learning or teaching about graphs for A Level Computer Science. # Auto formatting – completely optional, […]

Counting Letters Using a Python Dictionary

Some Python developers would say that there are two fundamental constructs which form the basis of the language: lists and dictionaries. Whether or not that is true, they are both certainly very important. All the GCSE Computer Science specifications mention arrays, and although there are technical distinctions, for many purposes the notion that lists are […]

Python Turtle Graphics Demos

If you are using the standard installation of Python from python.org which comes with the IDLE editor, there are some exciting demonstrations of the power of the turtle module available at the click of a mouse. The turtle module is hugely useful for learning about and teaching programming, and also great fun. It provides a […]

Global Variables will Break the Internet

You may have heard that global variables are dangerous and should be avoided at all costs. They may even break the internet. How scary! However, it turns out on investigation that the claims are exaggerated and that in some situations, it’s OK to use global variables. One of these situations is when learning the programming […]

Python as Programming Language for GCSE and A Level Computer Science

Have you heard of Edward De Bono? He is considered by some to be the grandfather of metacognition. Among his achievements is the coining of the phrase “lateral thinking” along with extensive development of its implementation. De Bono’s ideas are often overlooked, usually either because they are too simple to appear useful, or the need […]