Hexadecimal, Binary and Denary number system
Binary data is two-state, 0 or 1, on or off.
1 bit = 1 binary digit of data
4 bits = a nibble
8 bits = byte
Kilobyte (Kb)
This is 1024 bytes
It is npt 100 bytes because computers work with binary numbers, so it is 2 to the power of 10 to be 1024 and the closest to 1000.
How many bits in a Kilobyte
1024*8 8192
Units start on the right like this : 128|64|32|16|8|4|2|1
132 = 10000100
96 = 01100000
10 = 00001010
254 = 11110100
67 = 01000011
102 = 01100110
59 = 00111011
1 bit = 1 binary digit of data
4 bits = a nibble
8 bits = byte
Kilobyte (Kb)
This is 1024 bytes
It is npt 100 bytes because computers work with binary numbers, so it is 2 to the power of 10 to be 1024 and the closest to 1000.
How many bits in a Kilobyte
1024*8 8192
Units start on the right like this : 128|64|32|16|8|4|2|1
132 = 10000100
96 = 01100000
10 = 00001010
254 = 11110100
67 = 01000011
102 = 01100110
59 = 00111011
00101010 = 42
00101111 = 47
01111110 = 126
11111111 = 255
11011101 = 221
11001000 = 200
10111011 = 187
10101001 = 169
BINARY ADDITION
8 4 2 1
-------
1 0 1 0
0 0 1 0 CARRY THE ONE
-------
1 1 0 0
00101111 = 47
01111110 = 126
11111111 = 255
11011101 = 221
11001000 = 200
10111011 = 187
10101001 = 169
BINARY ADDITION
8 4 2 1
-------
1 0 1 0
0 0 1 0 CARRY THE ONE
-------
1 1 0 0
5 + 6
-------
0 1 0 1
0 1 1 0 CARRY THE ONE
-------
1 0 1 1
-------
11
-------
0 1 0 1
0 1 1 0 CARRY THE ONE
-------
1 0 1 1
-------
11
10 + 4
------
1 0 1 0
0 1 0 0 CARRY THE ONE
-------
1 1 1 0
-------
14
------
1 0 1 0
0 1 0 0 CARRY THE ONE
-------
1 1 1 0
-------
14
2 + 3
-----
0 0 1 0
0 0 1 1 CARRY THE ONE
-------
0 1 0 1
-------
5
-----
0 0 1 0
0 0 1 1 CARRY THE ONE
-------
0 1 0 1
-------
5
12 + 1
-------
1 1 0 0
0 0 0 1 CARRY THE ONE
--------
1 1 0 1
-------
13
-------
1 1 0 0
0 0 0 1 CARRY THE ONE
--------
1 1 0 1
-------
13
14 + 2
-------
1 1 1 0
0 0 1 0 CARRY THE OVERFLOW
-------
OVER FLOW
-------
1 1 1 0
0 0 1 0 CARRY THE OVERFLOW
-------
OVER FLOW
8 BIT ADDITION
128 64 32 16 8 4 2 1
--------------------
10000000
00100000
--------------------
10100000
160
128 64 32 16 8 4 2 1
--------------------
10000000
00100000
--------------------
10100000
160
00111110
00110010 CARRY THE ONE
--------
01110000
112
00110010 CARRY THE ONE
--------
01110000
112
01100010
00000100
--------
01100110
102
00000100
--------
01100110
102
00010101
10101000
--------
10111101
189
10101000
--------
10111101
189
11110000
10000010
--------
OVERFLOW
10000010
--------
OVERFLOW
Hex
Programmers often write numbers down in hexadecimal form. Hexadecimal numbers are based on the number 16, they have 16 different digits:
0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
Programmers often write numbers down in hexadecimal form. Hexadecimal numbers are based on the number 16, they have 16 different digits:
0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
BINARY TO HEX
01101010 = 6A
It makes it a lot easier if you break it up into 2 4 digit numbers rather than 1 8 digit number, for example:
01101010
[0110][1010]
11111110 = FE
00100000 = 20
00100010 = 22
01101010 = 6A
It makes it a lot easier if you break it up into 2 4 digit numbers rather than 1 8 digit number, for example:
01101010
[0110][1010]
11111110 = FE
00100000 = 20
00100010 = 22
HEX TO DENARY
A1 = 10*16 + 1 = 161
DF = 223
79 = 121
33 = 51
C4 = 196
7B = 123
A1 = 10*16 + 1 = 161
DF = 223
79 = 121
33 = 51
C4 = 196
7B = 123
How many Kilobytes in a megabyte?
1024
How many Kilobytes in a gigabyte?
1048576
How many megabytes in 4 terabytes?
4194304 Mb
How many bits in a petabyte?
1.1102230246252E-16
How many bits in a Yottabyte?
1.0339757656913E-25 No jokes here.
Tell me what base 10, Base 2 and base 16 are
base 10 is the denary number system
base 2 is the binary number system
base 16 is the hexadecimal number system
Tell me where hexadicmal is used and why?
1024
How many Kilobytes in a gigabyte?
1048576
How many megabytes in 4 terabytes?
4194304 Mb
How many bits in a petabyte?
1.1102230246252E-16
How many bits in a Yottabyte?
1.0339757656913E-25 No jokes here.
Tell me what base 10, Base 2 and base 16 are
base 10 is the denary number system
base 2 is the binary number system
base 16 is the hexadecimal number system
Tell me where hexadicmal is used and why?




