Block F

Variables

What is a memory address? Your RAM is divided into bytes (8 bits). Each byte has a sequentially numbered memeory address. These are machine addressses.

If you start a program, OS allocagtes memory. It creates virtual addresses in the allocated memory.

Two kinds of memory

stack:  This is where variables (and function calls) live.
    limited and fixed in size.
    fairly fast.

heap:  Data warehouse
    whre all objects live.

heap

What do variables actually store?

Assignmennt

Symbol Tables.