2: Chapter 6 Flashcards

1
Q

File

A

A collection of information that is stored on a computer and assigned a particular name.

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

Checked exception

A

An exception that must be caught or specifically declared in the header of the method that might generate it.

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

throws clause

A

A declaration that a method will not attempt to handle a particular type of exception.

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

Token-based processing

A

Processing input token by token (i.e. one word at a time or one number at a time).

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

Input cursor

A

A pointer to the current position in an input file.

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

Consuming input

A

Moving the input cursor forward past some input.

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

File path

A

A description of a file’s location on a computer, starting with a drive and including the path from the root directory to the directory where the file is stored.

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

Current directory (aka working directory)

A

The directory that Java uses as the default when a program uses a simple file name.

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

Line-based processing

A

The practice of processing input line by line (i.e. reading in entire lines of input at a time).

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

Boilerplate code

A

Code that tends to be the same from one program to another.

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