Records and files Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What steps does reading from and writing to file require

A

Open the file
Read from, or write to, the file
Close the file

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

What is a record

A

A data structure consisting of a number of fields which can all be of different types
We can define what the structure looks like and then define variables with this structure

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

What is a field

A

A single item of data in a record

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

What is a file

A

Able to store a collection of records

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

How do text fields look on a file

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