Blog Archives

Pascal Triangle

Pascal-Triangle

In mathematics, one of the most interesting number patterns is Pascal’s Triangle. It is named after Blaise Pascal (1623 – 1662), a famous French Mathematician and Philosopher. To build a Pascal Triangle we start with a “1” at the top.

Defragmentation Algorithm

File Allocation Table (FAT System) A file allocation table (FAT) is a table that an operating system maintains on a hard disk that provides a map of the clusters (the basic units of logical storage on a hard disk) that

Cinema Booking Challenge

A cinema has created a booking system for their main theatre which consists of 48 seats, organised in 6 rows of 8 seats. To store information as to whether a seat is booked or available, the program uses a 2-dimensional

Top 10 Challenge

In this challenge, you will create a computer program to ask the end-user to try to guess the top 10 largest countries per area. To do so you will use a list in Python, containing the top 10 countries as

Planets Top Trumps

For this challenge we will create a variant of the game of Top Trumps using 9 cards, one for each of planet of our Solar System. We will store all the cards and data about the planets in a list

Fireworks Display

fireworks

Coding is an Art Let’s first whatch this video clip which shows how a computer program can be used to create a large scale, live and interactive fireworks display: Fireworks Code Inspired by this application of computer science, we have

Quote of the Day

quoteOfTheDay

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

Rainbow Challenge

rainbow

In this challenge we are going to use our coding skills to create some nice colour patterns. We will first look at the code given to create a rainbow effect to understand how it works. We will then adapt this

All Stars Football Team

football2

In this challenge we are looking at how a list can be used to store all the players’ names of a football team. Using a set of functions we then manipulate this list to: Find a value in a list

Lottery Numbers

lottery-numbers

In this challenge we are going to write a Python program that automatically generates six random numbers (from 1 to 50) and display them on the screen, sorted in ascending order. The program will need to make sure that each

Our Latest Book