Skip to main content
Engineering LibreTexts

11.9: Glossary

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

    A relationship in which each element of one set corresponds to an element of another set.
    A mapping from keys to their corresponding values.
    key-value pair:
    The representation of the mapping from a key to a value.
    In a dictionary, another name for a key-value pair.
    An object that appears in a dictionary as the first part of a key-value pair.
    An object that appears in a dictionary as the second part of a key-value pair. This is more specific than our previous use of the word “value”.
    A way of performing a computation.
    The algorithm used to implement Python dictionaries.
    hash function:
    A function used by a hashtable to compute the location for a key.
    A type that has a hash function. Immutable types like integers, floats and strings are hashable; mutable types like lists and dictionaries are not.
    A dictionary operation that takes a key and finds the corresponding value.
    reverse lookup:
    A dictionary operation that takes a value and finds one or more keys that map to it.
    raise statement:
    A statement that (deliberately) raises an exception.
    A list (or other sequence) with a single element.
    call graph:
    A diagram that shows every frame created during the execution of a program, with an arrow from each caller to each callee.
    A computed value stored to avoid unnecessary future computation.
    global variable:
    A variable defined outside a function. Global variables can be accessed from any function.
    global statement:
    A statement that declares a variable name global.
    A boolean variable used to indicate whether a condition is true.
    A statement like global that tells the interpreter something about a variable.

    This page titled 11.9: Glossary is shared under a CC BY-NC 3.0 license and was authored, remixed, and/or curated by Allen B. Downey (Green Tea Press) via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.

    • Was this article helpful?