0% found this document useful (0 votes)
0 views

4.12.1 Functional Programming

The document discusses the key features and benefits of functional programming, particularly in the context of handling big data. It highlights that functional programming allows for easier code writing and understanding through the use of functions as fundamental building blocks, emphasizing statelessness and immutability. Additionally, it defines important terms related to functional programming such as arguments and first-class objects.

Uploaded by

Saemai
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
0 views

4.12.1 Functional Programming

The document discusses the key features and benefits of functional programming, particularly in the context of handling big data. It highlights that functional programming allows for easier code writing and understanding through the use of functions as fundamental building blocks, emphasizing statelessness and immutability. Additionally, it defines important terms related to functional programming such as arguments and first-class objects.

Uploaded by

Saemai
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

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

You might also like