GoConqr has a new look! Let us know what you think.

Flashcards

ALGOL 60 (1958)

lucy copp Languages and Compilers University English 16 cards

Cards in this deck (16)

  1. 1What is ALGOL 60?ALGOrithmic Language
  2. 2What was ALGOL 60 created by?Scientists and mathematicians
  3. 3What was ALGOL 60 originally called?International Algebraic Languages
  4. 4What was the prototype of ALGOL 60 called?ALGOL 58
  5. 5What was ALGOL 60 supposed to be?More readable and closer to mathematical notation
  6. 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
  7. 7What were the main disadvantages of ALGOL 60?-Hardware independence meant it lacked in IO commands
    -Increased flexibility made it slow
  8. 8What is Jensens Device?Exploits the call by name
  9. 9What is stropping?There is some speacil indication to indicate keywords - restricted due to punch cards
  10. 10How were parameters passed in ALGOL 60?Call by name and call by value
  11. 11What is call by name?Name is copied and changing inside function does not effect variable outside
  12. 12What is call by name?Copy the name of variable into function. Whenever the actual parameter is used, it is evaluated.
  13. 13What is lazy evaluation?Parameter is only evaluated when needed
  14. 14What is a thunk?When the parameter is evaluated, it uses small function that remembers the original context and calculates the parameter value
  15. 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.
  16. 16What are the two successors of ALGOL?-ALGOL W which was the start of Pascal
    -ALGOL 68

Information

Description
University Languages and Compilers Flashcards on ALGOL 60 (1958), created by lucy copp on 13/12/2017.
Created by
lucy copp · Dec 2017
Updated
Dec 13, 2017
Views
1
Rating

More on History of Programming Languages

Feedback

What is it about?

What do you think of the new look?

How do you like it?