








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!









Lisp TERM 2
DEFINITION 2 C TERM 3
DEFINITION 3 C++Java TERM 4
DEFINITION 4 Code optimization TERM 5
DEFINITION 5 dynamically modify code
Programmer efficiency TERM 7
DEFINITION 7 partial recursive TERM 8
DEFINITION 8 Expression returns a value (eg: x + y returns z)Statement is imperative (do x) TERM 9
DEFINITION 9 functions can do everything a regular object can do:pass functions as argumentsreturn functionsassign variables to functions TERM 10
DEFINITION 10 ML lists can only take one variable typeLisp/Scheme can take multiple types in a list
cannot be reduced further TERM 17
DEFINITION 17 If a lambda calc expression has a normal form, the normal form is unique. TERM 18
DEFINITION 18 share structural properties TERM 19
DEFINITION 19
DEFINITION 20 Two types are equivalent ifa) they share the same basic type orb) they are built using the same compound constructor w/ same components
Equivalent if two types share the same name TERM 22
DEFINITION 22 Type errors occur when a type is misused or misinterpreted TERM 23
DEFINITION 23 A lang that does not allow unchecked type errors at runtime. TERM 24
DEFINITION 24 Java TERM 25
DEFINITION 25 C, C++
Points to next instruction to be evaluated TERM 32
DEFINITION 32 Map variables to their values TERM 33
DEFINITION 33 dynamically allocated storage TERM 34
DEFINITION 34 current stack positionkeeps track of storage of all active variables TERM 35
DEFINITION 35 Pass-by-valuePass-by-referencePass-by-name
non-local variables accessed by function saved in the heap so that when the environment of function (activation record that defines function) is popped off the stack those variables remain valid when function is eventually called TERM 37
DEFINITION 37 "The remaining work to be done after evaluating the expression" TERM 38
DEFINITION 38 does not return to callercalls next portion of code TERM 39
DEFINITION 39 Jump out of blocks TERM 40
DEFINITION 40
The value of a function definition which contains the address of the function body and the environment (activation record) where the function is defined) TERM 47
DEFINITION 47 No more computation is done after the call TERM 48
DEFINITION 48 No operation is required after the recursive function call, the activation record of the caller can be popped off the stack before making the recursive call; that is, the callee can reuse/modify the activation record of the caller. TERM 49
DEFINITION 49 dynamic TERM 50
DEFINITION 50 function handling the exception
Each name is only resolved if/when it is used in a instruction being interpreted by the JVM. TERM 52
DEFINITION 52 The method may reside in different vtable entries if from an interface obj, but always at the same location if from a class obj. TERM 53
DEFINITION 53
DEFINITION 54 array out-of-bounds accessdereferencing a pointer that has already been freedcasting a base type to the wrong derived type (subtype) TERM 55
DEFINITION 55 In computer science, polymorphism is a programming language feature that allows values of different data types to be handled using a uniform interface.
Code space: contains all instructions of program to be evaluatedProgram pointer: points to the current instr. being evaluatedRuntime stack: contains the vals for all vars in the programEnvironment pointer: points of the top of the runtime stackHeap: contains dynamically allocated storage TERM 62
DEFINITION 62 code space = continuationprogram pointer = current expressionruntime stack = A-listenvironment pointer = A- listheap = cons cells TERM 63
DEFINITION 63 Points to the calling block TERM 64
DEFINITION 64 Points to defining block of this block TERM 65
DEFINITION 65 Only in function blocksPoints to where computation continues after function return if tail recursive, points to line following call if not tail recursive, point to calling line
Only in function blockspoints to tmp value in calling block