Next: Bytes, Memory, Address
Up: CS101 Lecture 3
Previous: Bits and Bytes
The ``value'' of a n-digit number in decimal system
Example: 7842 = 1000 * 7 + 100 * 8 + 10 * 4 + 1 * 2
Similarly, a n-bit binary number has a ``value''
Example: 101010 = 32 * 1 + 16 * 0 + 8 * 1 + 4 * 0 + 2 * 1 + 1 * 0 = 42
Similarly, hexadecimal (base 16).
Example: 4A9C = 4096 * 4 + 256 * 10 + 16 * 9 + 1 * 12 = ??
More in next Quiz!
G. Sivakumar
2000-07-29