SlideShare una empresa de Scribd logo
1 de 29
Number System
Created By: Palash
Sachan
CONTENTS
 Introduction
 Decimal Number System
 Binary Number System
 Why Binary?
 Octal Number System
 Hexadecimal Number System
 Relationship between Hexadecimal, Octal,
Decimal, and Binary
 Number Conversions
INTRODUCTION
In early days when there were no means of
counting, people use to count with the help of
fingers, stones, sticks, etc.
These methods were not adequate and had many
limitations.
Many number system were introduced with the
passage of time like:
 Decimal Number System
 Binary Number System
 Octal Number System
 Hexadecimal Number System
Decimal Number System
• It consist of ten digit i.e. 0, 1, 2, 3, 4, 5, 6, 7, 8,
9 with the base 10.
• Each number can be used individually or they
can be grouped to form a numeric value as
85,48,35,456 etc.
BINARY NUMBER SYSTEM
• The Binary Number System consist of only two
digits– 0 and 1.
• Since this system use two digits, it has the
base 2.
• All digital computer use this number system
and convert the data input from the decimal
format into its binary equivalent.
Why Binary?
Since the computer is made up of electronic
components; it can have only two states, either
• On(1)
• Off(0)
The data which is given to the computer is
converted into binary form because a computer
understand only binary language.
It further converts the binary results into their
decimal equivalents for output.
Octal Number System
 In the Octal Number System it consist of 8
digits i.e. 0, 1, 2, 3, 4, 5, 6, 7 with a base 8.
 The sequence of octal number goes as 0, 1, 2,
3, 4, 5, 6, 7, 10, 11, 12, 13, 14, 15, 16, 17, 20,
21, 22, …..as go on.
 See each successive number after 7 is a
combination of two or more unique symbols of
octal system.
Hexadecimal Number System
 The Hexadecimal system use base 16.
 It has 16 possible digit symbol.
 It use the digit 0 through 9 plus the letters A, B,
C, D, E, and F as the 16 digit symbols.
Relationship between Hexadecimal, Octal,
Decimal, and Binary
 Notice that each
hexadecimal digit
represent a
group of four
binary digit. It Is
important to
remember that
Hex(Abbreviation
for Hexadecimal)
digit A through F
are equivalent to
the decimal value
10 through 15.
Hexadeci
mal
Octal Decimal Binary
0 0 0 0000
1 1 1 0001
2 2 2 0010
3 3 3 0011
4 4 4 0100
5 5 5 0101
6 6 6 0110
7 7 7 0111
8 10 8 1000
9 11 9 1001
A 12 10 1010
B 13 11 1011
C 14 12 1100
D 15 13 1101
E 16 14 1110
F 17 15 1111
NUMBER CONVERSIONS
Decimal-to-Binary Conversion
The method of converting Decimal to binary is
repeated-division method. For conversion follow
the rules:
1. Divide the given decimal number with the
base 2.
2. Write down the remainder and divide the
quotient by 2.
3. Repeat step 2 till the quotient is zero.
2 200 Remainders
2 100 0 LSB
2 50 0
2 25 0
Write
2 12 1 in
2 6 0 this
2 3 0
order
2 1 1
0 1 MSB
Binary-to-Decimal Conversion
To convert a binary number follow the steps:
1. Multiply each binary number with 2 having the
power 0 for last position, starting from the right
digit.
2. Increase the power one by one, with base as
2.
3. Sum up all the products to get decimal
number.
Decimal-to-Octal
The method of converting Decimal to Octal is
repeated-division method. For conversion follow
the rules:
1. Divide the given decimal number with the
base 8,
2. Write down the remainder and divide the
quotient by 8,
3. Repeat step 2 till the quotient is zero.
8 266 Remainders
8 33 2 LSB
8 4 1
0 4
MSB
Octal-to-Decimal Conversion
To convert a octal number follow the steps:
1. Multiply each binary number with 8 having the
power 0 for last position, starting from the right
digit.
2. Increase the power one by one, with base as
8.
3. Sum up all the products to get decimal
number.
Octal-to-Binary Conversion
The conversion from octal to binary is performed
by converting each octal digit to its 3-bit binary
equivalent.
The eight possible digits are converted as
indicated below:
Using these conversions, any octal number is
converted to binary by individually converting
each digit.
Octal Digit 0 1 2 3 4 5 6 7
Binary
Equivalent
000 001 010 011 100 101 110 111
Binary-to-Octal Conversion
Decimal-to-Hexadecimal Conversion
The method of converting Decimal to binary is
repeated-division method. For conversion follow
the rules:
1. Divide the given decimal number with the
base 16.
2. Write down the remainder and divide the
quotient by 16.
3. Repeat step 2 till the quotient is zero.
16 423 Remainders
16 26 7 LSB
16 1 A
0 1 MSB
Hexadecimal-to-Decimal Conversion
To convert a binary number follow the steps:
1. Multiply each binary number with 16 having
the power 0 for last position, starting from the
right digit.
2. Increase the power one by one, with base as
16.
3. Sum up all the products to get decimal
number.
Binary-to-Hexadecimal Conversion
Hexadecimal-to-Binary Conversion
Thank You For Attention
Any Query??? Ask Me..

