File Access Modes Flashcards

1
Q

Opens a file for reading only

A

r

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

Opens a file in binary format

A

b

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

Opens a file for appending; if the file does not exist, it creates a new file

A

a

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

Opens a file for writing only and overwrites the existing file

A

w

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

Adds a read or write operation depending on the one selected

A

+

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