Computer Science Notes
Binary System:The base is 2, so only 2 values (0,1) can be used.
BINARY TO DENARY CONVERSION:
Values of the system: 128 64 32 16 8 4 2 1
Denary Notation: 2^ 7
2^ 6
2^ 5
2^ 4
2^ 3
2^ 2
2^1
2^0
A typical Binary: 1 1 1 0 1 1 1 0
The denary total value: 128 + 64 + 32 + 0 + 8 + 4 + 2 + 0
=238
DENARY TO BINARY CONVERSION:
Denary: 24
(place 1 on the values which would make up the value 24)
Values of the system: 128 64 32 16 8 4 2 1
Binary value: 0 0 0 0 1 1 1 0
Measurements of Computer memory
Binary digits can be referred to as Bits
8 BITS make up 1 BYTE
Memory Size: No. Of Bits Denary value(bytes)
1 Kilobyte 210 1 024
1 Megabyte 220 1 048 576
1 Gigabyte 230 1 073 741 824
1 Terabyte 240 1 099 511 627 776
1 Petabyte 250 1 125 899 906 842624
HEXADECIMAL SYSTEM
The base 16 system
It is based on 16 different digits, 0-9 and A-F is used to represent 10-15
TYPICAL Hexadecimal : 65 536 4 096 526 16 1
Denary notation: 164 163 162 161 160
*Separate to 4 bits to solve*
Binary Value Hexadecimal value Denary Value
0000 0 0
0001 1 1
0010 2 2
0011 3 3
0100 4 4
0101 5 5
0110 6 6
0111 7 7
1000 8 8
1001 9 9
1010 A 10
1011 B 11
Binary System:The base is 2, so only 2 values (0,1) can be used.
BINARY TO DENARY CONVERSION:
Values of the system: 128 64 32 16 8 4 2 1
Denary Notation: 2^ 7
2^ 6
2^ 5
2^ 4
2^ 3
2^ 2
2^1
2^0
A typical Binary: 1 1 1 0 1 1 1 0
The denary total value: 128 + 64 + 32 + 0 + 8 + 4 + 2 + 0
=238
DENARY TO BINARY CONVERSION:
Denary: 24
(place 1 on the values which would make up the value 24)
Values of the system: 128 64 32 16 8 4 2 1
Binary value: 0 0 0 0 1 1 1 0
Measurements of Computer memory
Binary digits can be referred to as Bits
8 BITS make up 1 BYTE
Memory Size: No. Of Bits Denary value(bytes)
1 Kilobyte 210 1 024
1 Megabyte 220 1 048 576
1 Gigabyte 230 1 073 741 824
1 Terabyte 240 1 099 511 627 776
1 Petabyte 250 1 125 899 906 842624
HEXADECIMAL SYSTEM
The base 16 system
It is based on 16 different digits, 0-9 and A-F is used to represent 10-15
TYPICAL Hexadecimal : 65 536 4 096 526 16 1
Denary notation: 164 163 162 161 160
*Separate to 4 bits to solve*
Binary Value Hexadecimal value Denary Value
0000 0 0
0001 1 1
0010 2 2
0011 3 3
0100 4 4
0101 5 5
0110 6 6
0111 7 7
1000 8 8
1001 9 9
1010 A 10
1011 B 11