logo

AQA A-Level Computer Science practice

For a function f: A → B, what does A represent?

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

For a function f: A → B, what does A represent?.

  1. A.The result type
  2. B.The domain
  3. C.The co-domain
  4. D.The rule used by the function

Answer and explanation

Concise answer

The domain

Why this is correct

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.

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