## Revision Progress Tracker Algorithm

It’s nearly the end of the school year and you have started to revise for your Computer Science end of year exam. To help you keep track of your revision, you have decided to write a computer program to calculate

## Hogwarts Sorting Hat Algorithm

In this challenge, we will implement an algorithm to help the sorting hat at Hogwarts school of witchcraft and wizardry decide which house you would more likely belong to. When a new student join Hogwarts school, they are assigned to

## Countries of Africa

Can you name all of the 54 countries of Africa? In this challenge we will write a Python script to create a quiz where we ask the user to guess as many African countries as possible. The player will score

## Average night’s sleep survey

For her PSHE homework on the importance of sleep, Clarisse has decided to collect data from pupils of different year groups from her school. She will do so using a short survey. The aim of the survey will be to

## Linear Search Functions

For this programming challenge we will investigate different functions which will all be based on a linear search algorithm. Let’s consider a teacher who has decided to keep track of rewards issued to their students throughout the term by adding

## Leap Year Subroutine

A leap year is a calendar year that contains an additional day (29th of February) added to keep the calendar year synchronised with the astronomical year or seasonal year (which contains roughly 365¼ days or 365.242375 days to be more

## Jack and the Beanstalk

In the English fairy tale, Jack and the beanstalk, Jack is a young, poor boy living with his mother and a dairy cow on a farm cottage. The cow’s milk is their only source of income. When the cow stops

In this challenge we will create a game of heads to tails using the following rules: The game will consist of 5 rounds. In each round: the user will make a guess, the computer will flip a coin, the player

## Shuffling a 2D Array

For this challenge we will investigate how to create a 2D array to store the value from 1 to 100 in a 10×10 array. We will then write an algorithm to shuffle the content of this array. See the code

## Shuffling Algorithm

Our aim is to implement a shuffling algorithm to shuffle a deck of playing cards. To do so, we will use a list called deck to store the 52 cards of the deck as follows: deck = ["Ace of hearts","2