Binary Addition & Shifts Flashcards
(26 cards)
What is binary addition?
Binary addition is the process of adding two binary numbers together.
What are the two possible digits in binary?
The two possible digits in binary are 0 and 1.
True or False: In binary addition, 1 + 1 equals 0 with a carry of 1.
True
What is the result of the binary addition 1010 + 0011?
The result is 1101.
Fill in the blank: 0 + 0 = ____ in binary.
0
What is a binary carry?
A binary carry occurs when the sum of two bits exceeds 1, necessitating a carry to the next higher bit position.
What is the binary equivalent of the decimal number 5?
101
What is the result of the binary addition 1111 + 0001?
The result is 0000 with a carry of 1.
True or False: Binary addition can be performed without carrying.
False
What is the purpose of a binary shift?
A binary shift is used to multiply or divide a binary number by powers of two.
What is the result of a left shift on the binary number 1010?
The result is 10100.
Fill in the blank: A right shift of 1100 results in ____.
0110
What does a left shift do to the bits of a binary number?
A left shift moves all bits to the left and fills the rightmost bit with 0.
What does a right shift do to the bits of a binary number?
A right shift moves all bits to the right and can fill the leftmost bit with 0 or replicate the sign bit for signed numbers.
True or False: Shifting a binary number to the left is equivalent to multiplying it by 2.
True
What is the result of the binary addition 0011 + 0101?
The result is 1000.
What is the binary result of 1010 shifted left by 1?
The result is 10100.
Fill in the blank: The binary number 1111 when right-shifted by 1 becomes ____.
0111
What is the maximum sum of two 4-bit binary numbers?
The maximum sum is 11110, which is 30 in decimal.
What is the significance of the carry bit in binary addition?
The carry bit indicates that the sum of the bits has exceeded the maximum value for that bit position.
What is the output of 0010 + 0011 in binary?
The output is 0101.
What is the effect of shifting a binary number to the right?
Shifting a binary number to the right effectively divides the number by 2.
True or False: The result of adding two binary numbers will always have the same number of bits as the original numbers.
False
How many bits are needed to represent the sum of two 4-bit binary numbers?
5 bits may be needed to represent the sum due to the carry.