(PSEUDOCODE) Open a file named Activefile.txt for read/write/append
OPENFILE “ActiveFile.txt” FOR READ/WRITE/APPEND
(PSEUDOCODE)Close a file named Activefile.txt
CLOSEFILE “ActiveFile.txt”
(PSEUDOCODE)How to iterate through a file
WHILE NOT EOF(“File.txt”) DO
(PSEUDOCODE)Write to a file or read from a file
WRITEFILE “File.txt”, Line
READFILE “File.txt”, Line
(PSEUDOCODE) Declare constant, “MaxSize”, that is equal to 60.
CONSTANT MaxSize = 60
(PSEUDOCODE) Declare variable, “Length”, type integer(date, string, char, real, boolean).
DECLARE Length : INTEGER
(PSEUDOCODE)Declare an array named Queue of type integer that can have up to 60 items.
DECLARE Queue : ARRAY[1:60] OF INTEGER