Free interactive python challenges for GCSE Computer Science

Keyword games for Topic 6 Programming

Here’s a collection of free interactive python challenges for GCSE Computer Science. They’re designed to follow the Edexcel GCSE (first teaching 2020).

This page is a work in progress and I hope to add more activities over time. You’ll see progress bars for each topic. Click on these for interactive, self marking python challenges. As you complete each challenge, your score will update on the progress bars. You can enter your name and generate a certificate for each activity:

Example certificate
Example PDF certificate (I’m sure you can get a better score!)

Variables, Constants and Assignment

6.3.2: be able to write programs that make appropriate use of variables and constants

Learning Objective 6.3.2

Input and Output

6.2.1: understand the function of and be able to identify the structural components of programs (…, input/output)

Learning Objective 6.2.1

Sequence and Selection

6.2.2: be able to write programs that make appropriate use of sequencing, selection…

Learning Objective 6.2.2
Continue ReadingFree interactive python challenges for GCSE Computer Science

15: Error handling in python

Just because code works once doesn’t mean that it’s always going to work. Being able to write code that doesn’t crash or behave unexpectedly when things go wrong is a really useful skill.

This tutorial guides you through how to use exception handling to control how your programs behave when things go wrong in order to avoid crashes and data loss.

Make your code cope when things go wrong
Error handling in python: Make your code cope when things go wrong

Contents:

Page 1: Intro

Page 2: The theory: learn what you need to know as fast as possible.

Page 3: Try it: try out and adapt some working python code snippets.

Page 4: Debug it: Learn how to find and fix common mistakes.

Page 5: Extend it: Choose a project idea to use your newfound python skills.

Continue Reading15: Error handling in python

14: Reading data from a file in python

Being able to read and process data from a file is a very useful skill that can save hours of time by allowing you to automate repetitive tasks very quickly.

Use and store data in files
Reading data from a file in python

Contents:

Page 1: Intro

Page 2: The theory: learn what you need to know as fast as possible.

Page 3: Try it: try out and adapt some working python code snippets.

Page 4: Debug it: Learn how to find and fix common mistakes.

Page 5: Extend it: Choose a project idea to use your newfound python skills.

Continue Reading14: Reading data from a file in python