AQA A Level Computer Science (7517)

4.12: Fundamentals of Functional Programming: revision quiz and key terms

Free practice for 4.12: Fundamentals of Functional Programming in AQA A Level Computer Science (7517). It has 7 parts, listed below. Try the questions, then check the key terms.

Try 5 free questions

No sign-in needed. Tap an answer to check it.

Question 1 · Multiple choice

What is the tail of the list [4, 7, 9]?

Question 2 · True or false?

Partial function application means supplying only some of a function's arguments, producing a new function as a result.

Question 3 · Multiple choice

Which higher-order function applies a given function to every element of a list and returns a list of the results?

Question 4 · True or false?

In the composition g ∘ f, g is applied first.

Question 5 · Multiple choice

If f(x) = x + 1 and g(x) = 2x, what is (g ∘ f)(3)?

In RADevo, this topic has fill-in-the-blank, matching, multiple-choice and true or false activities, and every question you get wrong comes back in Revise today until you've learnt it.

Key terms for 4.12: Fundamentals of Functional Programming

Empty list
A list containing no elements at all.
Filter
A higher-order function that returns the elements of a list that satisfy a condition.
First-class object
An object that can be passed as an argument, returned from a function and assigned to a variable.
Head
The first element of a list.
Higher-order function
A function that takes a function as an argument or returns a function as its result.
Map
A higher-order function that applies a function to every element of a list.
Reduce (or fold)
Reduces a list of values to a single value by repeatedly applying a combining function.
Tail
The list that remains after the first element has been removed.

What 4.12: Fundamentals of Functional Programming covers

In RADevo this topic has a full topic test and a focused quiz for each part:

Teaching AQA A Level Computer Science (7517)?

Set this topic as homework in two clicks, see who has done it and which questions your class got wrong, and start every lesson with a Do Now built from their mistakes.

Start a free 2-week trial

Revising for this?

If your school uses RADevo, sign in to do the full quizzes and keep your progress. If it doesn't, show this page to your Computing teacher.

Log in to RADevo