Return to Video

Unplugged - Real Life Algorithms - Dice Game

  • 0:05 - 0:13
    This lesson is called dice race. Almost everyone
    likes to play computer games. Have you ever
  • 0:13 - 0:18
    thought about how computer programmers turn
    the steps of a game into a program? The first
  • 0:18 - 0:24
    step in creating computer games and in solving
    any problem requires thinking and planning.
  • 0:24 - 0:29
    The thinking step of problem solving produces
    an algorithm, which is a step by step plan
  • 0:29 - 0:35
    for solving a problem or finishing a task.
    In this lesson, you'll create an algorithm
  • 0:35 - 0:42
    for a dice race game. Then you'll ask your
    friends to try out your plan to see if they
  • 0:42 - 0:47
    can follow the steps to play the game. After
    the programmer is sure the steps are correct,
  • 0:47 - 0:52
    it's time to translate the algorithm into
    a program with language that the computer
  • 0:52 - 0:59
    can understand. Almost everything we do every
    day requires an algorithm, a list of steps
  • 0:59 - 1:04
    you can follow to finish a task. Think about
    getting ready for school or planning a fun
  • 1:04 - 1:10
    day with your friends or fixing a snack. To
    complete any of those tasks, you'll need to
  • 1:10 - 1:16
    break it down into smaller steps and sometimes
    the steps must be in a specific order. Think
  • 1:16 - 1:21
    about making a sandwich. It doesn't matter
    which ingredient you get out of the cabinet
  • 1:21 - 1:26
    first. But you can't spread the peanut butter
    until you open the jar. Computers need algorithms
  • 1:26 - 1:32
    and programs to show them how to do even simple
    things that we can do without thinking about
  • 1:32 - 1:38
    it. An algorithm is the thinking behind what
    needs to happen while the program is the actual
  • 1:38 - 1:45
    instructions given to the computer to make
    it happen. An algorithm has to be translated
  • 1:45 - 1:51
    into a program before a computer can run it.
    Breaking a task into steps called an algorithm
  • 1:51 - 1:57
    is sometimes difficult. But like any new skill,
    it gets easier and easier with practice.
Title:
Unplugged - Real Life Algorithms - Dice Game
Video Language:
English
Duration:
01:59

English subtitles

Revisions