Blog Archives

Hogwarts Sorting Hat Challenge

In the Harry Potter series of novels written by British author J. K. Rowling, The Sorting Hat is a magical hat at Hogwarts that determines which of the four school Houses each new student belongs most to. These four Houses

Voting Age Checker – Flowchart

For this challenge you are going to code a script to ask a user how old they are and inform them as to whether they are old enough to vote or not. If they are not old enough to vote,

The Zoo Keeper’s Puzzles

Learning Objectives: This set of puzzles will improve your Python skills when using If Statements (Selection) You will focus on: Using comparison operators: ==, !=, < , >, = Using Boolean Operators: AND, OR, NOT if statements use comparison operators

Cake Sale

You are organising a cake sale and want to predict how much money you will raise. During this cake sale you will be selling the following three types of cakes: Input You decide to write a python script that asks

3D Lego Bricks

In this blog post we will use Glowscript to create a 3D animation representing the various Lego bricks. Our aim is to recreate bricks by joining several cubes and cylinders (studs) together. We will then create a compound object to

Coding Puzzles

Complete the following coding puzzles by drag and dropping the lines of codes in the correct order to recreate basic computer programs. Click on picture below to access the coding puzzles:

Merry Christmas

For this challenge we are going to create Christmas Cards using Python turtle. We will use the random library to create unique cards. Starry Night Our first card consists of creating a starry night scene. This card is using: A

My daily routine

Learning Objectives When you write lines of code, there are three ways you can control the order these lines will be executed by the computer: Sequencing: This means that the computer will run your code in order, one line at

The window cleaner’s quote

A window cleaner uses the following pricing policy to calculate how much to charge for cleaning all the windows of his customer’s dwelling. This pricing policy is based on the number of windows that need to be cleaned and works

Penalty Shootout

For this challenge you are going to write a computer program where the user tries to score a goal against the computer. The user will be asked where do they want to shoot and will have to choose one of

How eco-friendly are you?

It would not be hot news for you to hear that throughout your everyday life, whatever you do, you are having an impact on the environment. Words like pollution, global warming, carbon dioxide, recycling, energy saving, waste reduction are no

The Legend of the Secret Key

The legend of the secret key is based around King Richard II, King of England. In 1399, Richard II decided to hide his treasure in a treasure chest and used four keys to lock his treasure chest. He asked his

Quote of the Day

Learning Objectives By completing this challenge you will learn how data can be stored using lists. You will store a series of quotes in a list and append new quotes to your list. You will also find out how to

For Sale

Learning Objectives In this challenge we are learning how to use variables to store the characteristics of your house. Some of our variables will be used to store text (string) such as the street name of your house. Some variables

My superhero

Learning Objectives In this challenge we are learning how to use variables to store the properties of a superhero. Some of our variables will be used to store text (string) such as the name of our super hero. Some variables

Avatar Generator

In this challenge we will use Python Turtle to create avatars. (An avatar is an icon representing a particular person in a computer game, Internet forum, etc.) Try the code below. This code is using a few computing concetps such

Turtle Maze Challenge

Your challenge is to guide the turtle through the maze. To do so you will need to use the following instructions: myPen.forward(100) to move forward by 100 pixels, myPen.right(90) to turn right by 90 degrees, myPen.left(90) to turn left by

My Weather Forecast

Learning Objectives In this challenge we are going to use selection blocks to display a weather forecast report. Selection blocks uses if, elif and else statements to decide which block of code to run. if statements use comparison operators to

Year 2050

Have you got any idea how old you will be in 2050? By completing the following challenges we will write computer algorithms for the computer to tell us more about our age in the future! Getting Started First you will

Meet E.V.E.

Meet E.V.E., a computer algorithm with artificial intelligence. E.V.E. can communicate with human beings. Well it’s only a start and we need you to complete the code provided below for E.V.E to be able to communicate more effectively with teenagers.