Number Systems Basic Concepts

fvsandoval 992 views 70 slides Oct 09, 2019
Slide 1
Slide 1 of 70
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40
Slide 41
41
Slide 42
42
Slide 43
43
Slide 44
44
Slide 45
45
Slide 46
46
Slide 47
47
Slide 48
48
Slide 49
49
Slide 50
50
Slide 51
51
Slide 52
52
Slide 53
53
Slide 54
54
Slide 55
55
Slide 56
56
Slide 57
57
Slide 58
58
Slide 59
59
Slide 60
60
Slide 61
61
Slide 62
62
Slide 63
63
Slide 64
64
Slide 65
65
Slide 66
66
Slide 67
67
Slide 68
68
Slide 69
69
Slide 70
70

About This Presentation

Introduction to Computing lecture presentation to analyze the number systems handled by digital computing devices to process data, convert decimal to binary, solve Binary Arithmetic, and extend understanding of other number systems (Octal and Hexadecimal).


Slide Content

NUMBER SYSTEMS FOR-IAN V. SANDOVAL

Analyze the number systems handled by digital computing devices to process data Convert decimal to binary Solve Binary Arithmetic Extend understanding of other number systems (Octal and Hexadecimal) Learning Objectives

Decimal Number System Data Representation in Digital Computing Binary Number System Contents

NUMBER SYSTEMS digital devices deals with numbers decimal number system for numerical calculations number system used to represents numerical data when using the computer

