Ruka hadi maudhui
The Lumenary
Chekechea–Darasa la 2ComputationImepangwa

Following and giving precise instructions

Algorithms as step-by-step instructions: following directions on a grid, giving instructions to a friend or a floor robot, and finding and fixing mistakes ('bugs') in a sequence of steps.

math.comp.following-instructions

Somo la mada hii bado halijaandikwa. Muhtasari ulio hapa chini ni sehemu ya ramani ya mtaala na haujakaguliwa.

Inajengwa juu ya

Hakuna masharti ya awali — anza hapa!

Utajifunza

  • Follow a sequence of movement instructions on a grid and predict where it ends.
  • Write a sequence of instructions to reach a target, and test it.
  • Find and fix a mistake in a sequence of instructions.

Fasili

  • An algorithm is a precise list of steps that can be followed to complete a task.
  • A bug is a mistake in an algorithm that makes it do something unintended.

Nadharia

  • Changing the order of the steps can change the result.
  • Instructions must be precise enough to be followed without guessing.

Mawazo potofu ya kawaida

  • Thinking a robot or computer 'knows what you mean' when instructions are vague.
  • Believing there is only one correct algorithm for a task.

Inaelekea kwa

Ugunduzi wa hiari

Usomaji zaidi

  • Tim Bell, Ian H. Witten and Mike Fellows, Computer Science Unplugged