Open, Read, Write and Close work with text files kept with the algorithm. EOF() tells when a file has no more lines.

Algorithm Grades

Student
  1. Run the algorithm: it reads grades.txt to its end and writes result.txt.
  2. Open the Files tab: see grades.txt, change a grade, run again. The file result.txt appears there and can be downloaded.
Teacher
  1. In the editor the Files panel adds, edits and deletes the files of the algorithm.
  2. In a quiz question the answer is graded with the files of the solution, so a task can say "read the numbers from data.txt".