Programming - Data structures

Cards (11)

  • Arrays are homogenous, static, and ordered
  • Lists are assigned [] and tuples are assigned with ()
  • Static data strucutures use less processing power and memory why?
    No need for pointer and processing is simpler
  • When using a 2d array what is the format of index of a specific elemnt use 5th array 5th position?
    [5,5]
  • are lists homogenous?

    no
  • Are tuples homogenous?
    no
  • Dynamic data structures are better than static strucutres for some purposes as?
    They can have more elements added to them
  • Are arrays immutable?
    no
  • Are tuples static?
    yes
  • Are tuples homogenous?

    no
  • Are tuples immutable
    yes