In this blog post we will investigate how to implement concurrent processing in a Python program to allow multiple processes to be executed concurrently. To do so will create and run multiple threads in our program and will need to…
A few weeks ago, a group of British trekkers stumbled upon the remains of what is believed to be an undiscovered Inca temple in the middle of the Peruvian rainforest. One of their most unexplained discoveries is a collection of…
On the first day of school, the principal of Locker High school decides to conduct an experiment. The school has exactly 1,000 students and 1,000 lockers all lined up alongside the main corridor of the school. The principal asks the…
This challenge is based on a 4×4 grid of dice (16 dice in total). Each game starts by shaking the grid to generate a new grid of 16 values. All dice are 6-sided dice, generating random values between 1 and…
Let’s consider a square matrix of n x n. (n columns and n rows). The diagonal difference of a square matrix is the absolute difference between the sums of its diagonal. Let’s look at an example based on the following…
Before going to sea, any sailor should check the marine weather forecast to check on different aspects of the weather including the direction and strength of the wind (wind speed). The wind speed can be measured using different units such…
In this challenge we will create a library of functions to apply the different formulas based on the geometry of circles. For each function, you will need to design the algorithm using either Pseudo-code or a flowchart, implement the function…
The historical era of ancient Egypt spreads over more than 30 centuries during which different pharaoh’s ruled Egypt. One of the most famous pharaoh, Tutankhamun commonly referred to as King Tut ruled from 1334 to 1325 BC. He was the…
In this blog post we will investigate how Egyptians used to write numbers (Ancient Egypt civilisation) and we will use an algorithm to convert decimal numbers into Egyptians numerals. By completing this challenge, we will compare two different numerical notations:…
A barcode is a visual representation of data that can easily be read by an optical barcode scanner/reader. Barcodes are used to facilitate and speed up the identification of different types of products. Using a barcode reader speed up the…