• Home
  • basic
  • loops
  • while loops
  • if statements
  • variables
  • functions
  • arrays

TASK

​Place your turtle on the starting point and program your turtle to reach the end of the path destroying obstacles and creating bridges while using variables to do so


DEFINITION

​A variable in computer programming is a letter based file which stores information for the user to retrieve at any given moment to simplify the code being used.

If you refer back to “loops” the basis of the code was “for 1 , num do”.

Variables are extremely similar and are like so

eg:
“for a = 1 , num do”. “a =” means that the numbers that follow will be known simply as “a” and can be called whenever they’re needed

​Try to include variables into your “loops” and “if statements” to complete the course


VARIABLES - MINECRAFT WORLD EXAMPLE VIDEO


MAP

Picture

Minecraft Turtle Codes

Picture

AC DIGITAL

Proudly powered by Weebly
  • Home
  • basic
  • loops
  • while loops
  • if statements
  • variables
  • functions
  • arrays