Return to Video

Course 1 - Maze Loops

  • 0:00 - 0:05
    One thing that computers are really good at
    is repeating commands. As a person, you'd
  • 0:05 - 0:10
    get really bored if you had to do the same
    thing lots of times in a row. But a computer
  • 0:10 - 0:14
    can do the same thing millions or even billions
    of times and not get bored, and be able to
  • 0:14 - 0:19
    carry that out really well. For example, if
    I wanted to wish everyone on Facebook a Happy
  • 0:19 - 0:24
    Birthday by sending them an email, it might
    take me more than a century to actually write
  • 0:24 - 0:29
    out all of those emails to everyone. But with
    just a few lines of code I can have a system
  • 0:29 - 0:33
    send an email to everyone on Facebook wishing
    them a Happy Birthday. So that's what loops
  • 0:33 - 0:38
    are and why they're valuable, and something
    that computers can do very well. To get the
  • 0:38 - 0:43
    bird to the pig in this level... rather than
    drag three North blocks on to the workspace,
  • 0:43 - 0:48
    you will use the "repeat" block. Drag the
    "repeat" block on to the workspace and enter
  • 0:48 - 0:56
    the number 3. Then drag the "move North" block
    into the "repeat" block and hit "Run" to see
  • 0:56 - 1:00
    if you got it right. Congratulations, you
    got it!
Title:
Course 1 - Maze Loops
Video Language:
English
Duration:
01:04

English subtitles

Revisions