Week 17. Decision-making systems
- ◇ Write IF/THEN/ELSE rules within a sense, think, act loop.
- ◇ Read, draw and fully test flowcharts by path.
- ◇ Describe a machine as states and transitions, and spot unsafe states.
- 1IF this, THEN that: how machines decideA smart fan switches itself on when you walk into a hot room. Who told it what to do?25 min
- 2Flowcharts: drawing a decisionEngineers often draw a machine's 'brain' before writing a single line of code. What does that drawing look like?30 min
- 3Machines that remember: states and sequencesA traffic light is green. What colour comes next? The light itself has to remember where it is in the cycle. How?30 min