Skip to main content
Engineering LibreTexts

13.11: Vocabulary

  • Page ID
    18825
  • \( \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}}\)

    boolean:
    A data type with only two values, true and false.
    relational operator:
    An operator that compares two values and produces a boolean indicating the relationship between them.
    logical operator:
    An operator that combines boolean values and produces a boolean value.
    short circuit:
    A way of evaluating logical operators that only evaluates the second operand if necessary.
    De Morgan’s laws:
    Mathematical rules that show how to negate a logical expression.
    conditional statement:
    A statement that uses a condition to determine which statements to execute.
    branch:
    One of the alternative sets of statements inside a conditional statement.
    chaining:
    A way of joining several conditional statements in sequence.
    nesting:
    Putting a conditional statement inside one or both branches of another conditional statement.
    flag:
    A variable (usually boolean) that represents a condition or status.
    recursion:
    The process of invoking (and restarting) the same method that is currently executing.
    recursive:
    A method that invokes itself, usually with different arguments.
    base case:
    A condition that causes a recursive method not to make another recursive call.
    binary:
    A system that uses only zeros and ones to represent numbers. Also known as “base 2”.

    13.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?