03a Number Systems
-
Upload
janessa-johnjane-bongkahig -
Category
Documents
-
view
237 -
download
1
description
Transcript of 03a Number Systems
![Page 1: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/1.jpg)
Second Semester 2014-2015
![Page 2: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/2.jpg)
Number Systems
![Page 3: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/3.jpg)
Decimal Number System
Base 1010 possible
values
0, 1, 2, 3, 4, 5, 6, 7, 8, 9
![Page 4: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/4.jpg)
Binary Number System
Base 22 possible
values
0 and 1
![Page 5: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/5.jpg)
Octal Number System
Base 88 possible
values
0, 1, 2, 3, 4, 5, 6, 7
![Page 6: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/6.jpg)
Hexadecimal Number System
Base 1616 possible
values
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F
![Page 7: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/7.jpg)
Number System Conversion
![Page 8: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/8.jpg)
Decimal to other number systems (whole number)
Write the remainders in reverse order
Do this until the quotient becomes 0
Obtain the remainder
Divide the decimal number by the base
![Page 9: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/9.jpg)
Decimal to other number systems (whole number)
• Convert 2410 to binary, octal and hexadecimal
24/2 = 12 r. 0
![Page 10: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/10.jpg)
Decimal to other number systems (whole number)
• Convert 2410 to binary, octal and hexadecimal
24/2 = 12 r. 0
12/2 = 6 r. 0
![Page 11: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/11.jpg)
Decimal to other number systems (whole number)
• Convert 2410 to binary, octal and hexadecimal
24/2 = 12 r. 0
12/2 = 6 r. 0
6/2 = 3 r. 0
![Page 12: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/12.jpg)
Decimal to other number systems (whole number)
• Convert 2410 to binary, octal and hexadecimal
24/2 = 12 r. 0
12/2 = 6 r. 0
6/2 = 3 r. 0
3/2 = 1 r. 1
![Page 13: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/13.jpg)
Decimal to other number systems (whole number)
• Convert 2410 to binary, octal and hexadecimal
24/2 = 12 r. 0
12/2 = 6 r. 0
6/2 = 3 r. 0
3/2 = 1 r. 1
1/2 = 0 r. 1
![Page 14: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/14.jpg)
Decimal to other number systems (whole number)
• Convert 2410 to binary, octal and hexadecimal
24/2 = 12 r. 0 2410 = 110002
12/2 = 6 r. 0
6/2 = 3 r. 0
3/2 = 1 r. 1
1/2 = 0 r. 1
![Page 15: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/15.jpg)
Decimal to other number systems (fraction part)
Write the obtained whole number
Do this until the product becomes a whole number
Take note of the whole number
Multiply the fractional part by the base
![Page 16: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/16.jpg)
Decimal to other number systems (fraction part)
• Convert 24.75 to binary, octal, and hexadecimal
0.75 x 2 = 1.50
![Page 17: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/17.jpg)
Decimal to other number systems (fraction part)
• Convert 24.75 to binary, octal, and hexadecimal
0.75 x 2 = 1.50
0.50 x 2 = 1.0
![Page 18: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/18.jpg)
Decimal to other number systems (fraction part)
• Convert 24.75 to binary, octal, and hexadecimal
0.75 x 2 = 1.50 24.7510 = 11000.112
0.50 x 2 = 1.0
![Page 19: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/19.jpg)
Binary, Octal, Hexadecimal to Decimal
Convert the number in positional form and evaluate to
obtain its decimal equivalent.
![Page 20: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/20.jpg)
Binary, Octal, Hexadecimal to Decimal
• Convert 11000.112 to decimal.
1 1 0 0 00 x 20 = 0
![Page 21: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/21.jpg)
Binary, Octal, Hexadecimal to Decimal
• Convert 11000.112 to decimal.
1 1 0 0 00 x 20 = 00 x 21 = 0
![Page 22: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/22.jpg)
Binary, Octal, Hexadecimal to Decimal
• Convert 11000.112 to decimal.
1 1 0 0 00 x 20 = 00 x 21 = 00 x 22 = 0
![Page 23: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/23.jpg)
Binary, Octal, Hexadecimal to Decimal
• Convert 11000.112 to decimal.
1 1 0 0 00 x 20 = 00 x 21 = 00 x 22 = 01 x 23 = 8
![Page 24: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/24.jpg)
Binary, Octal, Hexadecimal to Decimal
• Convert 11000.112 to decimal.
1 1 0 0 00 x 20 = 00 x 21 = 00 x 22 = 01 x 23 = 81 x 24 = 16
24
![Page 25: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/25.jpg)
Binary, Octal, Hexadecimal to Decimal
• Convert 11000.112 to decimal.
. 1 1
1 x 2-1 = 0.51 x 2-2 = 0.25
0.75
11000.112 = 25.7510
![Page 26: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/26.jpg)
Binary to Octal
Convert each 3 digit binary number into its Decimal equivalent.
Pad in 0’s to fill the 3 slots in a group.
Moving from the radix point outward, group the binary digits in 3’s.
![Page 27: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/27.jpg)
Binary to Octal
• Convert 1001011.11 to binary
1001011.110
6 in decimal
![Page 28: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/28.jpg)
Binary to Octal
• Convert 1001011.11 to binary
1001011.110
3 in decimal
![Page 29: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/29.jpg)
Binary to Octal
• Convert 1001011.11 to binary
1001011.110
1 in decimal
![Page 30: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/30.jpg)
Binary to Octal
• Convert 1001011.11 to binary
001001011.110
1 in decimal
![Page 31: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/31.jpg)
Binary to Octal
• Convert 1001011.11 to binary
001001011.110
1001011.112 = 113.68
![Page 32: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/32.jpg)
Binary to Hexadecimal
Convert each 3 digit binary number into its Decimal equivalent.
Pad in 0’s to fill the 4 slots in a group.
Moving from the radix point outward, group the binary digits in 4’s.
![Page 33: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/33.jpg)
Octal to Binary
Convert each octal digit to it’s 3-digit binary equivalent
![Page 34: 03a Number Systems](https://reader034.fdocuments.in/reader034/viewer/2022042514/55cf8ee6550346703b96cc7d/html5/thumbnails/34.jpg)
Hexadecimal to Binary
Convert each octal digit to it’s 4-digit binary equivalent