Skip to main content
Engineering LibreTexts

15.8: Vocabulary

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

    iteration:
    Executing a sequence of statements repeatedly.
    loop:
    A statement that executes a sequence of statements repeatedly.
    loop body:
    The statements inside the loop.
    infinite loop:
    A loop whose condition is always true.
    program development:
    A process for writing programs. So far we have seen “incremental development” and “encapsulation and generalization”.
    encapsulate:
    To wrap a sequence of statements in a method.
    generalize:
    To replace something unnecessarily specific (like a constant value) with something appropriately general (like a variable or parameter).
    loop variable:
    A variable that is initialized, tested, and updated in order to control a loop.
    increment:
    Increase the value of a variable.
    decrement:
    Decrease the value of a variable.
    pretest loop:
    A loop that tests the condition before each iteration.
    posttest loop:
    A loop that tests the condition after each iteration.

    This page titled 15.8: 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?