Java Terminology Chapter 2

Card Set Information

Java Terminology Chapter 2
2012-05-07 21:18:23
Java programming vocabulary terminology Joyce Farrell

Key terms related to java programming.
Show Answers:

  1. A data item is _____ when it cannot be changed during the execution of an application.
  2. A _____ is a value that is taken literally at each use.
    literal constant
  3. A _____ is named memory location that you can use to store a value.
  4. 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.
    data type
  5. A _____ is a number whoe value is taken literally at each use.
    numeric constant
  6. A _____ is a simple data type. These are composed of byte, short, int, long, float, double, char, and boolean.
    primitive type
  7. _____ are complex data types that are constructed from primitive types.
    Reference types
  8. A _____ is a statement that reserves a named memory location.
    variable declaration
  9. A _____ is one in which all variables must be declared before they can be used.
    strongly typed language
  10. _____ is a style in which an identifier begins with a lowercase letter and subsequent words within the identifier are capitalized.
    Camel casing
  11. 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.
    assignment operator
  12. An _____ is an assignment made when you declare a variable.
  13. An _____ is the act of providing a value for a variable.
  14. _____ refers to the order in which operands are used with operators.
  15. An _____ is an expression that can appear on the left side of an assignment statement.
  16. An _____ is an expression that can appear only on the right side of an assignment statement.
  17. A _____ is the unknown value stored in an uninitialized variable.
    garbage value
  18. A _____ is a memory location whose declaration is preceded by the keyword final, and whose value cannot change during program execution.
    named constant
  19. The keyword _____ precedes named constants.
  20. A _____ is a named constant.
    symbolic constant
  21. A _____ is a final variable that has not yet been assigned a value.
    blank final
  22. 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.
    Magic number
  23. The data type _____ is used to store integers.
  24. An _____ is a whole number without decimal places.
  25. The _____ data type holds very small integers, from -128 to 127.
  26. The _____ data type holds small integers, from -32,768 to 32767.
  27. The _____ data type holds very large integers, from -9,223,372,036,854,755,808 to 9,223,372,036,854,755,807.
  28. A value can be combined with, or _____ to, another value.
  29. An empty String created by typing a set of quotes with nothing between them is called a _____.
    Null string
  30. You use _____ to perform calculations with values in your applications.
    arithmetic operators
  31. An _____ is a value used in an arithmetic statement.
  32. _____ require two operands.
    binary operators
  33. _____ is the operation in which one integer value is divided by another; the result contains no fractional part.
    Integer division
  34. 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.
    remainder operator
  35. The remainder operator is also called the _____, or sometimes just _____.
    modulus operator, or mod
  36. _____is the rules for the order in which parts of a mathematical expression are evaluated.
    Operator precedence
  37. A _____ can hold only one of two values--true or false.
  38. A _____ compares two items; an expression that contains a relational operator has a Boolean value.
    relational operator
  39. A _____ is another name for a relational operator.
    comparison operator.
  40. A _____ number contains decimal positions.
  41. A _____ data type can hold a floating-point value of up to six or seven significant digits of accuracy.
  42. A _____ data type can hold a floating-point value of up to 14 or 15 significant digits of accuracy.
  43. The term _____ refers to the mathematical accuracy of a value.
    significant digits
  44. _____ 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.
    Scientific notation
  45. A _____ is stored in a double.
    double-precision floating-point number
  46. A _____ is stored in a float.
    single-precision floating-point number
  47. A _____ is a single data type to which all operands in an expression are converted.
    unifying type
  48. An _____ is the automatic transformation of one data type to another.
    implicit conversion
  49. _____ is an implicit conversion.
  50. _____ forces a value of one data type to be used as a value of another type.
    Type casting
  51. A _____ performs an explicit-type conversion; it is created by placing the desired result type in parentheses before the expression to be converted.
    cast operator
  52. An _____ is the data-type transformation caused using a cast operator
    explicit conversion
  53. The _____ is a more complex name for the cast operator that performs explicit conversions.
    unary cast operator
  54. A _____ uses only one operand.
  55. The _____ data type is used to hold any single character.
  56. _____ is a built-in Java class that provides you with the means for storing and manipulating character strings.
  57. An _____ begins with a backslash followed by a character, the pair represents a single character.
    escape sequence
  58. The _____ normally is the keyboard.
    standard input device
  59. A _____ is a unit of data; the Scanner class separates input into tokens.
  60. A _____ is a message that requests and describes user input.
  61. _____ means to repeat the user's entry as output so the user can visually confirm the entry's accuracy.
    Echoing the inpu
  62. The _____ is a small area of memory where keystrokes are stored before they are retrieved into a program.
    keyboard buffer
  63. The _____ is the keyboard buffer.
    type-ahead buffer
  64. To _____ an entry is to retrieve and discard it without using it.
  65. An _____ asks a question and provides a text field in which the user can enter a response.
    input dialog box
  66. You can create an input dialog box using the "_____".
  67. _____ contained in the java.lang package, include methods that can process primitive-type values.
    Type-wrapper classes
  68. To _____ means to break into component parts.
  69. A _____ displays the options Yes, No, and Cancel; you can create one using the showConfirmDialog()method in the JOptionPane class.
    confirm dialog box