Unit 6: lists and stuff

Cards (7)

  • data abstraction: manage complexity in programs by giving a collection of data a name without referencing the specific details of the representation
  • element: an individual value in a list that is assigned a unique index
  • Index: a common method of referencing the elements in a list or string using numbers
  • List: an ordered collection of elements
  • iteration: a repetitive portion of an algorithm that repeats a specified number of times or until a given condition is met.
  • infinite loop: occurs when the ending condition will never evaluate to true. In other words, the boolean expression will never evaluate to false
  • traversal: the process of accessing each item in a list one at a time