Sequencing - 101 Computing https://www.101computing.net Boost Your Programming Skills! Fri, 28 Feb 2025 11:56:31 +0000 en-US hourly 1 https://www.101computing.net/wp/wp-content/uploads/cropped-android-chrome-512x512-1-32x32.png Sequencing - 101 Computing https://www.101computing.net 32 32 The commuter’s puzzle https://www.101computing.net/to-the-moon-and-back/ Thu, 05 Nov 2020 11:12:03 +0000 https://www.101computing.net/?p=11380 Yuri lives in Oxford, UK and commutes by train to his work place in London every working day of the week (5 days a week). One evening, Yuri spot the Moon through the train window and asked himself the following

The post The commuter’s puzzle first appeared on 101 Computing.

]]>
Mission Alpha-Centauri https://www.101computing.net/mission-alpha-centauri/ Fri, 30 Oct 2020 10:10:47 +0000 https://www.101computing.net/?p=11366 Did you know that Alpha-Centauri is the second nearest star to planet Earth, the first one being the Sun. It is 4.2 light-years away from us! When astronomers measure the distance of stars (from planet Earth) they do not use

The post Mission Alpha-Centauri first appeared on 101 Computing.

]]>
What if planet Earth was made of Lego? https://www.101computing.net/what-if-planet-earth-was-made-of-lego/ Mon, 26 Oct 2020 15:35:44 +0000 https://www.101computing.net/?p=11332 In this blog post we will use a Python script to work out how many lego bricks would be needed to build planet Earth! To solve our problem we will use the following data: We will work out the number

The post What if planet Earth was made of Lego? first appeared on 101 Computing.

]]>
Thank You Medical Staff and Key Workers! https://www.101computing.net/thank-you-medical-staff-and-key-workers/ Thu, 07 May 2020 10:06:21 +0000 https://www.101computing.net/?p=11006 During the coronavirus pandemic, the rainbow has become a symbol of gratitude for the medical staff working in hospitals as well as all the other key workers who carried on working to provide essential services to their community. All over

The post Thank You Medical Staff and Key Workers! first appeared on 101 Computing.

]]>
Magic Trick Algorithm https://www.101computing.net/magic-trick-algorithm/ Fri, 24 Apr 2020 08:19:33 +0000 https://www.101computing.net/?p=10926 In this blog post we are investigating whether we can teach a computer how to perform a magic trick. Algorithm If you want a computer to perform a specific task you need to provide this computer with a clear set

The post Magic Trick Algorithm first appeared on 101 Computing.

]]>
Stopping Distance Calculator https://www.101computing.net/stopping-distance-calculator/ Sun, 21 Apr 2019 13:49:23 +0000 https://www.101computing.net/?p=8792 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

The post Stopping Distance Calculator first appeared on 101 Computing.

]]>
Complementary Colours Algorithm https://www.101computing.net/complementary-colours-algorithm/ Fri, 05 Apr 2019 11:25:33 +0000 https://www.101computing.net/?p=8702 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

The post Complementary Colours Algorithm first appeared on 101 Computing.

]]>
ASCII-Bot Challenge https://www.101computing.net/ascii-bot-challenge/ Thu, 20 Apr 2017 18:25:06 +0000 http://www.101computing.net/?p=4416 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

The post ASCII-Bot Challenge first appeared on 101 Computing.

]]>
Python Turtle – My House https://www.101computing.net/python-turtle-my-house/ Mon, 28 Nov 2016 15:47:24 +0000 http://www.101computing.net/?p=3580 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

The post Python Turtle – My House first appeared on 101 Computing.

]]>
Marathon Time Calculator https://www.101computing.net/marathon/ Thu, 05 May 2016 19:56:53 +0000 http://www.101computing.net/?p=3062 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

The post Marathon Time Calculator first appeared on 101 Computing.

]]>