Numbers: How to convert positive denary whole numbers to binary numbers (up to and including 8 bits) and vice versa
1.2.4a Data Storage: Numbers
Practise exam questionsData Storage: Numbers — Note 1 of 5
Denary (decimal, base 10) numbers need to be converted to binary (base 2) for computer processing. You must be able to convert both ways for numbers 0-255 using up to 8 bits.
128, 64, 32, 16, 8, 4, 2, 1.Exam tipCommon mistake
A number system that uses ten digits, from 0 to 9.
2^n - 1. E.g. 6 bits = 63 (not 64). 8 bits = 255 (not 256).The leftmost 1 in a binary number — it has the highest value.
The rightmost bit — it has the lowest value (1).
128, 64, 32, 16, 8, 4, 2, 1) when doing conversions — it reduces mistakes.00000111.Ready to test yourself?
Practise 1.2.4a questions