Download presentation

Presentation is loading. Please wait.

Published byJulian Bryant Modified over 2 years ago

1
John Owen, Rockport Fulton HS1 Computer Science LESSON ON Number Base Addition

2
John Owen, Rockport Fulton HS2 Objective In this lesson youll learn how to do simple addition in Base 2, 8, and 16. It is essentially the same as Base 10 addition, just in a different base!

3
John Owen, Rockport Fulton HS3 Review Base Ten Addition, #1 In Base 10 addition, you learned a very simple process. Look at this problem: First add the ones column, then the tens.

4
John Owen, Rockport Fulton HS4 Review Base Ten Addition, # The answer is 49…simple, right?

5
John Owen, Rockport Fulton HS5 Review Base Ten Addition, #2 Now look at this problem: When you add the ones column values, the result of 10 EQUALS the base value of 10, so you have to CARRY a 1.

6
John Owen, Rockport Fulton HS6 Review Base Ten Addition, # When a carry is made, you essentially divide by 10 (the base) to determine what value to carry, and mod by 10 to determine what value to leave behind.

7
John Owen, Rockport Fulton HS7 Review Base Ten Addition,# plus 7 is divided by 10 is 1 (carry) 10 mod 10 is 0 (leave)

8
John Owen, Rockport Fulton HS8 Review Base Ten Addition, # Answer is 50

9
John Owen, Rockport Fulton HS9 Review Base Ten Addition, #3 Heres a third example: When you add the ones column values, the result of 13 EXCEEDS the base value of 10, so CARRY a 1.

10
John Owen, Rockport Fulton HS10 Review Base Ten Addition, # plus 7 is divided by 10 is 1 (carry) 13 mod 10 is 3 (leave)

11
John Owen, Rockport Fulton HS11 Review Base Ten Addition, # Answer is 53

12
John Owen, Rockport Fulton HS12 Review Base Ten Addition, #4 And finally, a fourth example: The ones column result of 11 EXCEEDS the base value of 10, and you CARRY a 1.

13
John Owen, Rockport Fulton HS13 Review Base Ten Addition,# plus 5 is divided by 10 is 1 (carry) 11 mod 10 is 1 (leave)

14
John Owen, Rockport Fulton HS14 Review Base Ten Addition, # is 6 plus 5, which equals divided by 10 is 1 (carry) 11 mod 10 is 1 (leave)

15
John Owen, Rockport Fulton HS15 Review Base Ten Addition, # Answer is 111, base 10

16
John Owen, Rockport Fulton HS16 Base Eight Addition, #1 Now here is an example in base eight: When you add the ones column values, the answer is 6, and the second column answer is 4.

17
John Owen, Rockport Fulton HS17 Base Eight Addition. # Answer is 46, base eight You say, four six base eight, not forty-six The phrase forty-six is meant for base ten only.

18
John Owen, Rockport Fulton HS18 Base Eight Addition, #2 Now look at this problem: When you add the ones column values, the result of 8 EQUALS the base value of 8, and you have to CARRY a one.

19
John Owen, Rockport Fulton HS19 Base Eight Addition, # Again you divide by 8 (the base) to determine what value to carry, and mod by 8 to determine what value to leave behind.

20
John Owen, Rockport Fulton HS20 Base Eight Addition, # plus 4 is 8 8 divided by 8 is 1 (carry) 8 mod 8 is 0 (leave)

21
John Owen, Rockport Fulton HS21 Base Eight Addition, # Answer is five zero, base eight! Looks strange, but it is correct!

22
John Owen, Rockport Fulton HS22 Base Eight Addition, #3 Heres a third example: When you add the ones column values, the result of 13 EXCEEDS the base value of 8, and you have to CARRY a one.

23
John Owen, Rockport Fulton HS23 Base Eight Addition, # plus 7 is divided by 8 is 1 (carry) 13 mod 8 is 5 (leave)

24
John Owen, Rockport Fulton HS24 Base Eight Addition, # Answer is 55, base eight.

