Lesson 3: File I/O — Reading from and Writing to External Files (open(), read(), write())
Use the lesson materials below in the order your teacher assigns.
File mode walkthrough, text file parsing lab, and persistent data storage exercise.
Learning materials
Key Terms — File I/O — Reading from and Writing to External Files (open(), read(), write())
Student Handout — File I/O — Reading from and Writing to External Files (open(), read(), write())
Discuss and submit in Google Classroom
Use this site to read, watch, and get shared learning materials. Keep completed work, questions, and comments in your class on Google Classroom.
Open Google ClassroomChoose your class and the assignment named by your teacher.
KDE student outcomes
Unit-level context for this lesson · Course 110201
View aligned outcomes (2)
- #6 Design and develop programs that use simple data structures.
- #9 Design and develop programs that implement file processing.
Alignment from Master Lesson Plans v3.5. These are instructional targets; completing a resource does not by itself establish mastery.