Better Typing for GCSE and A Level Computer Science

How good is your typing? This thing with typing is, if you type badly, you will get a lot of practice at typing badly, whereas if you learn to type properly, you will practice typing well every time you do it. The difficulty comes in making the transition from being a bad typist to a […]

Python Nested FOR Loops for GCSE and A Level Computer Science

Why do I Need Nested Loops? Nested loops are a very important concept in Python programming and GCSE and A Level Computer Science, and are used in many algorithms. For example sorting algorithms such as Bubble Sort and Selection Sort rely on them, as does iterating through a 2D list. Sometimes while loops are used […]

Binary, Decimal and Hexadecimal Converter

Very often in GCSE and A Level Computer Science you are going to want to convert between different number bases such as binary, decimal and hexadecimal. Of course, you need to know how to do this manually, but it’s also very helpful sometimes to use a calculator – either to check your work or when […]

Ultimate Guide to Free Python Resources for Beginners

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 will give you a distinct advantage. We have covered some of the advantages of studying Computer Science in a previous article. Many of […]

2-Dimensional Arrays in Python for GCSE and A Level Computer Science

2-dimensional arrays are extremely important data structures in programming, and you need to understand them for GCSE and A Level Computer Science. They can be very confusing to begin with, and you should make sure you are confident and competent with 1-dimensional arrays before learning about them. For the purposes of GCSE and A-Level Computer […]

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 […]