Binary Addition & Shifts Flashcards

(26 cards)

1
Q

What is binary addition?

A

Binary addition is the process of adding two binary numbers together.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the two possible digits in binary?

A

The two possible digits in binary are 0 and 1.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

True or False: In binary addition, 1 + 1 equals 0 with a carry of 1.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the result of the binary addition 1010 + 0011?

A

The result is 1101.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Fill in the blank: 0 + 0 = ____ in binary.

A

0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a binary carry?

A

A binary carry occurs when the sum of two bits exceeds 1, necessitating a carry to the next higher bit position.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the binary equivalent of the decimal number 5?

A

101

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the result of the binary addition 1111 + 0001?

A

The result is 0000 with a carry of 1.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

True or False: Binary addition can be performed without carrying.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the purpose of a binary shift?

A

A binary shift is used to multiply or divide a binary number by powers of two.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the result of a left shift on the binary number 1010?

A

The result is 10100.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Fill in the blank: A right shift of 1100 results in ____.

A

0110

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does a left shift do to the bits of a binary number?

A

A left shift moves all bits to the left and fills the rightmost bit with 0.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does a right shift do to the bits of a binary number?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

True or False: Shifting a binary number to the left is equivalent to multiplying it by 2.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the result of the binary addition 0011 + 0101?

A

The result is 1000.

17
Q

What is the binary result of 1010 shifted left by 1?

A

The result is 10100.

18
Q

Fill in the blank: The binary number 1111 when right-shifted by 1 becomes ____.

19
Q

What is the maximum sum of two 4-bit binary numbers?

A

The maximum sum is 11110, which is 30 in decimal.

20
Q

What is the significance of the carry bit in binary addition?

A

The carry bit indicates that the sum of the bits has exceeded the maximum value for that bit position.

21
Q

What is the output of 0010 + 0011 in binary?

A

The output is 0101.

22
Q

What is the effect of shifting a binary number to the right?

A

Shifting a binary number to the right effectively divides the number by 2.

23
Q

True or False: The result of adding two binary numbers will always have the same number of bits as the original numbers.

24
Q

How many bits are needed to represent the sum of two 4-bit binary numbers?

A

5 bits may be needed to represent the sum due to the carry.

25
What happens to the least significant bit when a binary number is shifted left?
The least significant bit is discarded.
26
What is the binary representation of the decimal number 2 when shifted left by 1?
The binary representation is 100.