Topic 5.2 - Number Bases Flashcards
What is the number base for a decimal number?
Base 10
What is the number base for a binary number?
Base 2
What is the number base for a hexidecimal number?
Base 16
How do you convert between decimal and binary?
minus 128 from number, if possible, then write 1, if not possible then write 0
repeat until you have reached 0
How do you convert between decimal and hex?
Convert to binary then convert to hex
How do you convert between binary and hex?
value of 4 least significant bits is letter/number on the right
value of 4 most significant bits is the letter/number on the left
e.g. 1010 1101 in hex would be
AD
Why is hex used as a shorthand for binary?
Since it is a lot easier to comprehend and is a lot easier to represent large values.
It also uses much less memory space.