Skip to main content
Library homepage
 
Engineering LibreTexts

10.11: Vocabulary

  • Page ID
    17660
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    variable:
    A named storage location for values. All variables have a type, which is declared when the variable is created.
    value:
    A number, string, or other data that can be stored in a variable. Every value belongs to a type (for example, int or String).
    declaration:
    A statement that creates a new variable and specifies its type.
    type:
    Mathematically speaking, a set of values. The type of a variable determines which values it can have.
    syntax:
    The structure of a program; the arrangement of the words and symbols it contains.
    keyword:
    A reserved word used by the compiler to analyze programs. You cannot use keywords (like public, class, and void) as variable names.
    assignment:
    A statement that gives a value to a variable.
    initialize:
    To assign a variable for the first time.
    state:
    The variables in a program and their current values.
    state diagram:
    A graphical representation of the state of a program at a point in time.
    operator:
    A symbol that represents a computation like addition, multiplication, or string concatenation.
    operand:
    One of the values on which an operator operates. Most operators in Java require two operands.
    expression:
    A combination of variables, operators, and values that represents a single value. Expressions also have types, as determined by their operators and operands.
    floating-point:
    A data type that represents numbers with an integer part and a fractional part. In Java, the default floating-point type is double.
    rounding error:
    The difference between the number we want to represent and the nearest floating-point number.
    concatenate:
    To join two values, often strings, end-to-end.
    order of operations:
    The rules that determine in what order operations are evaluated.
    composition:
    The ability to combine simple expressions and statements into compound expressions and statements.
    compile-time error:
    An error in the source code that makes it impossible to compile. Also called a “syntax error”.
    parse:
    To analyze the structure of a program; what the compiler does first.
    run-time error:
    An error in a program that makes it impossible to run to completion. Also called an “exception”.
    logic error:
    An error in a program that makes it do something other than what the programmer intended.

    This page titled 10.11: Vocabulary is shared under a CC BY-NC-SA 3.0 license and was authored, remixed, and/or curated by Allen B. Downey (Green Tea Press) .

    • Was this article helpful?