Let’s Know All About Memory (1)
Posted in category: Computer and Hardware at: January 1, 2012 by adminMemory is the most important hardware in a computer, because memory is hardware that contains temporary data such as numbers, calculations and so on. Indicator that make your computer looks great si your memory. Memory Called also RAM (Random Access Memory).
Memory itself is a microchip (see above) that can temporarily store Bytes. The more bytes the memory has the more information it can temporarily store. A byte is just a number with a value between 0 and 255. It is a program’s job to turn each byte into something a human and/or another program can interpret. For example. If the memory was storing 4 Bytes with the values 74, 79, 72 and 78 it would mean nothing to you. However. To Microsoft Word 2007 the byte value 74 means J. The byte value 79 means O. The byte value 72 means H and the byte value 78 means N. So even though the memory is storing byte values that mean nothing to you, Microsoft Word 2007 has no trouble interpreting (reading) those same byte values as JOHN. The same applies to other programs that interpret (read) the byte values. For example. A Paint program might interpret 74 as colour Red, 79 as colour Yellow, 72 as colour Blue and 78 as colour Green. Whereas a Language program might interpret (read) 74 as English, 79 as Spanish, 72 as French and 78 as Italian. It depends on the program. Either way, the memory will always see 74, 79, 72 and 78. Here is a diagram of the memory with the 4 Bytes interpreted.
The logic behind interpreting byte values is like so: If the byte value is 74 display J (Microsoft Word 2007). If the byte value is 74 use English (Language program). If the byte value is 74 use colour Red (Paint program). And so on. In other words, the byte will always have its value of 74 but it can be interpreted differently depending on the program doing the interpreting. Programs that save settings files use interpretation a lot to cut down on the number of bytes used. For example. If a paint program had to interpret RED, YELLOW and BLUE with characters it would use 13 Bytes (R E D Y E L L O W B L U E). Whereas using the logic of byte values to represent RED, YELLOW and GREEN it would only use 3 Bytes (79, 74 and 72).
Although the above concentrated on programs interpreting byte values that were already stored inside memory, the reverse is just as true. For example. When you type the word JOHN into a Microsoft Word 2007 document its stores (puts) the byte values 74, 79, 72 and 78 inside memory. The same with a paint program. Instead of storing the characters R E D (byte values 82, 69 and 68) it might store the byte value 74 (which represents RED in the above example) so that it is uses 1 Byte, instead of 3, every time you use the red ink.
(to be continued..)
