Karteikarten
Programming Paradigms - LISP (1958)
Karten in diesem Stapel (12)
- 1What is LISP?The first major functional language with its central data structure being the list.
- 2What did LISP introduce?- The if-then-else
- The idea of a linked list
- Data structures
- Garbage control
- Dynamic Typing - 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 - 4What is Lambda Calculus?Way of expressing computation via combinations of functions.
- 5How do you use a lambda expression in LISP?LAMBDA keyword
- 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.
- 7How is all data represented in LISP?S-expressions which are atoms or lists
- 8What are the three basic functions for S-expressions?CAR, CDR, CONS
- 9What does CAR return?The head of a list
- 10What does CDR return?Tail of a list
- 11What does CONS return?New list it has built
- 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