Number Bases Flashcards
Decimal, binary, hexadecimal (6 cards)
Number Base Definition
The number of digits (or combination of digits) that a system, like decimal, binary or hexadecimal uses to represent numbers. For example binary is 2, as it uses either 1 or 0. Like how many options for each digit.
Working out values based on base
To work out the value of each digit (like how 8 has a value of 8000 in 8150), just do the position of the digit, from right to left, to the power of the base. So 8 would be 10^4, to give you 8000.
Denary (decimal)
Has a base of 10. As numbers go from 0-9. Doesn’t matter the combination or length, theres only 10 options for each digit.
Binary
Base of 2. Either 1 or 0 used.
Hexadecimal
Base of 16. 0-9 numbers, then 6 letters, A-F. So 16 total options for each digit.
Why is hex preferred over binary
As it represents a binary value, in a much shorter and easy to understand way. While still being quite easy to convert back to binary.