Multiplication

From TRCCompSci - AQA Computer Science
Jump to: navigation, search

Overview

Video from 5:46

https://www.youtube.com/watch?v=t15dhDG_WUA&list=PLCiOXwirraUDGCeSoEPSN-e2o9exXdOka&index=2 (5:46 - End)

Binary Multiplication

Binary Multiplication uses a combination of multiplying by one, shifting and addition. When multiplying a binary number by 10 it is simply shifted to the left into the next column, this multiplies the original number by 2. Multiplying by 100 causes a shift of two places to the left which multiplies the original number by four.

The rules for multiplying a binary number by another binary number is:

For every 1 in the multiplier repeat the number being multiplied with as many zero's to the right of it as there are digits before the 1 in the multiplier.
For every 0 in the multiplier nothing is written.

For example multiply 22 by 5, which in binary is 10110 by 101:

  10110
  x 101 (Multiplier)

starting from right to left there is a 1 in the multiplier so we write the number being multiplied normally 10110.

  10110
  x 101 (Multiplier)
  -----
  10110

The second number in the multiplier is a 0 so we write nothing.

The last number in the multiplier is a 1 and there are two digits before it a 0 and a 1, 2 digits, so we write out the number being multiplied with 2 zeros to the right of it, 1011000

  10110
  x 101 (Multiplier)
-------
  10110
1011000
-------

After the number has been multiplied by all the digits in the multiplier we simply add them up using binary addition, be careful when writing the numbers out so they are lined up correctly for addition.

   10110 + 
 1011000
 -------
 1101110 
 -------

Converting 1101110 to denary gives us 110, which is 22x5.


Binary 1.jpg Binary 2.jpg Binary 3.jpg

Revision

1. What is 1101 x 11?

100111
Correct.
10000
You added them together.
10101

2.

Multiply 10101 by 11. Leave your answer as an 8-bit binary number.
→ The first unit is a 1, so we add the first number once.
→ 10101
→ The second unit is also a 1, so we add the first number but moved to the left by one unit.
→ 101010
→ Then, we add those two numbers together.
→ 111111
→ Finally, add the extra bits to make it 8-bit
→ 00111111

3.

Multiply 10111 by 101. Leave your answer as an 8-bit binary number.

4.

Multiply 11111 by 101. Leave your answer as an 8-bit binary number.
→ The first unit is a 1, so we add the first number once.
→ 11111
→ The second unit is a 0, so we do nothing.
→ The third unit is a 1, so we add the first number once but moved to the left by two units.
→ 1111100
→ Then we add the two binary numbers together.
→ 00011111
→ +
→ 01111100
→ 10011011

5. Multiply 11001 by 1011

100100
You added them together
100010011
Correct
1100100

6.

Multiply 110111 by 011. Leave your answer as an 8-bit binary number.
→ The first unit is a 1, so we add the first number once.
→ 110111
→ The second unit is a 1, so we add the first number once but move it to the left once.
→ 1101110
→ The third unit is a 0, so we do nothing.
→ Add the two numbers together.
→ 110111 + 1101110
→ 10100101

7.

Multiply 1011001 by 1101. Leave your answer as an 8-bit binary number.

8. What is 110100 x 1101?

101010100
Correct.
100001010
You added them together.
101010010

9.

Multiply 1010011 by 101. Leave your answer as an 8-bit binary number.

10.

Multiply 11011 by 110. Leave your answer as an 8-bit binary number.

11.

Multiply 01101 by 11. Leave your answer as an 8-bit binary number.

12.

Multiply 101010 by 111. Leave your answer as a binary number.

13.

Multiply 11111 by 11. Leave your answer as an 8-bit binary number.

14.

Multiply 110011 by 101. Leave your answer as an 8-bit binary number.

15.

Multiply 00110101 by 1111. Leave your answer as an 8-bit binary number.

16.

Multiply 1111 by 1111. Leave your answer as an 8-bit binary number.

17.

Multiply 11111101 by 1101. Leave your answer as an 8-bit binary number.

18.

Multiply 11100011 by 1011. Leave your answer as an 8-bit binary number.

19.

Multiply 10001111 by 111. Leave your answer as an 8-bit binary number.

20.

Multiply 11100111 by 11. Leave your answer as an 8-bit binary number.

Your score is 0 / 0