SlideShare a Scribd company logo
NUMBER SYSTEM
OUTLINE
◾ 1.1 Numbering system
◾ Binary number system
◾ Octal number system
◾ Decimal number system
◾ Hexadecimal number system
◾ 1.2 Conversion from one number system to another
◾ 1.3 Floating point numbers,
1.1 NUMBERING SYSTEM
◾ A mathematical notation for representing numbers is
known as number system.
◾ A number system is a system for expressing numbers .
◾ The number system is used for representing the
information.
◾ The number system has different bases and the most
common of them are the decimal, binary, octal, and
hexadecimal.
◾ The base or radix of the number system is the
total number of the digit used in the number system.
1.1 NUMBERING SYSTEM
CONTD…
◾ Collection of digits forms a number, which can be divided in two parts :
Integer and fractional part that set apart by a radix point , shown below
1.1 NUMBERING SYSTEM
CONTD…
STORAGE (MEMORY) SIZE UNIT TABLE
Number Systems
Two types of number systems are:
• Non-positional number systems
• Positional number systems
Non-positional Number System
Characteristics
 Use symbols such as I for 1, II for 2, III for 3, IIII
for 4, IIIII for 5, etc
 Each symbol represents the same value regardless
of its position in the number
 The symbols are simply added to find out the value
