Chapter 14 Flashcards

1
Q

persistent

A

pertaining to a program that runs indefinitely and keeps at least some of its data in permanent storage.

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

format operator

A

an operator, %, that takes a format string and a tuple and generates a string that includes the elements of the tuple formatted as specified by the format string.

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

format string

A

a string, used with the format operator, that contains format sequences.

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

format sequence

A

a sequence of characters in a format string, like %d, that specifies how a value should be formatted.

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

text file

A

a sequence of characters stored in permanent storage like a hard drive.

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

directory

A

a named collection of files, also called a folder.

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

path

A

a string that identifies a file

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

relative path

A

a path that starts from the current directory.

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

absolute path

A

a path that starts from the topmost directory in the file system

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

catch

A

to prevent an exception from terminating a program using the try and except statements.

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

database

A

a file whose contents are organized like a dictionary with keys that correspond to values.

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