logo

Question detail

If f: A → B and g: B → C, what is the co-domain of g ○ f?

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

If f: A → B and g: B → C, what is the co-domain of g ○ f?.

  1. A.A
  2. B.B
  3. C.C
  4. D.B → C

Model answer

What a good answer should say

  • C

Explanation

Why this works

The composition starts with an input from A and produces the final output of g, whose co-domain is C. Therefore, g ○ f has co-domain C.

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.