幼儿园至二年级Computation计划中
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
本主题的课程尚未编写。下面的提纲是课程地图的一部分,尚未经过审校。
前置知识
没有前置要求——从这里开始吧!
你将学会
- 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.
定义
- 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.
定理
- Changing the order of the steps can change the result.
- Instructions must be precise enough to be followed without guessing.
常见误解
- Thinking a robot or computer 'knows what you mean' when instructions are vague.
- Believing there is only one correct algorithm for a task.
通向
可选发现
- One thing after another A list of instructions is a chain of actions carried out one after another.
延伸阅读
- Tim Bell, Ian H. Witten and Mike Fellows, Computer Science Unplugged