Functional Programming

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

What does “Map“ do in Functional Programming?

1 / 19

flashcard set

Earn XP

20 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

Explore top notes

note Note
studied byStudied by 37 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 50 people
Updated ... ago
5.0 Stars(3)
note Note
studied byStudied by 59666 people
Updated ... ago
4.9 Stars(331)
note Note
studied byStudied by 10 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 16 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 5 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 79 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 26 people
Updated ... ago
5.0 Stars(2)

Explore top flashcards

flashcards Flashcard282 terms
studied byStudied by 42 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard100 terms
studied byStudied by 15 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard44 terms
studied byStudied by 1 person
Updated ... ago
5.0 Stars(1)
flashcards Flashcard243 terms
studied byStudied by 88 people
Updated ... ago
5.0 Stars(3)
flashcards Flashcard23 terms
studied byStudied by 6 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard66 terms
studied byStudied by 26 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard22 terms
studied byStudied by 7 people
Updated ... ago
5.0 Stars(2)
flashcards Flashcard79 terms
studied byStudied by 14 people
Updated ... ago
5.0 Stars(1)