Computer Science & C Programming


Memory organization

  1. Information is stored into RAM (Random Access Memory)

  1. Information is stored into variables that must be declared eg. char x;, then initialized eg. x='a';, or declared and initialized as above
  2. Memory also contains specific parts for screen (e.g. background image) and keyboard (e.g. key pressed)
    Ex. What the memory size used by your computer's screen ?
    The size is expressed in "pixel" and a standard value can be 1024x768 points. A point can be simply on/off, have a gray scale (e.g. encoded in 1 octet) or a full color (encoded in Red/Green/Blue colors, i.e. 3 octets or ints)
  1. Adresses, that are simply numbers, can be managed inside a program by the way of pointers.

12 - 15