Más contenido relacionado

La actualidad más candente

Number System
Number SystemNumber System
Number System
itutor
 
Hexadecimal numbers
Hexadecimal  numbersHexadecimal  numbers
Hexadecimal numbers
atcnerd
 
Number system....
Number system....Number system....
Number system....
mshoaib15
 

La actualidad más candente (20)

Number system in Digital Electronics
Number system in Digital ElectronicsNumber system in Digital Electronics
Number system in Digital Electronics
 
binary number system
 binary number system binary number system
binary number system
 
Binary system ppt
Binary system pptBinary system ppt
Binary system ppt
 
Number System
Number SystemNumber System
Number System
 
Decimal number system
Decimal number systemDecimal number system
Decimal number system
 
Computer Number system
Computer Number systemComputer Number system
Computer Number system
 
Number System
Number SystemNumber System
Number System
 
11 octal number system
11   octal number system11   octal number system
11 octal number system
 
Number system
Number systemNumber system
Number system
 
BCD.
BCD.BCD.
BCD.
 
Bcd
BcdBcd
Bcd
 
Hexadecimal numbers
Hexadecimal  numbersHexadecimal  numbers
Hexadecimal numbers
 
Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes
 
Digital logic design part1
Digital logic design part1Digital logic design part1
Digital logic design part1
 
Floating point representation
Floating point representationFloating point representation
Floating point representation
 
Number system....
Number system....Number system....
Number system....
 
Data Representation
Data RepresentationData Representation
Data Representation
 
Chapter 1 digital systems and binary numbers
Chapter 1 digital systems and binary numbersChapter 1 digital systems and binary numbers
Chapter 1 digital systems and binary numbers
 
Basic of number system
Basic of number systemBasic of number system
Basic of number system
 
PPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEMPPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEM
 

Destacado (9)

Number System
Number SystemNumber System
Number System
 
Number system
Number systemNumber system
Number system
 
number system
number systemnumber system
number system
 
Basic logic gates
Basic logic gatesBasic logic gates
Basic logic gates
 
Transistor as an amplifier
Transistor as an amplifierTransistor as an amplifier
Transistor as an amplifier
 
Computer number systems
Computer number systemsComputer number systems
Computer number systems
 
number system school ppt ninth class
number system school ppt ninth classnumber system school ppt ninth class
number system school ppt ninth class
 
3.bipolar junction transistor (bjt)
3.bipolar junction transistor (bjt)3.bipolar junction transistor (bjt)
3.bipolar junction transistor (bjt)
 
Transistors ppt by behin
Transistors ppt by behinTransistors ppt by behin
Transistors ppt by behin
 

Similar a Number system

Number System.pptx
Number System.pptxNumber System.pptx
Number System.pptx
Lovely Professional University
 
Week 4-Number Systems.pptx
Week 4-Number Systems.pptxWeek 4-Number Systems.pptx
Week 4-Number Systems.pptx
HamnaKhalid25
 

Similar a Number system (20)

