4.1.5

Turning an Algorithm into an App (1/2)

Test yourself

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:

Illustrative background for Create the backgroundIllustrative background for Create the background ?? "content

Create the background

  • Start by creating a background for your app.
Illustrative background for Create the moving objectsIllustrative background for Create the moving objects ?? "content

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'.
Illustrative background for Name the moving objectsIllustrative background for Name the moving objects ?? "content

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.
Illustrative background for Make the ball move and bounceIllustrative background for Make the ball move and bounce ?? "content

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'.

Jump to other topics

Unlock your full potential with Seneca Premium

  • Unlimited access to 10,000+ open-ended exam questions

  • Mini-mock exams based on your study history

  • Unlock 800+ premium courses & e-books

Get started with Seneca Premium