Java Terminology Chapter 2
Card Set Information
Java Terminology Chapter 2
Java programming vocabulary terminology Joyce Farrell
Key terms related to java programming.
A data item is _____ when it cannot be changed during the execution of an application.
A _____ is a value that is taken literally at each use.
A _____ is named memory location that you can use to store a value.
An item's _____ describes the type of data that can be stored there, how much memory the item occupies, and what types of operations can be performed on the data.
A _____ is a number whoe value is taken literally at each use.
A _____ is a simple data type. These are composed of
byte, short, int, long, float, double, char, and boolean.
_____ are complex data types that are constructed from primitive types.
A _____ is a statement that reserves a named memory location.
A _____ is one in which all variables must be declared before they can be used.
strongly typed language
_____ is a style in which an identifier begins with a lowercase letter and subsequent words within the identifier are capitalized.
The _____ is theequal sign (=); any value to the right of the equal sign is assigned to the variable on the left of the equal sign.
An _____ is an assignment made when you declare a variable.
An _____ is the act of providing a value for a variable.
_____ refers to the order in which operands are used with operators.
An _____ is an expression that
appear on the left side of an assignment statement.
An _____ is an expression that can appear
on the right side of an assignment statement.
A _____ is the unknown value stored in an uninitialized variable.
A _____ is a memory location whose declaration is preceded by the keyword
, and whose value cannot change during program execution.
precedes named constants.
A _____ is a named constant.
A _____ is a
variable that has not yet been assigned a value.
A _____ is a value that does not have immediate, intuitive meaning or a number that cannot be explained without additional knowledge. Unnamed constants are also considered examples of these.
The data type _____ is used to store integers.
An _____ is a whole number without decimal places.
The _____ data type holds very small integers, from -128 to 127.
The _____ data type holds small integers, from -32,768 to 32767.
The _____ data type holds very large integers, from -9,223,372,036,854,755,808 to 9,223,372,036,854,755,807.
A value can be combined with, or _____ to, another value.
created by typing a set of quotes with nothing between them is called a _____.
You use _____ to perform calculations with values in your applications.
An _____ is a value used in an arithmetic statement.
_____ require two operands.
_____ is the operation in which one integer value is divided by another; the result contains no fractional part.
The _____ is the percent sign; when it is used with two integers, the result is an integer with the value of the remainder after division takes place.
The remainder operator is also called the _____, or sometimes just _____.
modulus operator, or mod
_____is the rules for the order in which parts of a mathematical expression are evaluated.
A _____ can hold only one of two values--
A _____ compares two items; an expression that contains a relational operator has a Boolean value.
A _____ is another name for a relational operator.
A _____ number contains decimal positions.
A _____ data type can hold a floating-point value of up to six or seven significant digits of accuracy.
A _____ data type can hold a floating-point value of up to 14 or 15 significant digits of accuracy.
The term _____ refers to the mathematical accuracy of a value.
_____ is a display format that more conveniently expresses large or small numeric values; a multidigit number is converted to a single-digit number and multiplied by 10 to a power.
A _____ is stored in a
double-precision floating-point number
A _____ is stored in a
single-precision floating-point number
A _____ is a single data type to which all operands in an expression are converted.
An _____ is the automatic transformation of one data type to another.
_____ is an implicit conversion.
_____ forces a value of one data type to be used as a value of another type.
A _____ performs an explicit-type conversion; it is created by placing the desired result type in parentheses before the expression to be converted.
An _____ is the data-type transformation caused using a cast operator
The _____ is a more complex name for the cast operator that performs explicit conversions.
unary cast operator
A _____ uses only one operand.
The _____ data type is used to hold any single character.
_____ is a built-in Java class that provides you with the means for storing and manipulating character strings.
An _____ begins with a backslash followed by a character, the pair represents a single character.
The _____ normally is the keyboard.
standard input device
A _____ is a unit of data; the
class separates input into tokens.
A _____ is a message that requests and describes user input.
_____ means to repeat the user's entry as output so the user can visually confirm the entry's accuracy.
Echoing the inpu
The _____ is a small area of memory where keystrokes are stored before they are retrieved into a program.
The _____ is the keyboard buffer.
To _____ an entry is to retrieve and discard it without using it.
An _____ asks a question and provides a text field in which the user can enter a response.
input dialog box
You can create an input dialog box using the "_____".
_____ contained in the
package, include methods that can process primitive-type values.
To _____ means to break into component parts.
A _____ displays the options Yes, No, and Cancel; you can create one using the
confirm dialog box