Binary addition and shifts Flashcards

(25 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 basic rules of binary addition?

A

The basic rules are: 0 + 0 = 0, 0 + 1 = 1, 1 + 0 = 1, and 1 + 1 = 10 (which carries over 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 results in 1.

A

False.

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

Fill in the blank: The binary sum of 1011 and 1101 is ___.

A

11000.

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

What is a carry in binary addition?

A

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.

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

What is the result of 110 + 101 in binary?

A

1011.

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

What is the purpose of binary shifts?

A

Binary shifts are used to multiply or divide binary numbers by powers of two.

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

True or False: A left shift operation on a binary number is equivalent to multiplying that number by 2.

A

True.

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

Fill in the blank: A right shift operation on a binary number is equivalent to dividing that number by ___.

A

2.

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

What happens to bits that are shifted out during a left shift operation?

A

They are discarded.

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

What is the result of shifting the binary number 1010 one position to the left?

A

10100.

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

What is the result of shifting the binary number 1100 one position to the right?

A

0110.

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

True or False: In binary addition, the maximum sum without carrying is 1 + 1.

A

True.

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

What is the binary representation of the decimal number 5?

A

101.

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

What is the result of adding the binary numbers 111 and 101?

A

1100.

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

Fill in the blank: The binary representation of 2 raised to the power of 3 is ___.

17
Q

What is the significance of the least significant bit (LSB) in binary numbers?

A

The LSB represents the smallest value in the binary number.

18
Q

What is the significance of the most significant bit (MSB) in binary numbers?

A

The MSB represents the largest value in the binary number.

19
Q

True or False: The result of a binary addition can exceed the number of bits in the operands.

20
Q

What is the result of 1 + 0 in binary?

21
Q

What is the carry bit in the binary addition of 0110 and 0011?

22
Q

What is the result of adding 0001 and 0010 in binary?

23
Q

Fill in the blank: The binary addition of 1111 and 0001 results in ___.

A

0000 with a carry of 1.

24
Q

What is the result of left shifting the binary number 0011 by 2 positions?

25
What is the result of right shifting the binary number 1011 by 1 position?
0101.