of a particular number
Difficulty
• It is difficult to perform arithmetic with such a
number system
Positional Number System
Characteristics
• Use only a few symbols called digits
• These symbols represent different values depending
on the position they occupy in the number
TYPES OF NUMBER SYSTEMS
◾Some of the important types of number system
are:
◾ Decimal Number System
◾ Binary Number System
◾ Octal Number System
◾ Hexadecimal N.S.
8
BASE-N NUMBER SYSTEM
◾Base N
◾N Digits: 0, 1, 2, 3, 4, 5, …, N-1
◾Example: 1045N
◾Positional Number System
• Digit do is the least significant digit (LSD).
• Digit dn-1 is the most significant digit (MSD).
N n 1
L N 4
N 3
N 2
N 1
N 0
dn1 L d4 d3 d2 d1 d0
9
DECIMAL NUMBER SYSTEM
◾ Digit d0 is the least significant digit (LSD).
◾ Digit dn-1 is the most significant digit (MSD).
d 4 d 3 d 2 d 1 d 0
◾ Base/Radix 10
◾ Ten Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
◾ Example: 104510
◾ Positional Number System
1 0 n  1
L 1 0 4
1 0 3
1 0 2
1 0 1
1 0 0
d n  1 L
10
BINARY NUMBER SYSTEM
◾ Base 2
◾ Two Digits: 0, 1
◾ Example: 10101102
◾ Positional Number System
◾ Binary Digits are called Bits
◾ Bit bo is the least significant bit (LSB).
◾ Bit bn-1 is the most significant bit (MSB).
2 4
2 3
2 2
2 1
2 0
b 4 b 3 b 2 b 1 b 0
2 n  1
L
b n  1 L
OCTAL NUMBER SYSTEM
◾ Base 8
◾ Two Digits: 0, 1,2,3,4,5,6,7,
◾ Example: 01458
◾ Positional Number System
8n-1 …. 83 82 81 80
000 0
001 1
010 2
011 3
100 4
101 5
110 6
111 7
12
HEXADECIMAL NUMBER SYSTEM
◾Base 16
◾Sixteen Digits: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
◾Example: EF5616
◾Positional Number System
0000 0
0001 1
0010 2
0011 3
0100 4
0101 5
0110 6
0111 7
1000 8
1001 9
1010 A
1011 B
1100 C
1101 D
1110 E
1111 F
16n1
L 164
163
162
161
160
CONVERSION TABLE BINARY, OCTAL, DECIMAL
AND HEXADECIMAL
CONVERSION OF BASE
1.2 CONVERSION OF BASE
1. Decimal to Binary, Octal and Hexadecimal
2. Binary to Decimal, Octal and Hexadecimal
3. Octal to Binary, Decimal and Hexadecimal
4. Hexadecimal to Binary, Octal and Decimal
1.2.1 DECIMAL TO BINARY CONVERSION
◾ Step 1: Divide the decimal
number by 2, get the integer
quotient and the remainder.
◾ Step 2: Convert the remainder to
the binary digit in that position.
◾ Step 3: Using the integer
quotient to repeat the steps until
the integer quotient equals to 0.
DECIMAL TO BINARY CONVERSION
◾ (62)10=? ◾ (43)10=?
EXAMPLES
1. (78)10=? 2. (156)10=? 3.(266)10= ?
DECIMAL TO FRACTION BINARY CONVERSION
DECIMAL FRACTION TO BINARY CONVERSION
◾(0.692)10=? ◾(0.188)10=?
DECIMAL TO OCTAL
◾ Step 1: Divide the decimal number
by 8, get the integer quotient and
the remainder.
◾ Step 2: Convert the remainder to
the octal digit in that position.
◾ Step 3: Using the integer quotient
to repeat the steps until the integer
quotient equals to 0.
DECIMAL TO OCTAL
◾ (100)10=? ◾ (473)10=?
DECIMAL FRACTION TO OCTAL CONVERSION
DECIMAL TO HEXADECIMAL
◾ Step 1: Divide the decimal number
by 16, get the integer quotient and
the remainder.
◾ Step 2: Convert the remainder to
the hex digit in that position.
◾ Step 3: Using the integer quotient
to repeat the steps until the integer
quotient equals to 0.
DECIMAL FRACTION TO HEXADECIMAL
1.2.2 BINARY TO DECIMAL
EXAMPLES
BINARY FRACTION TO DECIMAL
BINARY TO OCTAL
◾ For binary representation of octal
number, each octal number is
represented by 3 binary bits.
◾ For example, the octal number 5 is
represented by 101 while the octal
45 by 100101.
BINARY TO OCTAL
BINARY FRACTION TO OCTAL
BINARY TO HEXADECIMAL
◾ Start from the right-hand side by
dividing the given binary digits into
groups of four.
◾ Convert each group into the
hexadecimal number by applying
binary to decimal conversion
methods and then represent
decimal value to their
corresponding hexadecimal value.
BINARY TO HEXADECIMAL
1.2.3. OCTAL TO DECIMAL
1.2.3 OCTAL TO BINARY
OCTAL TO HEXADECIMAL
1.2.4 HEXADECIMAL TO OCTAL
1.2.4 HEXADECIMAL TO OCTAL
1.2.4 HEXADECIMAL TO DECIMAL
1.2.4 HEXADECIMAL TO BINARY
FLOATING POINT NUMBER
ch-01numbersystems computer fundamentals
1.3 FLOATING POINT NUMBER
◾ very large integer number, storage problem
◾ Fixed point number means the fractional point(decimal point)
◾ Floating point numbers are also called as the real numbers.
◾ So representation of such number in floating form which have both integer and
fraction parts. It uses power 10.
◾ Parts of floating point number: 1. Mantissa II. Exponent
◾ Mantissa: It holds the main digits of floating point
◾ Exponent: It defines where the decimal point should be placed
◾ Example
◾ Only the mantissa and the exponent are stored. The base is implied (known already)
As it is not stored this will save memory capacity
A 32 BIT FLOATING POINTNUMBER
Sign Exponent Mantissa
1bit 8 bits 23 bits

More Related Content

Similar to ch-01numbersystems computer fundamentals (20)

PDF
5a data representation
arslanzafar13162
 
PPTX
Computer number system, conversion and identification
RALPHRUDGENBATOON
 
PPT
Number_Systems decimal, binary, octal, and hexadecimal
Meenakshi Munjal
 
PPT
Number Systems and its effectiveness .ppt
MuhammadAdeel321
 
PPT
An introduction to the different number systems
hassanbokhari14
 
PPT
Number_Systems_Number base conversions.ppt
anushachalla14
 