DECIMAL NUMBER SYSTEM Base 10 Number System The word “Decimal” comes or derived from the Latin word “Ten” The numerals run from 0 to 9 {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; these numerals are called Arabic Numerals Radix is the other term for the base of the number system

DECIMAL NUMBER SYSTEM Power of 10 may be expressed as 10 or 1, 10 1 or 10, 10 2 or 100, etc. and this is called place value . Each digit in decimal number system is called face value Example: The digit 3 in the decimal integer 321 has a face value of 3 and place value of 10 2 .

DECIMAL INTEGER Decimal Integer is a string of decimal digits. Example: 1234, 2509, etc.

DECIMAL FRACTION Decimal Fraction is a string of decimal digits with an embedded decimal point. Example: 1234.56, 2509.325 etc. In a decimal fraction, the place values to the right of the decimal are expressed to the negative powers of 10 such as 10 -1 or 1/10 or 0.1, 10 -2 or 1/100 or 0.01, etc.

EXPANDED NOTATION FOR DECIMAL INTEGER Any decimal integer can be expressed as the sum of each digit times the power of ten. For example, 2509 can be expressed as

EXPANDED NOTATION FOR DECIMAL FRACTION Any decimal fraction may also be expressed in expanded notation. For example, 2509.325 can be expressed as

DATA REPRESENTATION IN DIGITAL COMPUTING Data Data Representation Digitization Digital Revolution

DATA REPRESENTATION IN DIGITAL COMPUTING

DATA REPRESENTATION IN DIGITAL COMPUTING Representing Decimal Data by Binary Components

DATA REPRESENTATION IN DIGITAL COMPUTING

DATA REPRESENTATION IN DIGITAL COMPUTING

REPRESENTING NUMBERS

REPRESENTING TEXT

REPRESENTING TEXT

REPRESENTING TEXT

REPRESENTING TEXT – ASCII TABLE

REPRESENTING TEXT – EXTENDED ASCII CODES

REPRESENTING TEXT

BINARY NUMBER SYSTEM Binary is derived from the Latin word for “Two” Two or 2 is the base for the binary number system It uses only two numerals (0 & 1); these are called as BITS. A bit is a short term for binary digits. Zero or 0 represents the absence of an assigned value One or 1 represents the presence of the assigned value

BINARY NUMBER SYSTEM

BINARY INTEGERS binary numbers that do not have fractional part or without an embedded binary point. Example: 101 2 , 1110 2 , etc.

BINARY FRACTIONS binary numbers with an embedded binary point Example: 110.01 2 , 10110.010 2 , etc.

DECIMAL TO BINARY CONVERSIONS Convert 63 10 number system to binary number system.

DECIMAL TO BINARY CONVERSIONS Convert 63 10 number system to binary number system.

BINARY TO DECIMAL CONVERSIONS OF INTEGERS Convert 1001 2 to decimal number system

SEAT WORK ACTIVITY

DECIMAL TO BINARY CONVERSIONS OF FRACTIONS Convert the decimal fraction 0.375 10 to binary fraction.

DECIMAL TO BINARY CONVERSIONS OF FRACTIONS Convert the decimal fraction 0.375 10 to binary fraction.

NON-TERMINATION CONVERSIONS OF FRACTIONS The decimal fraction 0.8 10 is to be converted to its binary equivalent.

DECIMAL TO BINARY CONVERSIONS WITH INTEGRAL & FRACTIONAL PARTS Convert the decimal number 24.625 10 to its binary equivalent.

DECIMAL TO BINARY CONVERSIONS WITH INTEGRAL & FRACTIONAL PARTS Convert the decimal number 24.625 10 to its binary equivalent.

DECIMAL TO BINARY CONVERSIONS WITH INTEGRAL & FRACTIONAL PARTS Convert the decimal number 24.625 10 to its binary equivalent.

BINARY TO DECIMAL CONVERSIONS WITH INTEGRAL & FRACTIONAL PARTS Convert the binary number 11.011 2 to its decimal equivalent.

SEAT WORK ACTIVITY

BINARY ADDITION Four possible combinations when adding these two binary numbers: 0 + 0 = 0 0 + 1 = 1 1 + 0 = 1 1 + 1 = 0 plus a carry-over of 1

BINARY ADDITION C

BINARY ADDITION C C

BINARY SUBTRACTION The table for binary subtraction is as follows: 0 – 0 = 0 1 – 1 = 0 1 – 0 = 1 0 – 1 = 0 with a barrow of 1

BINARY SUBTRACTION

BINARY SUBTRACTION

BINARY SUBTRACTION

BINARY MULTIPLICATION The table for binary multiplication is as follows: 0 x 0 = 0 0 x 1 = 0 1 x 0 = 0 1 x 1 = 1

BINARY MULTIPLICATION

BINARY DIVISION The table for binary division is as follows: 0 / 0 = 0 0 / 1 = 0 1 / 1 = 1 1 / 0 = cannot be

BINARY DIVISION

BINARY DIVISION

BINARY DIVISION

SEAT WORK ACTIVITY

BINARY DIVISION The table for binary division is as follows: 0 / 0 = 0 0 / 1 = 0 1 / 1 = 1 1 / 0 = cannot be

OCTAL NUMBER SYSTEM Octal is derived from the Greek word meaning “eight”. The octal number system was adapted because of the difficulty of dealing with long strings of binary 0s and 1s in converting them into decimals. The radix for the number system is 8. It uses 8 basic digits {0, 1, 2, 3, 4, 5, 6, and 7}.

OCTAL NUMBER SYSTEM Power of Eight and its equivalent decimal value

OCTAL NUMBER SYSTEM Octal Number and its equivalent Decimal number

DECIMAL TO OCTAL CONVERSION Convert the decimal number 19 10 to its equivalent octal number.

OCTAL TO DECIMAL CONVERSION Convert the octal number 485 8 to its equivalent decimal number.

OCTAL TO BINARY CONVERSION Convert the octal number 732 8 to its equivalent binary number.

BINARY TO OCTAL CONVERSION Convert the binary number 10110111 2 to its equivalent octal number.

SEAT WORK ACTIVITY

HEXADECIMAL NUMBER SYSTEM The term “hexadecimal” is derived from the combining Greek word “six” with the Latin word “ten”. It uses 10 numerals {0,1,2,3,4,5,6,7,8 & 9} and letter {A, B, C, D, E & F}. The radix of the number system is 16.

HEXADECIMAL NUMBER SYSTEM Hexadecimal Number and its equivalent Decimal number

HEXADECIMAL NUMBER SYSTEM Power of sixteen and its equivalent decimal value

DECIMAL TO HEXADECIMAL CONVERSION Convert the decimal number 59 10 to its equivalent hexadecimal number.

HEXADECIMAL TO DECIMAL CONVERSION Convert the hexadecimal number AD 16 to its equivalent decimal number.

HEXADECIMAL TO BINARY CONVERSION Convert the hexadecimal number 1AC 16 to its equivalent binary number.

BINARY TO HEXADECIMAL CONVERSION Convert the binary number 10011101 2 to its equivalent hexadecimal number.

SEAT WORK ACTIVITY

REFERENCES Byte-Notes (n.d.). Number System in Computer. Retrieved from https://byte-notes.com/number-system-computer/. Cook, D. (n.d.). Number Systems. Retrieved from https://www.robotroom.com/NumberSystems.html. GeeksforGeeks (n.d.). Number System and Base Conversion. Retrieved from https://www.geeksforgeeks.org/number-system-and-base-conversions/. Mendelson, E. (2008). Number Systems and the Foundation of Analysis. New York: Dover Publications, Inc. TutorialPoints (n.d.). Number System Conversion. Retrieved from https://www.tutorialspoint.com/computer_logical_organization/number_system_conversion.htm