Binary arithmetic Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What are the golden rules of binary arithmetic?

A

0 + 0 = 0
0 + 1 = 1
1 + 1 = 0 carry the 1
1 + 1 + 1 = 1 carry the 1

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

What is overflow?

A

When the result of the calculation is to big for the space allocated

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

How does a computer handle overflow error?

A

It can crash and report an overflow error
It can truncate
It can wrap the number back to 0

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