logo

Question detail

In the function type f: A → B, what does B represent?

Try the question, check the answer, then read the explanation to understand the curriculum point.

At a glance

MCQ

Type

practice

Style

Topic

Functional programming paradigm

Exam-style question

Try this first

In the function type f: A → B, what does B represent?.

  1. A.The set from which input values are chosen
  2. B.The function name
  3. C.The co-domain and result type
  4. D.The number of inputs

Model answer

What a good answer should say

  • The co-domain and result type

Explanation

Why this works

B is the result type and is called the co-domain. Function outputs are chosen from this set.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions

No questions are published for this page yet.