Language evolution Flashcards

1
Q

What is machine code?

A

Binary code that corresponds to the machine basic instruction set

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

What is assembly language?

A

One-to-one mapping of human readable mnemonics to the machine instructions.(1940-1953)

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

What does Fortran stand for?

A

FORmula TRANslation

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

What were the 2 benefits of fortran?

A

1.Highly optimizing compilers :types and storage of all variables are fixed before run time
2.Permanently changed the way computers are used

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

What is LISP?

A

LISt Processing language(1958)
Recursively process data in lists, rather than arrays
Symbolic computation, rather than numeric
It only has 2 data types : atoms and lists

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

Functional style

A
  • DEFUN: define new function
  • COND: function taking set of test-then-do pairs
  • ATOM is a single element
  • CAR: head of list, CDR: the rest of list
  • Uses recursion for looping
  • (T NIL) : return NIL (or false) if no matches found
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the 2 benefits of LISP?

A

No need for variables or assignment statements
Control via recursion and conditional expressions

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