Number Bases Flashcards

1
Q

Hexadecimal

A

Base 16

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

479 base 10 ->hexadecimal
EG: decimal to hexadecimal

A
  1. 479 divide 16= 29 . 9375 (29 is integer)
  2. then remainder divided by 16. So 16 x 0.9375=15
  3. Then 29 divided 16= 1.8125
  4. Remainder 1 x 0.8125=13
    // you don’t have to do when you get a 0
  5. 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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Signed magnitude

A

If last number is
0 : +
1: -

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Express -6 using signed magnitude

A

-6 : 1110

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Singed magnitude means?

A

2^n-1 n means number of bits.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly