Presentation is loading. Please wait.

Presentation is loading. Please wait.

Department of Management School of Business, Economics and Informatics Binary Numbers 1 Eva Szatmari

Similar presentations


Presentation on theme: "Department of Management School of Business, Economics and Informatics Binary Numbers 1 Eva Szatmari"— Presentation transcript:

1 Department of Management School of Business, Economics and Informatics Binary Numbers 1 Eva Szatmari e.szatmari@bbk.ac.uk

2 Learning Objectives Further practice Convert BIN to DEC Convert DEC to BIN Add BIN Multiply BIN Convert HEX to BIN Convert BIN to HEX

3 Video Tutorials http://bbk.libguides.com/computerscience /mathstutorials http://www.bbk.ac.uk/mathstutorials/ https://www.youtube.com/playlist?list=PL2F y-5oxIlb6cG15wxnhRdAmdskil_3-7 Warning: floating point notation!

4 Convert BIN to DEC Example 1: 1 0 1 1 0 Example 2: 1 1 0 0 1 1 Example 3: 1 1 0 0 1 1 0 0 1

5 Convert BIN to DEC – Practice Convert the following BIN to DEC: 1 0 0 1 1 1 1 1 0 1 1 0 1 0 0

6 Convert BIN to DEC – Answers Convert the following BIN to DEC: 1 0 0 1 1 = 19 1 1 1 0 1 = 29 1 0 1 0 0 = 20

7 Convert DEC to BIN Example 1: 27 Example 2: 35 Example 3: 76

8 Convert DEC to BIN – Practice Convert the following DEC to BIN: 18 28 47

9 Convert DEC to BIN – Answers Convert the following DEC to BIN: 18 = 1 0 0 1 0 28 = 1 1 1 0 0 47 = 1 0 1 1 1 1

10 Adding BIN Addition rules: 0 + 0 = 0 1 + 0 = 1 0 + 1 = 1 1 + 1 = 0 carry 1 1 + 1 + 1 = 1 carry 1

11 Adding BIN Example 1: 1010 + 110 = Example 2: 111001 + 11110 = Example 3: 110010 + 11001101 = Addition rules: 0 + 0 = 0 1 + 0 = 1 0 + 1 = 1 1 + 1 = 0 carry 1 1 + 1 + 1 = 1 carry 1

12 Adding BIN – Practice Add the following BIN numbers together: 1100 + 101 = 110011 + 100100 = 111010 + 11011 = Addition rules: 0 + 0 = 0 1 + 0 = 1 0 + 1 = 1 1 + 1 = 0 carry 1 1 + 1 + 1 = 1 carry 1

13 Adding BIN – Answers Add the following BIN numbers together: 1100 + 101 = 10001 110011 + 100100 = 1010111 111010 + 11011 = 1010101

14 Multiplying BIN Example 1: 10110 × 101 = Example 2: 11001 × 110 = Example 3: 100110 × 1101 =

15 Multiplying BIN Alternative Method Example 1: 10110 × 101 = Example 2: 11001 × 110 = Example 3: 100110 × 1101 =

16 Multiplying BIN – Practice Multiply the following BIN numbers: 110 × 11 = 10101 × 101 = 101 × 1010 =

17 Multiplying BIN – Answers Multiply the following BIN numbers: 110 × 11 = 10010 10101 × 101 = 1101001 101 × 1010 = 110010

18 Convert HEX to BIN Example 1: 3A Example 2: D7 Example 3: 159

19 Convert HEX to BIN – Practice Convert the following HEX to BIN: 21 A9 BBC

20 Convert HEX to BIN – Answers Convert the following HEX to BIN: 21 = 00100001 A9 = 10101001 BBC = 101110111100

21 Convert BIN to HEX Example 1: 100110 Example 2: 11001110 Example 3: 110100100011

22 Convert BIN to HEX – Practice Convert the following BIN to HEX : 1010101 10101100 1001101111

23 Convert BIN to HEX – Answers Convert the following BIN to HEX : 1010101 = 55 10101100 = AC 1001101111 = 26F

24 Any Questions?

25 Contact Details Eva Szatmari 0207 631 6254 Or e.szatmari@bbk.ac.uk GOOD LUCK


Download ppt "Department of Management School of Business, Economics and Informatics Binary Numbers 1 Eva Szatmari"

Similar presentations


Ads by Google