Question: If you iterate over a map in a for range loop, in which order will the key:value pairs be accessed?

  1. in pseudo-random order that cannot be predicted
  2. in reverse order of how they were added, last in first out
  3. sorted by key in ascending order
  4. in the order they were added, first in first out

Answer: The correct answer of the above question is Option A:in pseudo-random order that cannot be predicted