Skip to main content
Engineering LibreTexts

3.11: Vocabulary

  • Page ID
  • encode:
    To represent one set of values using another set of values, by constructing a mapping between them.
    class variable:
    A variable declared within a class as static. There is only one copy of a class variable, no matter how many objects there are.
    sequential search:
    An algorithm that searches array elements, one by one, until a target value is found.
    binary search:
    An algorithm that searches a sorted array by starting in the middle, comparing and element to the target, and eliminating half of the remaining elements.
    • Was this article helpful?