Tag: Sequencing

Stopping Distance Calculator

road-sign-deer

In this challenge, we will write a Python program to estimate the total stopping distance of a vehicle based on its speed. The stopping distance consists of two components. The first component is the reaction distance covered by the vehicle

Complementary Colours Algorithm

complementary-colours-flowchart

Complementary colours are pairs of colours which, when combined or mixed, cancel each other out by producing a grayscale colour like white or black. When placed next to each other, they create the strongest contrast for those two colours. Complementary

ASCII-Bot Challenge

ascii-bot-challenge

In this challenge we will use the print() instruction in Python to create an ASCII-bot: A robot made of ASCII characters, in other words characters that you can type with a standard QWERTY keyboard. Python Code This is what your

Python Turtle – My House

house-python-turtle

Using Python Turtle we created a range of functions to draw a house. We use these functions in our main program but can’t seem to get it to work. We believe the code has all the required instructions but these

Marathon Time Calculator

marathon

In this challenge you are going to write a Python script to help a marathoner predict the overall time they can complete a Marathon in (42km). This estimation will be based on the runner’s pace which is the time they

Cake Sale

cakesale

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

Coding Puzzles

code-puzzle-start

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

Sequencing, Selection & Iteration

class-register

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 a time