logo

Question detail

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

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

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

Model answer

What a good answer should say

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

Explanation

Why this works

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

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.