Data Representation
Data Representation
• Computer systems
• Algorithms, programming
• 1 Data representation and logic
• 2 Data transmission • 7 Algorithm design and
• 3 Hardware problem-solving
• 4 Software • 8 Programming
• 5 The internet and its uses • 9 Databases
• 6 Automated and emerging • 10 Boolean logic
technologies
1.1 Number systems
Thus, only the two ‘values’ 0 and 1 can be used in this system to
represent all values. Using the same method as denary, this gives
the headings 20, 21, 22, 23,and so on. The typical headings for a
binary number with eight digits would be:
Converting from binary to
denary
Converting from denary to
binary
Converting from denary to
binary
The hexadecimal system
The hexadecimal number system is very closely related to the binary
system.
Hexadecimal (sometimes referred to as simply ‘hex’) is a base 16
system and
therefore needs to use 16 different ‘digits’ to represent each value.
Because it is a system based on 16 different digits, the numbers 0 to 9
and the
letters A to F are used to represent each hexadecimal (hex) digit. A in
hex = 10
in denary, B = 11, C = 12, D = 13, E = 14 and F = 15.
Converting from hexadecimal to denary and from denary to
hexadecimal