logo

Learning objective

Function application: Know that function application means a function applied to its arguments. The process of giving particular inputs to a function is called function application, for example add(3,4) represents the application of the function add to integer arguments 3 and 4. The type of the function is f: integer x integer → integer where integer x integer is the Cartesian product of the set integer with itself. Although we would say that function f takes two arguments, in fact it takes only one argument, which is a pair, for example (3,4).

Read the explanation, check the common trap, then practise with flashcards and questions.

Exam focus

  • Read the explanation.
  • Check key terms.
  • Practise with linked questions.
Aqa A Level Computer ScienceFundamentals of functional programming

Study support

Understand this objective

Quick explanation

Function application: Know that function application means a function applied to its arguments. The process of giving particular inputs to a function is called function application, for example add(3,4) represents the application of the function add to integer arguments 3 and 4. The type of the function is f: integer x integer → integer where integer x integer is the Cartesian product of the set integer with itself. Although we would say that function f takes two arguments, in fact it takes only one argument, which is a pair, for example (3,4)

  • This point belongs to Functional programming paradigm, especially Function application.
  • You need to be able to function application: Know that function application means a function applied to its arguments. The process of giving particular inputs to a function is called function application, for example add(3,4) represents the application of the function add to integer arguments 3 and 4. The type of the function is f: integer x integer → integer where integer x integer is the Cartesian product of the set integer with itself. Although we would say that function f takes two arguments, in fact it takes only one argument, which is a pair, for example (3,4).
  • Use the linked flashcards and practice questions to check recall, then practise applying the idea in an exam-style answer.

Why it matters

This objective helps connect Function application to exam-style questions, flashcards, and revision notes for Functional programming paradigm.

Quick student answer

What does add(3,4) represent?

Direct answer

The application of add to the integer arguments 3 and 4

Key terms

  • Function application: The process of giving particular inputs to a function.
  • Cartesian product: The product of two sets; integer x integer is the Cartesian product of the set integer with itself and represents pairs of integers.

Common trap

Treating the inputs as unrelated arguments: Although it is commonly described as taking two arguments, it takes one argument: a pair of integers such as (3,4).

Related questions

Try this as a practice card

4 linked

Question 1 of 4

Choose an answer, get feedback, then move sideways through the set.

0 of 4 attempted

Flashcard prompts

Flip through the key recall cards

4 cards

Flashcard 1 of 4

Press Space to flip, arrows to move

Revision tools

Choose how to practise

Back to topic hub
Flashcards0 linked cards
No objective-specific flashcards are available for this page yet. Use the topic hub to revise the wider set of flashcards for this topic.Open topic hub
Practice Questions0 linked questions
No objective-specific practice questions are available for this page yet. Use the topic question bank to practise related syllabus questions.Open topic questions

Related learning objectives

Revision hubs

Move back to a broader study route