Cse 112 number system-[id_142-15-3472]
Cse 112 number system-[id_142-15-3472]Cse 112 number system-[id_142-15-3472]
Cse 112 number system-[id_142-15-3472]
 
Number system
Number systemNumber system
Number system
 
Number system...this ppt specially help BTech 2nd year ECE department
Number system...this ppt specially help BTech 2nd year ECE departmentNumber system...this ppt specially help BTech 2nd year ECE department
Number system...this ppt specially help BTech 2nd year ECE department
 
Number System.pptx
Number System.pptxNumber System.pptx
Number System.pptx
 
Number-Systems presentation of the mathematics
Number-Systems presentation of the mathematicsNumber-Systems presentation of the mathematics
Number-Systems presentation of the mathematics
 
numbersystem-211022083557.pdf
numbersystem-211022083557.pdfnumbersystem-211022083557.pdf
numbersystem-211022083557.pdf
 
Intro to IT Skills Lec 5 - English Department.pptx
Intro to IT Skills Lec 5 - English Department.pptxIntro to IT Skills Lec 5 - English Department.pptx
Intro to IT Skills Lec 5 - English Department.pptx
 
Week 4-Number Systems.pptx
Week 4-Number Systems.pptxWeek 4-Number Systems.pptx
Week 4-Number Systems.pptx
 
Number system by ammar nawab
Number system by ammar nawabNumber system by ammar nawab
Number system by ammar nawab
 
Class 7 Cyber toolsComputer NUMBER SYSTEM
Class 7 Cyber toolsComputer NUMBER SYSTEMClass 7 Cyber toolsComputer NUMBER SYSTEM
Class 7 Cyber toolsComputer NUMBER SYSTEM
 
NUMBER SYSTEM.pptx
NUMBER SYSTEM.pptxNUMBER SYSTEM.pptx
NUMBER SYSTEM.pptx
 
5a data representation
5a   data representation5a   data representation
5a data representation
 
Lecture 2 ns
Lecture 2 nsLecture 2 ns
Lecture 2 ns
 
Numbersystemcont
NumbersystemcontNumbersystemcont
Numbersystemcont
 
Number Systems - AK.pptx
Number Systems - AK.pptxNumber Systems - AK.pptx
Number Systems - AK.pptx
 
04 chapter03 02_numbers_systems_student_version_fa16
04 chapter03 02_numbers_systems_student_version_fa1604 chapter03 02_numbers_systems_student_version_fa16
04 chapter03 02_numbers_systems_student_version_fa16
 
NUMBER SYSTEM.pptx
NUMBER  SYSTEM.pptxNUMBER  SYSTEM.pptx
NUMBER SYSTEM.pptx
 
Lecture-2(2): Number System & Conversion
Lecture-2(2): Number System & ConversionLecture-2(2): Number System & Conversion
Lecture-2(2): Number System & Conversion
 
Number System and Boolean Algebra
Number System and Boolean AlgebraNumber System and Boolean Algebra
Number System and Boolean Algebra
 
1.Digital Electronics overview & Number Systems.pptx
1.Digital Electronics overview & Number Systems.pptx1.Digital Electronics overview & Number Systems.pptx
1.Digital Electronics overview & Number Systems.pptx
 

Último

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Último (20)

Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 

