Turning an Algorithm into an App (1/2)

Computing: Year 5 & 6 National Curriculum, topic 4.1.5

Turning an Algorithm into an App

You can use a coding program to turn your algorithm into an app. You can make an app from an algorithm by following these steps:

Create the background

Create the background

  • Start by creating a background for your app.
Create the moving objects

Create the moving objects

  • Create the moving objects.
  • In the basketball game, the moving objects are the ball and the hand.
  • Moving objects can also be called 'sprites'.
Name the moving objects

Name the moving objects

  • Name the moving objects so you can give each one different blocks of code.
  • You need to name them, so the algorithm knows which parts to use.
Make the ball move and bounce

Make the ball move and bounce

  • Make the ball move and bounce off the red and blue blocks and the walls.
  • Blocks of code that make objects or sprites move are called 'movement blocks'.

Test yourself on Turning an Algorithm into an App (1/2)

  • What is the name of a block of code that creates movement in objects or sprites?

  • What should be the first step for making an app from an algorithm?

  • Why should you name the moving objects?

  • What is another name for a moving object in coding?

Practise this topic for free