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:
In computer science, abstraction is a technique for managing complexity of computer systems. It works by establishing a level of complexity on which a person interacts with the system, suppressing the more complex details below the current level. In order…
The Collatz conjecture is a famous mathematical mystery that has yet to be solved. It is named after Lothar Collatz a German mathematician, who first proposed it in 1937. It is based on the following number sequence: Start with any…
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…
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…
Computers can use two types of graphics: Bitmaps: A bitmap (or raster graphic) is a digital image composed of a matrix of dots. When viewed at 100%, each dot corresponds to an individual pixel on a display. In a standard…
While programming with high-level languages such as Python, you will use four different types of operators as follows: The assignment operator ( = ) which is used to assign a value to a variable or a constant. Arithmetic operators (…
Look at the code below to draw lines of beach huts. (X,Y) Coordinates The canvas we are drawing on (using Python Turtle) is 400 pixels wide by 400 pixels high. Look at the canvas below to understand how (x,y) coordinates…
While programming with high-level languages such as Python, you will use four different types of operators as follows: The assignment operator ( = ) which is used to assign a value to a variable or a constant. Arithmetic operators (…
For this challenge we are going to create a game where the user plays against the computer. The aim of this game is to guess the name of a country. The computer will give the player clues to help them…