AS Level Computer Science - Number Systems
AS Level Computer Science - Number Systems
Representation
Number Systems
Denary, Binary, Hexadecimal, Conversions,
Definitions
Denary
▸ Decimal Numbers
▸ 0-9
▸ Base 10
Thousands Hundreds Tens Units
1000 100 10 1
9 1 7 5
128 64 32 16 8 4 2 1
0 1 1 0 1 0 1 0
4096 256 16 1
3 4 A F
Type Example
Integer 3 or 47
Fraction ⅔ or 52/17
kilo k 103
mega M 106
giga G 109
tera T 1012
Binary Prefix
kibi Ki 210
mebi Mi 220
gibi Gi 230
tebi Ti 240
Internal Coding
One’s/Two’s complement, Binary
Arithmetic, Binary Coded Decimal
One’s Complement
Two’s Complement
Binary Arithmetic
Addition Subtraction Multiplication Division
▸ Two Sections
▹ Non-Printable: system codes between 0-31
▹ Standard: 7-bit character table between
32-127
▸ All languages