25
John Owen, Rockport Fulton HS25 Base Eight Addition, #4 And a fourth example: The ones column result of 11 EXCEEDS the base value of 8, …CARRY a one.

26
John Owen, Rockport Fulton HS26 Base Eight Addition, # plus 5 is divided by 8 is 1 (carry) 11 mod 8 is 3 (leave)

27
John Owen, Rockport Fulton HS27 Base Eight Addition, # is 6 plus 5 is divided by 8 is 1 (carry) 11 mod 8 is 3 (leave)

28
John Owen, Rockport Fulton HS28 Base Eight Addition, # Answer is 133, base 8

29
John Owen, Rockport Fulton HS29 Base Two Addition, #1 Base Two Addition is quite interesting, but also fairly simple. Since the only counting digits in base two are the values 0 and 1, there are only a few situations you have to learn.

30
John Owen, Rockport Fulton HS30 Base Two Addition, #1 Well start simple: 1 +1 =10 (one zero, base two) This looks strange, but the same process applies.

31
John Owen, Rockport Fulton HS31 Base Two Addition, # = 10 Since is 2, this EQUALS the base value of 2, which means you carry the div answer and leave the mod answer

32
John Owen, Rockport Fulton HS32 Base Two Addition, # = 10 2 / 2 = 1 (carry) 2 % 2 = 0 (leave) Thats it!

33
John Owen, Rockport Fulton HS33 Base Two Addition, #2 Heres another: = 101 Can you figure it out?

34
John Owen, Rockport Fulton HS34 Base Two Addition, # = 101 In the ones column, is 1. In the second column, 1+1 is 2, or 10 in base 2

35
John Owen, Rockport Fulton HS35 Base Two Addition, #3 And another: = Can you figure it out?

36
John Owen, Rockport Fulton HS36 Base Two Addition, #3 Step by step… = 0

37
John Owen, Rockport Fulton HS37 Base Two Addition, #3 Step by step… = 00

38
John Owen, Rockport Fulton HS38 Base Two Addition, #3 Step by step… = 000

39
John Owen, Rockport Fulton HS39 Base Two Addition, #3 Step by step… = 0000

40
John Owen, Rockport Fulton HS40 Base Two Addition, #3 Step by step… = Since is 3, carry 1 and leave 1

41
John Owen, Rockport Fulton HS41 Base Two Addition, #3 Step by step… = All done!

42
John Owen, Rockport Fulton HS42 Base Sixteen, Example #1 In base sixteen, remember the digits are 0-9, then A-F, representing the values 0-15 Heres an example:

43
John Owen, Rockport Fulton HS43 Base Sixteen, Example # = 3B, base is 11, which is B in base sixteen 2+1 is 3, so the answer is 3B

44
John Owen, Rockport Fulton HS44 Base Sixteen, Example #2 1 A9 +47 = F0, base is 16, equal to the base, so carry 1 and leave A(10) + 4 is 15, which is F

45
John Owen, Rockport Fulton HS45 Base Sixteen, Example #3 11 D6 +7C = 152, base 16 6+C(12) = 18, carry 1, leave 2 1+D(13)+7 = 21, carry 1, leave 5

46
John Owen, Rockport Fulton HS46 Base Sixteen, Example #4 11 EF +2D = 11C, base 16 F(15) + D(13) = 28, carry 1, leave C(12) 1 + E(14) + 2 = 17, carry 1, leave 1

47
John Owen, Rockport Fulton HS47 Exercises Now try these exercises = = 3. F 16 + F 16 = = B 16 = 6. C 16 + D 16 =

48
John Owen, Rockport Fulton HS48 Exercises = 8. F = = = = = =

49
John Owen, Rockport Fulton HS49 Exercises 14. ACE 16 + BAD 16 = = F =

50
John Owen, Rockport Fulton HS50 ANSWERS (JUMBLED) E BA9 8C B

Similar presentations

© 2016 SlidePlayer.com Inc.

All rights reserved.

Ads by Google