Exam-style question
Try this first
If add 4 returns a function that adds 4 to its argument, what is the result of applying that returned function to 7?.
- A.3
- B.4
- C.7
- D.11
Model answer
What a good answer should say
- 11
Explanation
Why this works
The first argument fixes the value 4. Applying the resulting function to 7 calculates 4 + 7, giving 11.
Common mistake
No common mistake is linked to this question yet.
