Video Title: Specification Topic:
AQA A’Level Functional Programming 4.12.1
Questions Notes
1. What are main Big Data and Functional Programming:
features of functional -When data volumes are so large the processing of the data sets must
programming? be distrusted across more than one machine.
-This can present a unique problem when analysing it using the
2. What is a first-class Traditional programming methods.
object? -One solution is functional programming.
3. Describe and explain
one benefit of
functional
programming.
Basics of Functional Programming:
-A programming paradigm is a style or way of computer programming
-Different languages support writing programs in different ways.
-Four Major Paradigms are Procedural, Object-Oriented, Declarative
And Functional.
-Main Features:
--Functions are used as the fundamental building blocks.
--Statements are written as a series of functions.
--Each accepts input data as arguments and returns an output.
--Statelessness and Immutability.
-This results in code that is much easier to write correctly to
Understand and easier to predict.
-This aids in writing programs that can handle and take advantage of
Parallel programming.
Functions:
-A function is a rule that, for each element in some set A of
inputs, assigns an output chosen from set B, but without
necessarily using every member of B.
-An argument is a piece of data passed to a function it could be a
number, a character or any other data type.
-Functions are said to be applied to their arguments, creating the
return value.
-Functions will specify what data type is required for the argument.
Key Terms
Big Data Programming Paradigm
Statelessness Immutability
High-Order Functions Function
Argument First-order Function