binary numbers Flashcards

1
Q

Mantissa and Exponent

A

2.75

8 4 2 1 1/2, 1/4, 1/8
0 0 1 0 . 1, 1, 0

move dot 2 to the left so it is behind the first 1

0.1011

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

sign magnitude

A

the bit to the left is a sign bit, that tells whether the number is a positive or a negative. then you make up the number as normal binary

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

twos complement

A

bit to left to say negative version of the number. 128 = -128
you then have to work out the number by adding the values to - 128 to get the negative number

-1) 117 in sign magnitude would be: 1110101
2) -117 in twos complement would be: 10001011

1) you make the number normally 64 + 32 = 96 + 16 = 112 + 4 = 116 + 1 = 117 + - = -117
2) you use the -128 and then add onto numbers to find the number you need. for example, -128 + 8 = -120 + 2 = -118 + 1 = -117

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

floating numbers

A

Exponent tells you how much you move the bullet point.
Positive = move point to the right
Negative = Move number to the right

Mantissa is the number

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