Functional Programming and Big Data

studied byStudied by 1 person
0.0(0)
Get a hint
Hint

What does “Map“ do in Functional Programming?

1 / 27

flashcard set

Earn XP

28 Terms

1

What does “Map“ do in Functional Programming?

Map is used in order to apply a select function to each element within a list. In return leaving a list of results.

New cards
2

What does “Filter“ do in Functional Programming?

With the definition practically being in the name. Once “Filter” is used upon a data structure commonly a list all the available data will be used to create a brand new corresponding data structure following the conditions set along with “Filter“

New cards
3

What does “Reduce“ or “Fold“ do in Functional Programming?

Has the ability to reduce lists down to a single value by repeatedly combining the list of values.

New cards
4

What is a Higher Order function?

Theses special functions either take a function as an input (argument), returns functions as results or both.

New cards
5

What are 3 Higher Order Functions?

Map, Filter and Reduce or Fold

New cards
6

What does Foldl mean? (Fold Left)

It means that when folding we should start from the left and go right.

Vise Versa for Foldr (Fold Right)

New cards
7

What are the main Features of Functional Programming?

  • Functions act as building blocks with them coming together to create statements.

  • Every function accepts an input and returns the output.

  • Stateless & Immutable.

New cards
8

What does Immutability mean?

This means that variables cannot be changed after they are set.

New cards
9

What is a first-class object?

A function is considered a first-class object. As well as simple data types:

  • Integer

  • Char

etc.

New cards
10

What is the name given to the set of outputs from a function?

Co-Domain

New cards
11

What is the name given the inputs of a function?

Domain

New cards
12

What do Functional Programs use as First Class Objects?

Functions

New cards
13

What is a rule for Composition Functions?

The Domain of one function must be the same as the co-domain of the other.

New cards
14

What is statelessness?

in functional programming it means that it doesn’t matter the order considering how and where functions get called.

New cards
15

What is a fact-based model?

A model used in order to represent, model, query on the same level as Big Data.

New cards
16

What is an alternative to ER Models?

Fact-based models just instead of entities they make use of facts.

New cards
17

What is a “Fact“ considering fact-based models?

Looking at ER Models and Entities a “Fact“ is like one of those except that they cannot be deconstructed and each fact gets timestamped.

New cards
18

What are 3 facts about ‘Facts‘?

  • canNOT be deconstructed

  • They are eternally true

  • They must all be timestamped

New cards
19

What are the 3 key parts of a Graph Schema?

  • Nodes — (Represent core entities in Oval form)

  • Edges — (Directed or Undirected connecting lines between Nodes)

  • Properties — (Inside Rectangle boxes)

<ul><li><p>Nodes — (Represent core entities in <strong>Oval </strong>form)</p></li><li><p>Edges — (<strong>Directed or Undirected</strong> connecting <strong>lines </strong>between Nodes)</p></li><li><p>Properties — (Inside <strong>Rectangle </strong>boxes)</p></li></ul>
New cards
20

What is meant by Six Degrees of seperation?

Like that one video stating that most users are more like 4-6 people away from the Gaben Logan Newell.

Technically the longer and the more users that become apart of this net mean that it should both grow larger in numbers as well as further depending on how the pointer leans.

New cards
21

What are the 3 big V’s

  • Volume

  • Variety

  • Velocity

New cards
22

What is Big Data?

An overarching term referring to all data that wont fit its common container.

New cards
23

How is useable information extracted from Big Data?

By using Machine Learning to notice patterns.

New cards
24

What is the best Programming Paradigm for Big Data?

Functional Programming

New cards
25

What does Immutability mean?

It means for example in Functional Programming the value for the variables don’t change after being set.

New cards
26

Why can’t the common table contain Big Data?

Big Data doesn’t conform to the simplicity of Rows and Columns.

New cards
27

Why is Big Data so hard to analyse?

Because of its unstructured nature.

New cards
28

What are 3 Benefits of Functional Programming?

Functional Programming makes it easier to write:

  • Correctly

  • Efficiently

  • with distributed code (Somewhat encapsulated)

New cards

Explore top notes

note Note
studied byStudied by 22 people
... ago
5.0(1)
note Note
studied byStudied by 228 people
... ago
5.0(5)
note Note
studied byStudied by 72 people
... ago
5.0(3)
note Note
studied byStudied by 9 people
... ago
5.0(1)
note Note
studied byStudied by 7 people
... ago
5.0(1)
note Note
studied byStudied by 75 people
... ago
5.0(1)
note Note
studied byStudied by 2 people
... ago
5.0(1)
note Note
studied byStudied by 43 people
... ago
5.0(3)

Explore top flashcards

flashcards Flashcard (90)
studied byStudied by 13 people
... ago
5.0(1)
flashcards Flashcard (112)
studied byStudied by 3 people
... ago
5.0(1)
flashcards Flashcard (37)
studied byStudied by 4 people
... ago
5.0(1)
flashcards Flashcard (88)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (59)
studied byStudied by 17 people
... ago
5.0(1)
flashcards Flashcard (62)
studied byStudied by 9 people
... ago
5.0(1)
flashcards Flashcard (20)
studied byStudied by 7 people
... ago
5.0(1)
flashcards Flashcard (158)
studied byStudied by 2 people
... ago
5.0(1)
robot