Big idea. Real data lives in files, and a program must read it carefully, check it and never destroy the original.
Outcomes served. O4 and O6 (handle data in files and keep it safe).
Plan your six hours
| Part | Minutes |
|---|---|
| Opener and orientation (this page) | 15 |
| M6.L1 Reading and writing | 55 |
| M6.L2 Parsing lines | 50 |
| M6.L3 CSV files | 50 |
| M6.L4 Safe handling | 50 |
| Practice set | 35 |
| Lab: Trace, repair and write | 50 |
| Mastery checkpoint | 30 |
| Discussion prompt and recap | 25 |
| Total | 360 (6 hours) |
Assumed. Modules 1 to 5: variables, decisions, loops, collections and functions.
Where this topic appears in practice. A sales list, a class register and a stock count all arrive as files. This module shows how a program reads them, checks them and reports results safely.
Privacy. Your answers stay with you. This course does not store, collect or send anything you write or tick.