Week 12 note (Functional Programming) Flashcards

1
Q

What is Functional Programming?

A

Functional Programming merupakan paradigma pemrograman yang berdasarkan mathematical functions. Contohnya bahasa pemrograman LISP.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Mathematical Functions

A

Mathematical functions adalah suatu pemetaan dari member suatu kumpulan yang disebut domain set, ke suatu kumpulan lain yang disebut range set.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Perbedaan Imperative dan Functional?

A

Imperative:

  1. Berdasarkan pada arsitektur Von Neumann
  2. Complex syntax
  3. Complex semantics
  4. efficient execution

Functional:

  1. Berdasarkan pada mathematical functions
  2. Simple syntax
  3. Simple semantics
  4. Inefficient execution
How well did you know this?
1
Not at all
2
3
4
5
Perfectly