Keyword: Word special in specific contexts Reserved Word: Word that is reserved by the language and can not

be used for a variable Attributes of a variable Name Address (l-value) Value (r-value) Type Lifetime Scope Alias: when more then one variable can be used to access the same memory location Type determines range of values for the variable Binding: Association between two elements Static: Occurs before run and never changes Dynamic: Occurs during run time or can change during execution Type Binding: Static : maps variable to type Static Variables: BOund to memory before program execution "History Sensitive" Stack Dynamic Variables: Types statically bound, storage binding on elaboration Explicit Heap Dynamic Variables: Abstract memory cells that are allocated/deallocated by explicit run-time instructions Implicit Heap Dynamic Variables: Bound to stage on assignment Type Checking: Coercion- process of converting a type to another compatible type automatically Static Scope: Determined prior to execution Dynamic Scope: determined by call order Named Constant: Value bound only once

Data Type: Collection of values and operations Primitives: Numerics (Integer, Float, Complex, Decimal), Boolean, Character Strings: Static Length (Java), Limited Dynamic (C) , Dynamic (Perl/Javascript) Ordinal Types: Every values equates to a set of positive integers Enumeration: A type where all possible values are provided REVIEW ARRAY TYPES PAGE 265 Heterogenous arrays are heap dynamic Rectangular array Jagged array Array Slice Record: Heterogenous aggregate of named data elements.

Union Type; A type that can store different types during its execution Dangling Pointer: A pointer to a location that has been deallocated Lost Heap Dynamic Variable: A location that has not been deallocated but can no longer be referenced REVIEW HEAP MGMT PAGE 301+ REVIEW QUESTIONS PAGE 306 Associativity (left/right) Functional Side Effect Referential Transparency: Two expressions in a program can have the same value substituted without affecting the action of the program REVIEW TYPE CONVERSIONS PAGE 325 TOP Mixed mode expressions: When a language will coerce parameters based on expected output Short-circuit evaluation Compound assignment += etc Unary: ++ Binary: a+b Tertiary: X?a:b

Sign up to vote on this title
UsefulNot useful