Section 3 Chapter 15 - Binary arithmetic and fractions Flashcards
1
Q
Overflow
A
An error that can occur with binary addition in which the result cannot be stored in the space provided and the last bit “overflows” out of the space
2
Q
Range of a twos complement number
A
-2^(n-1) to 2^(n-1)-1
3
Q
How two’s complement works
A
The first bit is negative
4
Q
Converting negative denary to twos complement
A
Work out the positive binary
Flip all the bits
Add 1
5
Q
Converting negative twos complement to denary
A
Flip the bits
Add 1
Convert to denary
Take the negative value of it
6
Q
How binary subtraction works
A
The numbers are added using twos complement and any overflow is ignored
7
Q
The method of representing fractions with binary
A
Fixed point numbers