P2 T1 L5 - Binary Multiplication Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

How do you do binary subtraction using 2’s complement?
(start from denary make into binary)
(4 steps)

A
  1. convert num 2 with “-“ sign (e.g. convert -2 to 1110)
  2. convert num 1
  3. add both numbers
  4. remove the first digit (MSB)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

100
011
___

How do you do binary multiplication?

(3 steps)

A

e.g

100
011
___

1 . We start with the first digit, in this case 1, and multiply 100 by 1, which gives the exact same number.

100
011
___
100

  1. Then we move to the second digit and proceed to do the same. Since it’s also 1, the number will remain intact, we just need to shift the number one digit to the left
 100
 011
 \_\_\_
 100
100
  1. Later, since the last digit is a 0, we can skip it and start with the addition:
100
 011
 \_\_\_
 100
100
\_\_\_\_
1100
How well did you know this?
1
Not at all
2
3
4
5
Perfectly