logo

AQA A-Level Computer Science practice

What does add(3,4) 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

What does add(3,4) represent?.

  1. A.The declaration of a function called add
  2. B.The application of add to the integer arguments 3 and 4
  3. C.The definition of a new integer type
  4. D.The Cartesian product of two functions

Answer and explanation

Concise answer

The application of add to the integer arguments 3 and 4

Why this is correct

Function application is the process of giving particular inputs to a function. In add(3,4), the function add is applied to 3 and 4.

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