Exam-style question
Try this first
For a function f: A → B, what does A represent?.
- A.The result type
- B.The domain
- C.The co-domain
- D.The rule used by the function
Model answer
What a good answer should say
- The domain
Explanation
Why this works
In the function type f: A → B, A is the argument type and is called the domain. It is the set from which input values are chosen.
Common mistake
No common mistake is linked to this question yet.
