What is an algorithm Pro Preview

The set of instructions that are followed in a fixed order is called an algorithm. Here is an exemplary algorithm of a school day:

To access the full video please subscribe to FLLCasts.com

Subscribe

  • #1098
  • 20 Feb 2019

1. Preparing for school in the morning;
2. Having breakfast;
3. Going to school;
4. Having lunch;
5. Going home;
6. Doing homework;
7. Having dinner.

It doesn’t matter what we have for breakfast or how many classes we have at school. There is an algorithm in video games as well: 

1. Finding shelter;
2. Collecting resources;
3. Making instruments;
4. Finding better resources;
5. Building weapons and armory;
6. Embarking on an adventure on the map.

Again, it doesn’t matter how much time we spend on each of the steps. Bear in mind that even these steps can have algorithms of their own. For example, the “finding shelter” step can have the following sub-algorithm:

1. Checking the time until sunset;
2. Looking around for smoke in the distance showing there is a potential settlement;
3. Looking around for mountains or caves that can be used for shelter;
4. Looking for a close water source.

Courses and lessons with this Tutorial

This Tutorial is used in the following courses and lessons

Image for Robotics with LEGO - Level 3.0 - Security systems
  • 50
  • 1:03
  • 213
Image for Lesson 3 - Vault door
  • 7
  • 11
  • 11
  • 3d_rotation 1