Number Bases Flashcards
1
Q
Hexadecimal
A
Base 16
2
Q
479 base 10 ->hexadecimal
EG: decimal to hexadecimal
A
- 479 divide 16= 29 . 9375 (29 is integer)
- then remainder divided by 16. So 16 x 0.9375=15
- Then 29 divided 16= 1.8125
- Remainder 1 x 0.8125=13
// you don’t have to do when you get a 0 - 1 divide 16=0.0625
Then 16 x 0.0625 = 1
Get all remainders so 1,13,15
1.= 1
13 = D
15=F
Answer = 1DF
3
Q
Signed magnitude
A
If last number is
0 : +
1: -
4
Q
Express -6 using signed magnitude
A
-6 : 1110
5
Q
Singed magnitude means?
A
2^n-1 n means number of bits.
6
Q
Twos complement binary
A
Basically replace every 0 with a 1 and vice versa
Then and 1 to last digit and vwala you have your answer.