Topic 5.4 - Binary Number System Flashcards
What is the difference between signed and unsigned binary?
Unsigned binary can only have positive numbers.
Signed binary can be both positive and negative numbers.
Convert 0110 1101 to Denary.
109
Convert 75 to Binary
0100 1011
In 8-bit unsigned binary, what is the range of possible values?
0 to 255
In 8-bit unsigned binary, what is the total amount of possible values?
256
In 8 bit signed binary, what is the range of possible values
-128 to 127
What is 10011011 + 01001011
155 + 75 = 230
what is 00101110 * 0111
46 x 7 = 322
What is the method used to represnt negative integers
Two’s complement
What are the three stages of two’s complement
- Write the positive number in binary
- Flip all the bits
- Mathematically add 1 to the result
What is the method for performing a binary subtraction, using two’s complement
- Determine the 2’s complement of the smaller number.
- Add this to the larger number.
- Omit the carry. Note that there is always a carry in this case.
What is the formula to find the range of bits if we are given that the number of bits is ‘n’.
The range would be 0 to (2^n) - 1