Diisasta (01-08-2009)
Ok i tell you something about
decimal/hexadecimal and binary numbers and about bit and bytes and so on
first i explain the easiest one
the decimal system, we all know it
32-10=22 and so on
now we explode the number into the single digits
3 2
the worth of the digit is easy
first digit (2) is 2x1
second digit(3) is 3x10
if we would have a third digit (for example 1) its worth would be 1x100
well why it is?
the worth can be calced by the location of the digit in the number (i call it short n)
so here is how to calc: base(decimal has a base of 10 (decem is latin and means ten))n
example: 3 digit: 10^2 ->
why 2? -> we start with count 0
first digit:0 (index)
second digit:1
and so on...
when you understood this every other system is easy cause this is every number-system the same
hexadecmal system
hexa is greece and means 16
Well but how to inteprate 16 digits if we know only 10 (0~9)
the solution is easy the digits are 0~9 and A~F
A=10
F=15
for example FF is in decimal system 255
first digit: 15 -> 15* (16[suo]0[/sup])
second digit: 240 -> 15* (161)
now the binary system (the real numbersystem^^)
the binary system is the system which every computer works
works like each other binary system, but it know only 2 digits (0 and 1/on and off) a digit is also called a bit in the binary system
as example we user the number "11000111" /this is a byte, a byte is a number containing 8 bits
first digit: 1 -> its worth 1 (20)
second digit: 1 -> its worth 2 (21)
third digit: 1 -> its worth 4 (22)
and so on....
the number translated in decimal system is 199
next time i explain how to translate numbers from decimal system into other systems
if you find failures please send me a pm i will correct them
Diisasta (01-08-2009)