GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

Programming Paradigms - LISP (1958)

lucy copp Languages and Compilers University Englisch 12 Karten

Karten in diesem Stapel (12)

  1. 1What is LISP?The first major functional language with its central data structure being the list.
  2. 2What did LISP introduce?- The if-then-else
    - The idea of a linked list
    - Data structures
    - Garbage control
    - Dynamic Typing
  3. 3What were the major features of LISP?- Symbolic expressions were used for everything
    - Provided a set of operators, expressed as functions, to interact with lists
    - The flow of program control was recursive
  4. 4What is Lambda Calculus?Way of expressing computation via combinations of functions.
  5. 5How do you use a lambda expression in LISP?LAMBDA keyword
  6. 6Functional languages avoid side effects. What are side effects?Where a function modifies the state of a program as well as returning an optional value. This means calling the same function, at two different times, will cause two different effects.
  7. 7How is all data represented in LISP?S-expressions which are atoms or lists
  8. 8What are the three basic functions for S-expressions?CAR, CDR, CONS
  9. 9What does CAR return?The head of a list
  10. 10What does CDR return?Tail of a list
  11. 11What does CONS return?New list it has built
  12. 12In what form are expressions in LISP?Prefix

Informationen

Beschreibung
University Languages and Compilers Karteikarten am Programming Paradigms - LISP (1958), erstellt von lucy copp am 04/01/2018.
Erstellt von
lucy copp
Aufrufe
3
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck