Lite / Building Machines That Respond / Week 9
Week 9: Programming project
This week you will
- Plan, write and test a small program that processes a log of sensor readings and reports a decision.
- Explain the program's structure, its tests and one bug found and fixed.
Lessons
- Plan the sensor-log checker · about 45 min
You have one day's temperature log from a machine and one question: does it need an inspection? What is your plan before you type a line? - Build it, test it, break it · about 60 min
Your checker says OK for the real log. Will it still say the right thing when the logger glitches, the file is empty, or a reading is exactly 60.0?