F453 - data representations Flashcards

1
Q

4 bits for mantissa
4 bits for exponent

calculate denary

i) 01010110
ii) 01001110

A
i)exponent 0110=6
mantissa 0.101
move 6 places to right becomes 0101000. value is 40
ii)1110= -2
mantissa 0.100
move 2 places left becomes 0.001
value is 1/8 (0.125)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

7 bits for mantissa
5 bits for exponent

which is normalised
p=101100110001
q=110100110011

A

P is normalised

starts with 10

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

7 bits for mantissa
5 bits for exponent

write the normalised form for

0001101 00101

A

mantissa 0001101
move point 2 places right and fill with 0s on right
decrease exponent 2
01100100 00011

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