4.5.4.1 Unsigned binary and 4.5.4.3 Signed binary using two’s complement Flashcards
1
Q
What is the difference between unsigned binary and
signed binary
A
unsigned binary - fixed-point system
signed binary - the value holds a positive or negative value using it’s most significant bit (the last bit to the left), the “signed bit”
2
Q
What is the minimum value in unsigned binary?
A
0
3
Q
What is the maximum value in unsigned binary?
A
2^(n) -1
n = number of bits
4
Q
What is the range of values in two’s complement binary?
A
- ( 2^(n-1)) to 2^(n-1) - 1
e. g in 8 bits, range is -128 to 127
5
Q
What is the number of possible values in unsigned binary?
A
2^n
n = number of bits