0% found this document useful (0 votes)
141 views

03 Number Systems Arithmetic

1) The document discusses number systems and basic arithmetic operations in binary, octal, and hexadecimal. It provides examples of addition, subtraction, multiplication, and division using numbers represented in these different bases. Step-by-step work is shown for carrying out the arithmetic operations on multi-digit numbers in each number system.

Uploaded by

Jansen Salgado
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
141 views

03 Number Systems Arithmetic

1) The document discusses number systems and basic arithmetic operations in binary, octal, and hexadecimal. It provides examples of addition, subtraction, multiplication, and division using numbers represented in these different bases. Step-by-step work is shown for carrying out the arithmetic operations on multi-digit numbers in each number system.

Uploaded by

Jansen Salgado
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 14

Number Systems

Basic Arithmetic Operations


BINARY ADDITION

0+0=0
0+1=1
1+0=1
1 + 1 = 0 plus a carry over of 1
1 + 1 + 1 = 1 plus a carry over of 1

1
1. 1 0 02 2. 1 0 1 02 3. 1 1 . 0 12
+ 1 12 + 1 1 02 + 1 0 1 . 1 12
1 1 12 1 0 0 0 02 1 10 0 1 . 0 02
+1
2
-2
0 plus a carry of 1
BINARY SUBTRACTION

0-0=0
1-0=1
1-1=0
0 - 1 = 1 with a borrow of 1

1. 1010 2. 100011 1
22
- 100 - 1010 1 0 0 borrow of 1 (or =2)
110 11001 - 1
11

3. 1000.11 4. 101
- 11.01 - 111
101.10 - 010
BINARY MULTIPLICATION

0x0=0
1x0=0
0x1=0
1x1=1

1. 111 2. 11.00
x101 x 10.10
111 00 00
+ 000 110 0
111 0000
1 0 0 0 0 12 1100
1 1 1 . 1 0 0 02
BINARY DIVISION

0/1=0
1/1=1

1. 11002 / 1002 = 112


because,
112 1100
100 1100 - 100 (1st subtraction)
-100 1000
100 - 100 (2nd subtraction)
-100 100
000 - 100 (3rd subtraction)
000 (remainder)
the solution shows that there are 3 subtractions made, and has an
equivalent of 112.
OCTAL ADDITION

1. 1 2 38 2. 4 5 6 08
+ 3 18 + 2 3 18
1 5 48 5 0 1 18

11 1 4
3. 1 0 2. 3 4 58 +7
+ 5. 6 7 08 11
- 8
1 1 0. 2 3 58 3 plus a carry of 1
1
+2 1
+5 +3
8 +6
- 8 10
0 plus a carry of 1 - 8
2 plus a carry of 1
OCTAL SUBTRACTION

1. 6 5 3 18
- 1 1 3 08
5 4 0 18

7
2. 1 1 0 5 . 1 18 8
0 0 borrow of 1 (or =8)
- 1 4 2 . 0 18 0 8
4 3. 1 0 1 1 0 borrow of 1 (or =8)
- 4
4
OCTAL MULTIPLICATION

1. 1 2 38 2. 1 1 . 0 08
x 1 28 x 1 0 . 1 08
246 00 00
123 110 0
1 4 7 68 0000
1100
1 1 1 1 . 1 0 0 08
3. 2 0 48 4
x 2 28 x2
8
410 - 8
2 04 0 plus a carry of 1
2 4 5 08
OCTAL DIVISION

1. 608 / 128 = 4 . 6338


60
4.633 - 1 2 (1st subtraction)
12 60 12x1 = 12 4 6
12x2 = 24
-50 12x3 = 36 - 1 2 (2nd subtraction)
10.0 12x4 = 50 34
- 7.4 12x5 = 62 - 1 2 (3rd subtraction)
12x6 = 74
40 12x7 = 106 22
- 36 - 1 2 (4th subtraction)
4 1 0 (remainder)

the solution shows that there are 4 subtractions made, and a remainder of
108
HEXADECIMAL ADDITION

1. 4 6 316 2. 4 5 6 016
+ 4 116 + 2 3 116
4 A 416 4 7 9 116

1 1 9
3. 1 6 A. 3 9 58 +7
+ 8. 6 7 68 16
- 16
1 7 2. A 0 B8 0 plus a carry of 1

10
+ 8
18
- 16
2 plus a carry of 1
HEXADECIMAL SUBTRACTION

1. 6 5 3 18
- 1 1 3 08
5 4 0 18

7
2. 1 1 0 5 . 1 18 8
0 0 borrow of 1 (or =8)
- 1 4 2 . 0 18 0 8
4 3. 1 0 1 1 0 borrow of 1 (or =8)
- 4
4
HEXADECIMAL MULTIPLICATION
1
1. 1 4 316 2. 3 1 416
x 2 116 x 5 216
143 628
286 F64
2 9 A 316 F C6 816

4
x5
20
- 16
4 plus a carry of 1
HEXADECIMAL DIVISION

1. 9A116 / 1516 = 75.1816

7 5.18 15x1 = 15
15 9A1 15x2 = 2A
-93 15x3 = 3F
15x4 = 54
71 15x5 = 69
- 69 15x6 = 7E
2.0 15x7 = 93
15x8 = A8
- 15 15x9 =BD
B0 15xA=D2
- A8
8
Seatwork
Perform the following operations.

1) 1101012 + 10112 + 11012 6) 10A1C16 - 2B0816

2) 2548 + 1238 + 1108 7) 110112 x 1012

3) 45C116 + 20A16 + 11016 8) 4238 x 258

4) 1011012 - 10112 9) 110112  1012

5) 205168 - 6148 10) F4316  2016

You might also like