• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/16

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

16 Cards in this Set

  • Front
  • Back

Names are the _____________ in programming

basic unit

Identifiers are....

names

symbols like "+" are...

names

define binding

connection between name and object

define scope

max textual part where binding holds in program

static binding

closest textual declaration of a variable


(similar to java, c , etc)

dynamic binding

most recent binding of variable

when is static binding done

before run-time

when is dynamic binding done

during runtime

whats good about early binding vs later binding

greater efficiency

whats good about later binding vs early binding

greater flexibility

an object becomes garbage when ____________

is outlives its binding


the name becomes dangling if ___________

the binding outlives the object

how to destruct memory in static, stack, heap memory

static - cannot be deconstructed (global)




stack - by popping of stack




heap - releasing occupied space

scopes rule for global variables

permanent binding, deactivated by local variable with same name

scope rule for local variables

lifetime up until end of block, created in stack