File handling Flashcards

1
Q

Files

A

Files allow us to store data so that it goes on even when our program isn’t running therefore allowing the programs to ‘carry on where they left off’ when they are executed

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

Binary files

A

Consist of binary data that is read and processed by specific applications

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

Text files

A

Consist of string data that can be read and processed by many applications

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

A function is a logical unit of code containing a sequence of statements indented under a name given using the…

A

“def” keyword

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