Binary addition and shifts Flashcards
(25 cards)
What is binary addition?
Binary addition is the process of adding two binary numbers together.
What are the basic rules of binary addition?
The basic rules are: 0 + 0 = 0, 0 + 1 = 1, 1 + 0 = 1, and 1 + 1 = 10 (which carries over 1).
True or False: In binary addition, 1 + 1 results in 1.
False.
Fill in the blank: The binary sum of 1011 and 1101 is ___.
11000.
What is a carry in binary addition?
A carry occurs when the sum of two bits exceeds the value that can be represented in a single bit, resulting in a carry to the next higher bit position.
What is the result of 110 + 101 in binary?
1011.
What is the purpose of binary shifts?
Binary shifts are used to multiply or divide binary numbers by powers of two.
True or False: A left shift operation on a binary number is equivalent to multiplying that number by 2.
True.
Fill in the blank: A right shift operation on a binary number is equivalent to dividing that number by ___.
2.
What happens to bits that are shifted out during a left shift operation?
They are discarded.
What is the result of shifting the binary number 1010 one position to the left?
10100.
What is the result of shifting the binary number 1100 one position to the right?
0110.
True or False: In binary addition, the maximum sum without carrying is 1 + 1.
True.
What is the binary representation of the decimal number 5?
101.
What is the result of adding the binary numbers 111 and 101?
1100.
Fill in the blank: The binary representation of 2 raised to the power of 3 is ___.
1000.
What is the significance of the least significant bit (LSB) in binary numbers?
The LSB represents the smallest value in the binary number.
What is the significance of the most significant bit (MSB) in binary numbers?
The MSB represents the largest value in the binary number.
True or False: The result of a binary addition can exceed the number of bits in the operands.
True.
What is the result of 1 + 0 in binary?
1.
What is the carry bit in the binary addition of 0110 and 0011?
0.
What is the result of adding 0001 and 0010 in binary?
0011.
Fill in the blank: The binary addition of 1111 and 0001 results in ___.
0000 with a carry of 1.
What is the result of left shifting the binary number 0011 by 2 positions?
1100.