PPT
Number_Systems _binary_octal_hex_dec.ppt
ManoRanjani30
 
PPTX
Lecture :different _Number System_.pptx
bul88458
 
PDF
Number system
Divya Shrivastava
 
PPTX
Okkkkk
Bilal Maqbool ツ
 
PPT
Number systems and its conversion & complements.ppt
NagaiKumaresan1
 
PPTX
NUMBER SYSTEM.pptx
AsifRahaman16
 
PPTX
Number system and their conversion
Ram Pratap Singh
 
PPT
02 number systems
john01383
 
PPTX
Number system
BPGCW
 
PPTX
1. Digital Electronics - Number System PART 1.pptx
vsigncontents
 
PPT
Data Representation Data Representation1
nemoo80nemoo90
 
PPTX
Data repersentation.
Ritesh Saini
 
PPTX
1.Digital Electronics overview & Number Systems.pptx
LibanMohamed26
 
PPT
Number system
Bikash Kumar
 
5a data representation
arslanzafar13162
 
Computer number system, conversion and identification
RALPHRUDGENBATOON
 
Number_Systems decimal, binary, octal, and hexadecimal
Meenakshi Munjal
 
Number Systems and its effectiveness .ppt
MuhammadAdeel321
 
An introduction to the different number systems
hassanbokhari14
 
Number_Systems_Number base conversions.ppt
anushachalla14
 
Number_Systems _binary_octal_hex_dec.ppt
ManoRanjani30
 
Lecture :different _Number System_.pptx
bul88458
 
Number system
Divya Shrivastava
 
Number systems and its conversion & complements.ppt
NagaiKumaresan1
 
NUMBER SYSTEM.pptx
AsifRahaman16
 
Number system and their conversion
Ram Pratap Singh
 
02 number systems
john01383
 
Number system
BPGCW
 
1. Digital Electronics - Number System PART 1.pptx
vsigncontents
 
Data Representation Data Representation1
nemoo80nemoo90
 
Data repersentation.
Ritesh Saini
 
1.Digital Electronics overview & Number Systems.pptx
LibanMohamed26
 
Number system
Bikash Kumar
 

More from dbmscse61 (9)

PPTX
data communication, types , impact on real life
dbmscse61
 
PPTX
DATA COMMUNICATION and impact in real life
dbmscse61
 
PPT
relational algebra and it's implementation
dbmscse61
 
PPTX
Computer memory and types of memory.pptx
dbmscse61
 
PPTX
computercodes, BCD, EBCDIC,ASCII,UNICODE
dbmscse61
 
PPTX
Computer Arithmetic(add,sub,multiply,div).pptx
dbmscse61
 
PPTX
different Data type Modifiers in c language
dbmscse61
 
PPTX
dbms lecture 1.pptx , where traditional file system vs database management ar...
dbmscse61
 
PPTX
Computer Fundamentals lecture 1 Basic components of computer system.pptx
dbmscse61
 
data communication, types , impact on real life
dbmscse61
 
DATA COMMUNICATION and impact in real life
dbmscse61
 
relational algebra and it's implementation
dbmscse61
 
Computer memory and types of memory.pptx
dbmscse61
 
computercodes, BCD, EBCDIC,ASCII,UNICODE
dbmscse61
 
Computer Arithmetic(add,sub,multiply,div).pptx
dbmscse61
 
different Data type Modifiers in c language
dbmscse61
 
dbms lecture 1.pptx , where traditional file system vs database management ar...
dbmscse61
 
Computer Fundamentals lecture 1 Basic components of computer system.pptx
dbmscse61
 
Ad

Recently uploaded (20)

PPTX
How to Create Odoo JS Dialog_Popup in Odoo 18
Celine George
 
PPTX
PPT-Q1-WK-3-ENGLISH Revised Matatag Grade 3.pptx
reijhongidayawan02
 
PDF
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
PPT
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
PDF
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
PDF
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
PPTX
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
PPTX
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 
PDF
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
PPTX
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
PDF
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
PPTX
PPT-Q1-WEEK-3-SCIENCE-ERevised Matatag Grade 3.pptx
reijhongidayawan02
 