Number system

  • 2. CONTENTS  Introduction  Decimal Number System  Binary Number System  Why Binary?  Octal Number System  Hexadecimal Number System  Relationship between Hexadecimal, Octal, Decimal, and Binary  Number Conversions
  • 3. INTRODUCTION In early days when there were no means of counting, people use to count with the help of fingers, stones, sticks, etc. These methods were not adequate and had many limitations. Many number system were introduced with the passage of time like:  Decimal Number System  Binary Number System  Octal Number System  Hexadecimal Number System
  • 4. Decimal Number System • It consist of ten digit i.e. 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 with the base 10. • Each number can be used individually or they can be grouped to form a numeric value as 85,48,35,456 etc.
  • 5. BINARY NUMBER SYSTEM • The Binary Number System consist of only two digits– 0 and 1. • Since this system use two digits, it has the base 2. • All digital computer use this number system and convert the data input from the decimal format into its binary equivalent.
  • 6. Why Binary? Since the computer is made up of electronic components; it can have only two states, either • On(1) • Off(0) The data which is given to the computer is converted into binary form because a computer understand only binary language. It further converts the binary results into their decimal equivalents for output.
  • 7. Octal Number System  In the Octal Number System it consist of 8 digits i.e. 0, 1, 2, 3, 4, 5, 6, 7 with a base 8.  The sequence of octal number goes as 0, 1, 2, 3, 4, 5, 6, 7, 10, 11, 12, 13, 14, 15, 16, 17, 20, 21, 22, …..as go on.  See each successive number after 7 is a combination of two or more unique symbols of octal system.
  • 8. Hexadecimal Number System  The Hexadecimal system use base 16.  It has 16 possible digit symbol.  It use the digit 0 through 9 plus the letters A, B, C, D, E, and F as the 16 digit symbols.
  • 9. Relationship between Hexadecimal, Octal, Decimal, and Binary  Notice that each hexadecimal digit represent a group of four binary digit. It Is important to remember that Hex(Abbreviation for Hexadecimal) digit A through F are equivalent to the decimal value 10 through 15. Hexadeci mal Octal Decimal Binary 0 0 0 0000 1 1 1 0001 2 2 2 0010 3 3 3 0011 4 4 4 0100 5 5 5 0101 6 6 6 0110 7 7 7 0111 8 10 8 1000 9 11 9 1001 A 12 10 1010 B 13 11 1011 C 14 12 1100 D 15 13 1101 E 16 14 1110 F 17 15 1111
  • 11. Decimal-to-Binary Conversion The method of converting Decimal to binary is repeated-division method. For conversion follow the rules: 1. Divide the given decimal number with the base 2. 2. Write down the remainder and divide the quotient by 2. 3. Repeat step 2 till the quotient is zero.
  • 12. 2 200 Remainders 2 100 0 LSB 2 50 0 2 25 0 Write 2 12 1 in 2 6 0 this 2 3 0 order 2 1 1 0 1 MSB
  • 13. Binary-to-Decimal Conversion To convert a binary number follow the steps: 1. Multiply each binary number with 2 having the power 0 for last position, starting from the right digit. 2. Increase the power one by one, with base as 2. 3. Sum up all the products to get decimal number.
  • 14.
  • 15. Decimal-to-Octal The method of converting Decimal to Octal is repeated-division method. For conversion follow the rules: 1. Divide the given decimal number with the base 8, 2. Write down the remainder and divide the quotient by 8, 3. Repeat step 2 till the quotient is zero.
  • 16. 8 266 Remainders 8 33 2 LSB 8 4 1 0 4 MSB
  • 17. Octal-to-Decimal Conversion To convert a octal number follow the steps: 1. Multiply each binary number with 8 having the power 0 for last position, starting from the right digit. 2. Increase the power one by one, with base as 8. 3. Sum up all the products to get decimal number.
  • 18.
  • 19. Octal-to-Binary Conversion The conversion from octal to binary is performed by converting each octal digit to its 3-bit binary equivalent. The eight possible digits are converted as indicated below: Using these conversions, any octal number is converted to binary by individually converting each digit. Octal Digit 0 1 2 3 4 5 6 7 Binary Equivalent 000 001 010 011 100 101 110 111
  • 20.
  • 22. Decimal-to-Hexadecimal Conversion The method of converting Decimal to binary is repeated-division method. For conversion follow the rules: 1. Divide the given decimal number with the base 16. 2. Write down the remainder and divide the quotient by 16. 3. Repeat step 2 till the quotient is zero.
  • 23. 16 423 Remainders 16 26 7 LSB 16 1 A 0 1 MSB
  • 24. Hexadecimal-to-Decimal Conversion To convert a binary number follow the steps: 1. Multiply each binary number with 16 having the power 0 for last position, starting from the right digit. 2. Increase the power one by one, with base as 16. 3. Sum up all the products to get decimal number.
  • 25.
  • 28. Thank You For Attention