Test Your Knowledge: Quiz

  1. How are lambda expressions and def statements related?

  2. What’s the point of using lambda?

  3. Compare and contrast map, filter, and reduce.

  4. What are function annotations, and how are they used?

  5. What are recursive functions, and how are they used?

  6. What are some general design guidelines for coding functions?

  7. Name three or more ways that functions can communicate results to a caller.