Doss Academy
Skip to learning content

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.

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 Classroom

Choose 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.