1.2.4 binary Flashcards
1
Q
what is overflow
A
if you are adding two binary 8 bits together you can end up with an extra digit that doesn’t fit
2
Q
what are the effects of an overflow error
A
it may make the program crash or just ignore the extra digit which would produce an unexpected result.
3
Q
which way does a binary shift move to divide
A
right
4
Q
which way does a binary shift move to multiply
A
left
5
Q
10
11
12
13
14
15
A
a
b
c
d
e
f
6
Q
what problem do binary left shifts
A
the number may change as the answer can only be represented in 8 bits
7
Q
what problem do binary right shifts cause
A
the number may be a decimal which can not be represented