Student Handout — File I/O — Reading from and Writing to External Files (open(), read(), write())
Course 3: Introduction to Programming / Unit 6: Data Structures & File Processing (File I/O) / Lesson 3: File I/O — Reading from and Writing to External Files (open(), read(), write())
File I/O & Data Persistence Guide.
Name: ____________________ Date: ____________________
Explore and practice
File mode walkthrough, text file parsing lab, and persistent data storage exercise.
Record your work
Describe what you tried, show your work or attach your artifact, and explain what your evidence demonstrates.
________________________________________________________________
________________________________________________________________
________________________________________________________________
Use the vocabulary
File I/O, open(), read(), write(), File Mode ('r', 'w', 'a'), with Statement, Text File, Persistent Storage, File Pointer, File Closing
Use relevant terms above to explain one part of your work.
Check and reflect
- I completed the assigned activity and recorded my work.
- I used lesson vocabulary accurately.
- I can explain one thing I learned and one question I still have.