PPTX
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
PPTX
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
PPTX
How to Set Up Tags in Odoo 18 - Odoo Slides
Celine George
 
PPTX
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
PPTX
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
PPTX
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
PPTX
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
PDF
Aprendendo Arquitetura Framework Salesforce - Dia 03
Mauricio Alexandre Silva
 
How to Create Odoo JS Dialog_Popup in Odoo 18
Celine George
 
PPT-Q1-WK-3-ENGLISH Revised Matatag Grade 3.pptx
reijhongidayawan02
 
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
PPT-Q1-WEEK-3-SCIENCE-ERevised Matatag Grade 3.pptx
reijhongidayawan02
 
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
How to Set Up Tags in Odoo 18 - Odoo Slides
Celine George
 
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
Aprendendo Arquitetura Framework Salesforce - Dia 03
Mauricio Alexandre Silva
 
Ad

ch-01numbersystems computer fundamentals

  • 2. OUTLINE ◾ 1.1 Numbering system ◾ Binary number system ◾ Octal number system ◾ Decimal number system ◾ Hexadecimal number system ◾ 1.2 Conversion from one number system to another ◾ 1.3 Floating point numbers,
  • 3. 1.1 NUMBERING SYSTEM ◾ A mathematical notation for representing numbers is known as number system. ◾ A number system is a system for expressing numbers . ◾ The number system is used for representing the information. ◾ The number system has different bases and the most common of them are the decimal, binary, octal, and hexadecimal. ◾ The base or radix of the number system is the total number of the digit used in the number system.
  • 4. 1.1 NUMBERING SYSTEM CONTD… ◾ Collection of digits forms a number, which can be divided in two parts : Integer and fractional part that set apart by a radix point , shown below
  • 7. Number Systems Two types of number systems are: • Non-positional number systems • Positional number systems
  • 8. Non-positional Number System Characteristics  Use symbols such as I for 1, II for 2, III for 3, IIII for 4, IIIII for 5, etc  Each symbol represents the same value regardless of its position in the number  The symbols are simply added to find out the value of a particular number Difficulty • It is difficult to perform arithmetic with such a number system
  • 9. Positional Number System Characteristics • Use only a few symbols called digits • These symbols represent different values depending on the position they occupy in the number
  • 10. TYPES OF NUMBER SYSTEMS ◾Some of the important types of number system are: ◾ Decimal Number System ◾ Binary Number System ◾ Octal Number System ◾ Hexadecimal N.S.
  • 11. 8 BASE-N NUMBER SYSTEM ◾Base N ◾N Digits: 0, 1, 2, 3, 4, 5, …, N-1 ◾Example: 1045N ◾Positional Number System • Digit do is the least significant digit (LSD). • Digit dn-1 is the most significant digit (MSD). N n 1 L N 4 N 3 N 2 N 1 N 0 dn1 L d4 d3 d2 d1 d0
  • 12. 9 DECIMAL NUMBER SYSTEM ◾ Digit d0 is the least significant digit (LSD). ◾ Digit dn-1 is the most significant digit (MSD). d 4 d 3 d 2 d 1 d 0 ◾ Base/Radix 10 ◾ Ten Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 ◾ Example: 104510 ◾ Positional Number System 1 0 n  1 L 1 0 4 1 0 3 1 0 2 1 0 1 1 0 0 d n  1 L
  • 13. 10 BINARY NUMBER SYSTEM ◾ Base 2 ◾ Two Digits: 0, 1 ◾ Example: 10101102 ◾ Positional Number System ◾ Binary Digits are called Bits ◾ Bit bo is the least significant bit (LSB). ◾ Bit bn-1 is the most significant bit (MSB). 2 4 2 3 2 2 2 1 2 0 b 4 b 3 b 2 b 1 b 0 2 n  1 L b n  1 L
  • 14. OCTAL NUMBER SYSTEM ◾ Base 8 ◾ Two Digits: 0, 1,2,3,4,5,6,7, ◾ Example: 01458 ◾ Positional Number System 8n-1 …. 83 82 81 80 000 0 001 1 010 2 011 3 100 4 101 5 110 6 111 7
  • 15. 12 HEXADECIMAL NUMBER SYSTEM ◾Base 16 ◾Sixteen Digits: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F ◾Example: EF5616 ◾Positional Number System 0000 0 0001 1 0010 2 0011 3 0100 4 0101 5 0110 6 0111 7 1000 8 1001 9 1010 A 1011 B 1100 C 1101 D 1110 E 1111 F 16n1 L 164 163 162 161 160
  • 16. CONVERSION TABLE BINARY, OCTAL, DECIMAL AND HEXADECIMAL
  • 18. 1.2 CONVERSION OF BASE 1. Decimal to Binary, Octal and Hexadecimal 2. Binary to Decimal, Octal and Hexadecimal 3. Octal to Binary, Decimal and Hexadecimal 4. Hexadecimal to Binary, Octal and Decimal
  • 19. 1.2.1 DECIMAL TO BINARY CONVERSION ◾ Step 1: Divide the decimal number by 2, get the integer quotient and the remainder. ◾ Step 2: Convert the remainder to the binary digit in that position. ◾ Step 3: Using the integer quotient to repeat the steps until the integer quotient equals to 0.
  • 20. DECIMAL TO BINARY CONVERSION ◾ (62)10=? ◾ (43)10=?
  • 21. EXAMPLES 1. (78)10=? 2. (156)10=? 3.(266)10= ?
  • 22. DECIMAL TO FRACTION BINARY CONVERSION
  • 23. DECIMAL FRACTION TO BINARY CONVERSION ◾(0.692)10=? ◾(0.188)10=?
  • 24. DECIMAL TO OCTAL ◾ Step 1: Divide the decimal number by 8, get the integer quotient and the remainder. ◾ Step 2: Convert the remainder to the octal digit in that position. ◾ Step 3: Using the integer quotient to repeat the steps until the integer quotient equals to 0.
  • 25. DECIMAL TO OCTAL ◾ (100)10=? ◾ (473)10=?
  • 26. DECIMAL FRACTION TO OCTAL CONVERSION
  • 27. DECIMAL TO HEXADECIMAL ◾ Step 1: Divide the decimal number by 16, get the integer quotient and the remainder. ◾ Step 2: Convert the remainder to the hex digit in that position. ◾ Step 3: Using the integer quotient to repeat the steps until the integer quotient equals to 0.
  • 28. DECIMAL FRACTION TO HEXADECIMAL
  • 29. 1.2.2 BINARY TO DECIMAL
  • 32. BINARY TO OCTAL ◾ For binary representation of octal number, each octal number is represented by 3 binary bits. ◾ For example, the octal number 5 is represented by 101 while the octal 45 by 100101.
  • 35. BINARY TO HEXADECIMAL ◾ Start from the right-hand side by dividing the given binary digits into groups of four. ◾ Convert each group into the hexadecimal number by applying binary to decimal conversion methods and then represent decimal value to their corresponding hexadecimal value.
  • 37. 1.2.3. OCTAL TO DECIMAL
  • 38. 1.2.3 OCTAL TO BINARY
  • 46. 1.3 FLOATING POINT NUMBER ◾ very large integer number, storage problem ◾ Fixed point number means the fractional point(decimal point) ◾ Floating point numbers are also called as the real numbers. ◾ So representation of such number in floating form which have both integer and fraction parts. It uses power 10. ◾ Parts of floating point number: 1. Mantissa II. Exponent ◾ Mantissa: It holds the main digits of floating point ◾ Exponent: It defines where the decimal point should be placed ◾ Example ◾ Only the mantissa and the exponent are stored. The base is implied (known already) As it is not stored this will save memory capacity
  • 47. A 32 BIT FLOATING POINTNUMBER Sign Exponent Mantissa 1bit 8 bits 23 bits