Completion Complete each
statement.
|
|
1.
|
A ____________ is a name that refers to a piece of the program’s memory,
in which a value can be stored, retrieved, and changed.
|
|
2.
|
A(n) _________ variable lets us compute and store a value within a method for
later use.
|
|
3.
|
A(n) ___________ is a type of variable that lets us write methods that are more
broadly useful.
|
|
4.
|
A(n) ____________ variable or property lets us store a characteristic of an
object.
|
|
5.
|
A(n) ________ is the value a variable will contain when the method
starts.
|
|
6.
|
A(n) ____________ is a type of variable used for storing whole numbers.
|
|
7.
|
A(n) ________ is a type of variable used for storing a sequence of
characters.
|
|
8.
|
A value that we pass to an object via a message is called a(n)
____________.
|
|
9.
|
A(n) _____________method is used to set the value of a property.
|
|
10.
|
A(n) __________ method is used to get the value of a property.
|
|
11.
|
Computer scientists often describe flow control statements as
________________.
|
|
12.
|
Decision making depends on current circumstances or conditions, so a
piece of a program that produces a true or false value is called a
____________________.
|
|
13.
|
The doInOrder and DoTogether are _____________ statements, because
their effect is to control the flow of the program through the statements within
them.
|
|
14.
|
The six most common operators that produce Boolean values are called the
_______________.
|
|
15.
|
The for statement uses a condition to direct program flow through a group of
statements ____________, a fixed number of times.
|