Binary and Hexidecimal Numbers Flashcards
1
Q
How do you convert Dernary into Hexidecimal?
A
- Divide the number by 16, then find the remainder and multiply it by 16
> This will be the last digit - Divide the whole number that you got in the first division again by 16
> Get the remainder and times it by 16; this will be the next digit
Do this until the whole number divides into 0
2
Q
How do you convert Hexidecimal to Decimal
A
- You times each number to the corrresponding power of 16
so the last number will be stimes by 16^0, the next by 16^1 and so on
You add the totals and you get ur decimal number
3
Q
What are the two main character sets used in coding>?
A
- ASCII (American Standart Code for Informational Intergchange)
- Unicode (univrsal code used to represent thousands of symbols and character for other countries for example)
4
Q
How does original ASCII represent letters and stuff
A
- 7 bits and 1 other bit for reference
- So 2^7 altogether gives 127 + the 0 bit, which gives 128 different possible values to be represented