logo

AQA A-Level Computer Science practice

Which statement best describes a function written as ℕ → ℕ?

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

At a glance

MCQ

Type

practice

Style

Topic

Classification of algorithms

Exam-style question

Try this first

Which statement best describes a function written as ℕ → ℕ?.

  1. A.It maps values from the natural numbers to values from the natural numbers
  2. B.It maps values from the natural numbers to any real number
  3. C.It maps values from the co-domain to the domain
  4. D.It maps only negative integers to positive integers

Answer and explanation

Concise answer

It maps values from the natural numbers to values from the natural numbers

Why this is correct

The notation ℕ → ℕ indicates that the domain is the natural numbers and the co-domain is also the natural numbers.

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