logo

AQA A-Level Computer Science practice

Which statement correctly describes partial application of a two-argument function?

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

Which statement correctly describes partial application of a two-argument function?.

  1. A.Both arguments must be supplied before any result can be obtained
  2. B.Supplying the first argument returns a function waiting for the second argument
  3. C.Supplying the first argument always returns an integer immediately
  4. D.The function can only be used with one argument in total

Answer and explanation

Concise answer

Supplying the first argument returns a function waiting for the second argument

Why this is correct

For add, supplying the first integer produces another function. That function accepts the remaining integer and then produces the integer result.

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