←

Fundamentals of functional programming

From Paper 2 (written)
6.24 marks
L = [3, 8, 1, 6]. State the result of: (a) map (*2) L, (b) filter (>5) applied to the result of (a), (c) fold (+) 0 applied to the result of (b). Explain one benefit of functional programming for Big Data.
From Paper 2 (written)
6.32 marks
A function add takes two integers and returns an integer. Write its type in the form used for functional programming and explain partial application.
Score 0 / 6 · 0 of 2 marked

This paper is written by Plasmo in the style of the AQA A-Level Computer Science exam. It is not a past paper and is not produced or endorsed by the exam board.

Fundamentals of functional programming Exam Questions: AQA A-Level Computer Science | Plasmo