File Handling Flashcards
1
Q
Explain Write Function
A
writes the data stored in your program into a file to be stored
overwrite any data saved
takes 1 parameter so multiple variables will need to be saved into an array
2
Q
Explain Read functions
A
reads data from a text or csv file so the data can be used in your program
Variables will need to be created to store the information you have retrieved
3
Q
Explain Append function
A
writes to data stored in your program into a file, instead of
replacing existing data in the file it adds a new row.
4
Q
Explain Open function
A
the open function opens an existing file or if an existing file name does not exist it will create a new file