logo

AQA A-Level Computer Science practice

Given functions f: A → B and g: B → C, what is the domain of the composition g ○ f?

Try the question first, then check the answer and practise the same topic again.

At a glance

MCQ

Type

practice

Style

Topic

Functional programming paradigm

Exam-style question

Try this first

Given functions f: A → B and g: B → C, what is the domain of the composition g ○ f?.

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

Answer and explanation

Concise answer

A

Why this is correct

The composition g ○ f applies f first, so its input must come from the domain of f, which is A.

Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions