files / records Flashcards

1
Q

how to stored data in a file

A

combine data items to form a single string
store each group of items on a seperate line
seperate data items using a special character

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

how files save time

A

write data to a file then close the file
when the computer is turned off the data is retained and saved
the next day data can be read from the file and doesnt have to be re entered

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

read each line of a file

A

WHILE NOT EOF <filename> DO
READLINE "filename", ThisLine</filename>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly