Flashcards
ALGOL 60 (1958)
Flashcards do conjunto (16)
- 1What is ALGOL 60?ALGOrithmic Language
- 2What was ALGOL 60 created by?Scientists and mathematicians
- 3What was ALGOL 60 originally called?International Algebraic Languages
- 4What was the prototype of ALGOL 60 called?ALGOL 58
- 5What was ALGOL 60 supposed to be?More readable and closer to mathematical notation
- 6What were the features introduced by ALGOL 60?-Block structuring
-Array sizes dynamically defined at run time
-Logical if statements and else
-For and while loops
-Compound statements
-Procedures and functions which could be recursive
-No fixed layout rules
-Scope - 7What were the main disadvantages of ALGOL 60?-Hardware independence meant it lacked in IO commands
-Increased flexibility made it slow - 8What is Jensens Device?Exploits the call by name
- 9What is stropping?There is some speacil indication to indicate keywords - restricted due to punch cards
- 10How were parameters passed in ALGOL 60?Call by name and call by value
- 11What is call by name?Name is copied and changing inside function does not effect variable outside
- 12What is call by name?Copy the name of variable into function. Whenever the actual parameter is used, it is evaluated.
- 13What is lazy evaluation?Parameter is only evaluated when needed
- 14What is a thunk?When the parameter is evaluated, it uses small function that remembers the original context and calculates the parameter value
- 15What was the problem with label parameters?If the subroutine performs a goto to such label, control will escape the local context, unwinding the subroutine call stack.
- 16What are the two successors of ALGOL?-ALGOL W which was the start of Pascal
-ALGOL 68
Informações
- Descrição
- University Languages and Compilers FlashCards sobre ALGOL 60 (1958), criado por lucy copp em 13-12-2017.
- Criado por
- lucy copp · dez 2017
- Atualizado
- 13 dez 2017
- Visualizações
- 1
- Avaliação
Mais sobre History of Programming Languages