Question: For the for-yield construct, is the scope separate between for-body and yield-body?

  1. Yes and no. It is different depending on the for construct and what it does.
  2. Yes, because the for section does not expose its scope.
  3. No, because for-yield shares the same scope, even though they are within separate curly braces.
  4. Yes, because they are within different curly braces.

Answer: The correct answer of the above question is Option C:No, because for-yield shares the same scope, even though they are within separate curly braces.