SlideShare a Scribd company logo
Conversion of
Number Systems
Conversion between numbers systems is quite an
easy task. Any number from any number system
can be converted to other number systems with the
help of certain methods that will be discussed in
next slides:
Conversion from Decimal
Number System to Other
Number Systems
Decimal Numbers are represented with digits
0-9 and with base 10. Conversion of a number
system means conversion from one base to
another. Following are the conversion of the
Decimal Number System to other Number
Systems:
Decimal numbers are represented in base 10, but
the binary numbers are of base 2. Hence, to
convert a decimal number to binary number, the
base of that number is to be changed. Follow the
steps given here :
Decimal to Binary Conversion:
•Step 1: Divide the Decimal Number with the base of the number
system to be converted to. Here the conversion is to binary, hence
the divisor will be 2.
•Step 2: The remainder obtained from the division will become the
least significant digit of the new number.
•Step 3: The quotient obtained from the division will become the next
dividend and will be divided by base i.e. 2.
•Step 4: The remainder obtained will become the second least
significant digit i.e. it will be added in the left of the previously
obtained digit.
Now, the steps 3 and 4 are repeated until the
quotient obtained becomes 0, and the remainders
obtained after each iteration are added to the left
of the existing digits.
After all the iterations are over, the last obtained
remainder will be termed as the Most Significant
digit.
Octal Numbers are represented in base 8.
Hence, to convert a decimal number to octal
number, the base of that number is to be
changed. Follow the steps given here :
Decimal to Octal Conversion:
• Step 1: Divide the Decimal Number with the base of the number system to
be converted to. Here the conversion is to octal, hence the divisor will be 8.
• Step 2: The remainder obtained from the division will become the least
significant digit of the new number.
• Step 3: The quotient obtained from the division will become the next
dividend and will be divided by base i.e. 8.
• Step 4: The remainder obtained will become the second least significant
digit i.e. it will be added in the left of the previously obtained digit.
Now, the steps 3 and 4 are repeated until the quotient obtained becomes 0,
and the remainders obtained after each iteration are added to the left of the
existing digits.
Hexadecimal Numbers are represented in base
16. Hence, to convert a decimal number to
hexadecimal number, the base of that number is
to be changed. Follow the steps given here :
Decimal to Hexadecimal
Conversion
• Step 1: Divide the Decimal Number with the base of the number system to
be converted to. Here the conversion is to Hex hence the divisor will be 16.
• Step 2: The remainder obtained from the division will become the least
significant digit of the new number.
• Step 3: The quotient obtained from the division will become the next
dividend and will be divided by base i.e. 16.
• Step 4: The remainder obtained will become the second least significant
digit i.e. it will be added in the left of the previously obtained digit.
Now, the steps 3 and 4 are repeated until the quotient obtained becomes 0, and
the remainders obtained after each iteration are added to the left of the
existing digits.
Conversion from Binary
Number System to Other
Number Systems
Binary Numbers are represented with digits 0
and 1 and with base 2. Conversion of a
number system means conversion from one
base to another. Following are the conversion
of the Binary Number System to other
Number Systems:
Binary numbers are represented in base 2 but the decimal numbers
are of base 10. Hence, to convert the binary number into a decimal
number, the base of that number is to be changed. Follow the steps
given below:
•Step 1: Multiply each digit of the Binary number with the place
value of that digit, starting from right to left i.e. from LSB to
MSB.
•Step 2: Add the result of this multiplication and the decimal
number will be formed.
Binary to Decimal Conversion
Example: To convert (11101011)2 into a decimal number
Binary numbers are represented in base 2 but the octal
numbers are of base 8. Hence, to convert the binary number
into octal number, the base of that number is to be changed.
Follow the steps given below:
•Step 1: Divide the binary number into groups of three
digits starting from right to left i.e. from LSB to MSB.
•Step 2: Convert these groups into equivalent octal digits.
Binary to Octal Conversion:
Example: To convert (11101011)2 into an octal number
Binary numbers are represented in base 2 but
the Hexadecimal numbers are of base 10.
Hence, to convert the binary number into Hex
number, the base of that number is to be
changed. Follow the steps given here:
Binary to Hexadecimal
Conversion
•Step 1: Divide the binary number into groups of
four digits starting from right to left i.e. from
LSB to MSB.
•Step 2: Convert these groups into equivalent hex
digits.
Example: To convert (1110101101101)2 into a hex number
Conversion from Octal
Number System to
Other Number Systems
Octal Numbers are represented with digits 0-7 and
with base 8. Conversion of a number system means
conversion from one base to another. Following are
the conversions of the Octal Number System to other
Number Systems:
Octal numbers are represented in base 8, but the decimal numbers
are of base 10. Hence, to convert an octal number to a decimal
number, the base of that number is to be changed. Follow the
steps given below:
•Step 1: Multiply each digit of the Octal number with the place
value of that digit, starting from right to left i.e. from LSB to
MSB.
•Step 2: Add the result of this multiplication and the decimal
number will be formed.
Octal to Decimal Conversion
Example :
Octal numbers are represented in base 8, but the binary numbers
are of base 2. Hence, to convert an octal number to a binary
number, the base of that number is to be changed. Follow the
steps given below:
•Step 1: Write each digit of the octal number separately.
•Step 2: Convert each digit into an equivalent group of three
binary digits.
•Step 3: Combine these groups to form the whole binary
number.
Octal to Binary Conversion
Example: (247)8 is to be converted to binary
Octal numbers are represented in base 8, but the
hexadecimal numbers are of base 16. Hence, to
convert an octal number to a hex number, the base
of that number is to be changed. Follow the steps
given here :
Octal to Hexadecimal
Conversion
• Step 1: We need to convert the Octal number to Binary first. For that,
follow the steps given in the above conversion.
• Step 2: Now to convert the binary number to Hex number, divide the
binary digits into groups of four digits starting from right to left i.e. from
LSB to MSB.
• Step 3: Add zeros prior to MSB to make it a proper group of four
digits(if required)
• Step 4: Now convert these groups into their relevant decimal values.
• Step 5: For values from 10-15, convert it into Hex symbols i.e. from A-F
Example: (5456)8 is to be converted to hex
Conversion from
Hexadecimal Number
System to Other
Number Systems
Hex Numbers are represented with digits 0-9 and
with letters A-F and with base 16. Conversion of a
number system means conversion from one base
to another. Following are the conversions of the
Hexadecimal Number System to other Number
Systems:
Hexadecimal numbers are represented in base 16 but the decimal numbers are
of base 10. Hence, to convert a hexadecimal number to a decimal number, the
base of that number is to be changed. Follow the steps given below:
• Step 1: Write the decimal values of the symbols used in the Hex number i.e.
from A-F
• Step 2: Multiply each digit of the Hex number with its place value. starting
from right to left i.e. LSB to MSB.
• Step 3: Add the result of multiplications and the final sum will be the
decimal number.
Hexadecimal to Decimal
Conversion
Example: To convert (8EB4)16 into a decimal value
Hex numbers are represented in base 16, but the binary numbers are of
base 2. Hence, to convert a hexadecimal number to a binary number, the
base of that number is to be changed. Follow the steps given below:
• Step 1: Convert the Hex symbols into its equivalent decimal values.
• Step 2: Write each digit of the Hexadecimal number separately.
• Step 3: Convert each digit into an equivalent group of four binary digits.
• Step 4: Combine these groups to form the whole binary number.
Hexadecimal to Binary
Conversion
Example: (B2E)16 is to be converted to binary
Hexadecimal numbers are represented in base 16, but the octal numbers are of base 8.
Hence, to convert a hex number to an octal number, the base of that number is to be
changed. Follow the steps given below:
• Step 1: We need to convert the Hexadecimal number to Binary first. For that, follow the
steps given in the above conversion.
• Step 2: Now to convert the binary number to Octal number, divide the binary digits into
groups of three digits starting from right to left i.e. from LSB to MSB.
• Step 3: Add zeros prior to MSB to make it a proper group of three digits(if required)
• Step 4: Now convert these groups into their relevant decimal values.
Hexadecimal to Octal
Conversion
Example: (B2E)16 is to be converted to hex
Thank You

More Related Content

What's hot

Binary computing
Binary computingBinary computing
Binary computing
samina khan
 
Number systems
Number systemsNumber systems
Number systems
ponandannel
 
Number system
Number systemNumber system
Number system
ankush9927
 
Introduction to the Binary Number System
Introduction to the Binary Number SystemIntroduction to the Binary Number System
Introduction to the Binary Number SystemJames Hamilton
 
Number system part 1
Number  system part 1Number  system part 1
Number system part 1
Excel Technology Lanka (Pvt) Ltd
 
Codes
CodesCodes
Number system and codes
Number system and codesNumber system and codes
Number system and codes
Abhiraj Bohra
 
Number System
Number SystemNumber System
Number System
Web Designer
 
Number system of computer
Number system of computerNumber system of computer
Number system of computer
VishalChaudhary151
 
Number system
Number systemNumber system
Number system
Sajib
 
Number System
Number SystemNumber System
Number System
Ramesh Ragala
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmeticgavhays
 
Binary codes
Binary codesBinary codes
Binary codes
GargiKhanna1
 
Computer number systems
Computer number systemsComputer number systems
Computer number systemsRevi Shahini
 
PPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEMPPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEM
Rishabh Kanth
 
Decimal to binary number
Decimal to binary numberDecimal to binary number
Decimal to binary numberguestd8696a
 
1.1.1 BINARY SYSTEM
1.1.1 BINARY SYSTEM1.1.1 BINARY SYSTEM
1.1.1 BINARY SYSTEM
Buxoo Abdullah
 
1.1.2 HEXADECIMAL
1.1.2 HEXADECIMAL1.1.2 HEXADECIMAL
1.1.2 HEXADECIMAL
Buxoo Abdullah
 

What's hot (20)

Binary computing
Binary computingBinary computing
Binary computing
 
Number systems
Number systemsNumber systems
Number systems
 
Number system
Number systemNumber system
Number system
 
Introduction to the Binary Number System
Introduction to the Binary Number SystemIntroduction to the Binary Number System
Introduction to the Binary Number System
 
Number system part 1
Number  system part 1Number  system part 1
Number system part 1
 
Codes
CodesCodes
Codes
 
Number system and codes
Number system and codesNumber system and codes
Number system and codes
 
Number System
Number SystemNumber System
Number System
 
Number system of computer
Number system of computerNumber system of computer
Number system of computer
 
Number system
Number systemNumber system
Number system
 
Binary true ppt
Binary true pptBinary true ppt
Binary true ppt
 
Number System
Number SystemNumber System
Number System
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
 
Binary arithmetic
Binary arithmeticBinary arithmetic
Binary arithmetic
 
Binary codes
Binary codesBinary codes
Binary codes
 
Computer number systems
Computer number systemsComputer number systems
Computer number systems
 
PPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEMPPT ON NUMBER SYSTEM
PPT ON NUMBER SYSTEM
 
Decimal to binary number
Decimal to binary numberDecimal to binary number
Decimal to binary number
 
1.1.1 BINARY SYSTEM
1.1.1 BINARY SYSTEM1.1.1 BINARY SYSTEM
1.1.1 BINARY SYSTEM
 
1.1.2 HEXADECIMAL
1.1.2 HEXADECIMAL1.1.2 HEXADECIMAL
1.1.2 HEXADECIMAL
 

Similar to Conversion of Number Systems

Number system
Number systemNumber system
Number system
HarisAhmed56392
 
Number System.pptx
Number System.pptxNumber System.pptx
Number System.pptx
Lovely Professional University
 
Lecture 02 - Logic Design(Number Systems).pptx
Lecture 02 - Logic Design(Number Systems).pptxLecture 02 - Logic Design(Number Systems).pptx
Lecture 02 - Logic Design(Number Systems).pptx
shwan it
 
Number system
Number systemNumber system
Number system
Darpan Chelani
 
5a data representation
5a   data representation5a   data representation
5a data representation
arslanzafar13162
 
Number Systems - AK.pptx
Number Systems - AK.pptxNumber Systems - AK.pptx
Number Systems - AK.pptx
AmitSharma798754
 
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]
Jumaed
 
Week 4-Number Systems.pptx
Week 4-Number Systems.pptxWeek 4-Number Systems.pptx
Week 4-Number Systems.pptx
HamnaKhalid25
 
Number system
Number systemNumber system
Number system
Palash Sachan
 
numbering system binary and decimal hex octal
numbering system binary and decimal hex octalnumbering system binary and decimal hex octal
numbering system binary and decimal hex octal
noor300491
 
Numbersystem 130621192712-phpapp02
Numbersystem 130621192712-phpapp02Numbersystem 130621192712-phpapp02
Numbersystem 130621192712-phpapp02
muhammadsarab
 
Lecture 2 ns
Lecture 2 nsLecture 2 ns
Lecture 2 ns
Rabiul Sarker
 
02 number systems
02 number systems02 number systems
02 number systems
john01383
 
Digital fundamendals r001a
Digital fundamendals r001aDigital fundamendals r001a
Digital fundamendals r001a
arunachalamr16
 
Class 7 Cyber toolsComputer NUMBER SYSTEM
Class 7 Cyber toolsComputer NUMBER SYSTEMClass 7 Cyber toolsComputer NUMBER SYSTEM
Class 7 Cyber toolsComputer NUMBER SYSTEM
rajdeepstudycs10
 
Introduction of number system
Introduction of number systemIntroduction of number system
Introduction of number system
AswiniT3
 
Number Systems.ppt
Number Systems.pptNumber Systems.ppt
Number Systems.ppt
zorogoh2
 
NUMBER SYSTEM.pptx
NUMBER  SYSTEM.pptxNUMBER  SYSTEM.pptx
NUMBER SYSTEM.pptx
AsifRahaman16
 
digital logic circuits, digital component
digital logic circuits, digital componentdigital logic circuits, digital component
digital logic circuits, digital component
Rai University
 
chapter2.pptx electrical engineering for student
chapter2.pptx electrical engineering for studentchapter2.pptx electrical engineering for student
chapter2.pptx electrical engineering for student
MidhaksaBelay
 

Similar to Conversion of Number Systems (20)

Number system
Number systemNumber system
Number system
 
Number System.pptx
Number System.pptxNumber System.pptx
Number System.pptx
 
Lecture 02 - Logic Design(Number Systems).pptx
Lecture 02 - Logic Design(Number Systems).pptxLecture 02 - Logic Design(Number Systems).pptx
Lecture 02 - Logic Design(Number Systems).pptx
 
Number system
Number systemNumber system
Number system
 
5a data representation
5a   data representation5a   data representation
5a data representation
 
Number Systems - AK.pptx
Number Systems - AK.pptxNumber Systems - AK.pptx
Number Systems - AK.pptx
 
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]
 
Week 4-Number Systems.pptx
Week 4-Number Systems.pptxWeek 4-Number Systems.pptx
Week 4-Number Systems.pptx
 
Number system
Number systemNumber system
Number system
 
numbering system binary and decimal hex octal
numbering system binary and decimal hex octalnumbering system binary and decimal hex octal
numbering system binary and decimal hex octal
 
Numbersystem 130621192712-phpapp02
Numbersystem 130621192712-phpapp02Numbersystem 130621192712-phpapp02
Numbersystem 130621192712-phpapp02
 
Lecture 2 ns
Lecture 2 nsLecture 2 ns
Lecture 2 ns
 
02 number systems
02 number systems02 number systems
02 number systems
 
Digital fundamendals r001a
Digital fundamendals r001aDigital fundamendals r001a
Digital fundamendals r001a
 
Class 7 Cyber toolsComputer NUMBER SYSTEM
Class 7 Cyber toolsComputer NUMBER SYSTEMClass 7 Cyber toolsComputer NUMBER SYSTEM
Class 7 Cyber toolsComputer NUMBER SYSTEM
 
Introduction of number system
Introduction of number systemIntroduction of number system
Introduction of number system
 
Number Systems.ppt
Number Systems.pptNumber Systems.ppt
Number Systems.ppt
 
NUMBER SYSTEM.pptx
NUMBER  SYSTEM.pptxNUMBER  SYSTEM.pptx
NUMBER SYSTEM.pptx
 
digital logic circuits, digital component
digital logic circuits, digital componentdigital logic circuits, digital component
digital logic circuits, digital component
 
chapter2.pptx electrical engineering for student
chapter2.pptx electrical engineering for studentchapter2.pptx electrical engineering for student
chapter2.pptx electrical engineering for student
 

More from Sanjeev Kumar Prajapati

Data Science : Introduction and applications
Data Science : Introduction and applicationsData Science : Introduction and applications
Data Science : Introduction and applications
Sanjeev Kumar Prajapati
 
Hardy-Ramanujan number
Hardy-Ramanujan numberHardy-Ramanujan number
Hardy-Ramanujan number
Sanjeev Kumar Prajapati
 
Twin primes, Cousin primes and Sexy primes
Twin primes, Cousin primes and Sexy primesTwin primes, Cousin primes and Sexy primes
Twin primes, Cousin primes and Sexy primes
Sanjeev Kumar Prajapati
 
Number system 02
Number system 02Number system 02
Number system 02
Sanjeev Kumar Prajapati
 
Number system 01
Number system 01Number system 01
Number system 01
Sanjeev Kumar Prajapati
 
Mathematical symbols
Mathematical symbolsMathematical symbols
Mathematical symbols
Sanjeev Kumar Prajapati
 
Mathematics
MathematicsMathematics
Fibonacci sequence
Fibonacci sequenceFibonacci sequence
Fibonacci sequence
Sanjeev Kumar Prajapati
 
Golden ratio
Golden ratioGolden ratio
Human Digestive System
Human Digestive SystemHuman Digestive System
Human Digestive System
Sanjeev Kumar Prajapati
 
Limit and continuity
Limit and continuityLimit and continuity
Limit and continuity
Sanjeev Kumar Prajapati
 
Mathematical modelling ppt
Mathematical modelling pptMathematical modelling ppt
Mathematical modelling ppt
Sanjeev Kumar Prajapati
 

More from Sanjeev Kumar Prajapati (12)

Data Science : Introduction and applications
Data Science : Introduction and applicationsData Science : Introduction and applications
Data Science : Introduction and applications
 
Hardy-Ramanujan number
Hardy-Ramanujan numberHardy-Ramanujan number
Hardy-Ramanujan number
 
Twin primes, Cousin primes and Sexy primes
Twin primes, Cousin primes and Sexy primesTwin primes, Cousin primes and Sexy primes
Twin primes, Cousin primes and Sexy primes
 
Number system 02
Number system 02Number system 02
Number system 02
 
Number system 01
Number system 01Number system 01
Number system 01
 
Mathematical symbols
Mathematical symbolsMathematical symbols
Mathematical symbols
 
Mathematics
MathematicsMathematics
Mathematics
 
Fibonacci sequence
Fibonacci sequenceFibonacci sequence
Fibonacci sequence
 
Golden ratio
Golden ratioGolden ratio
Golden ratio
 
Human Digestive System
Human Digestive SystemHuman Digestive System
Human Digestive System
 
Limit and continuity
Limit and continuityLimit and continuity
Limit and continuity
 
Mathematical modelling ppt
Mathematical modelling pptMathematical modelling ppt
Mathematical modelling ppt
 

Recently uploaded

Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
kimdan468
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
Wasim Ak
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
Krisztián Száraz
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Dr. Vinod Kumar Kanvaria
 

Recently uploaded (20)

Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Normal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of LabourNormal Labour/ Stages of Labour/ Mechanism of Labour
Normal Labour/ Stages of Labour/ Mechanism of Labour
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
Exploiting Artificial Intelligence for Empowering Researchers and Faculty, In...
 

Conversion of Number Systems

  • 2. Conversion between numbers systems is quite an easy task. Any number from any number system can be converted to other number systems with the help of certain methods that will be discussed in next slides:
  • 3. Conversion from Decimal Number System to Other Number Systems
  • 4. Decimal Numbers are represented with digits 0-9 and with base 10. Conversion of a number system means conversion from one base to another. Following are the conversion of the Decimal Number System to other Number Systems:
  • 5. Decimal numbers are represented in base 10, but the binary numbers are of base 2. Hence, to convert a decimal number to binary number, the base of that number is to be changed. Follow the steps given here : Decimal to Binary Conversion:
  • 6. •Step 1: Divide the Decimal Number with the base of the number system to be converted to. Here the conversion is to binary, hence the divisor will be 2. •Step 2: The remainder obtained from the division will become the least significant digit of the new number. •Step 3: The quotient obtained from the division will become the next dividend and will be divided by base i.e. 2. •Step 4: The remainder obtained will become the second least significant digit i.e. it will be added in the left of the previously obtained digit.
  • 7. Now, the steps 3 and 4 are repeated until the quotient obtained becomes 0, and the remainders obtained after each iteration are added to the left of the existing digits. After all the iterations are over, the last obtained remainder will be termed as the Most Significant digit.
  • 8.
  • 9. Octal Numbers are represented in base 8. Hence, to convert a decimal number to octal number, the base of that number is to be changed. Follow the steps given here : Decimal to Octal Conversion:
  • 10. • Step 1: Divide the Decimal Number with the base of the number system to be converted to. Here the conversion is to octal, hence the divisor will be 8. • Step 2: The remainder obtained from the division will become the least significant digit of the new number. • Step 3: The quotient obtained from the division will become the next dividend and will be divided by base i.e. 8. • Step 4: The remainder obtained will become the second least significant digit i.e. it will be added in the left of the previously obtained digit. Now, the steps 3 and 4 are repeated until the quotient obtained becomes 0, and the remainders obtained after each iteration are added to the left of the existing digits.
  • 11.
  • 12. Hexadecimal Numbers are represented in base 16. Hence, to convert a decimal number to hexadecimal number, the base of that number is to be changed. Follow the steps given here : Decimal to Hexadecimal Conversion
  • 13. • Step 1: Divide the Decimal Number with the base of the number system to be converted to. Here the conversion is to Hex hence the divisor will be 16. • Step 2: The remainder obtained from the division will become the least significant digit of the new number. • Step 3: The quotient obtained from the division will become the next dividend and will be divided by base i.e. 16. • Step 4: The remainder obtained will become the second least significant digit i.e. it will be added in the left of the previously obtained digit. Now, the steps 3 and 4 are repeated until the quotient obtained becomes 0, and the remainders obtained after each iteration are added to the left of the existing digits.
  • 14.
  • 15. Conversion from Binary Number System to Other Number Systems
  • 16. Binary Numbers are represented with digits 0 and 1 and with base 2. Conversion of a number system means conversion from one base to another. Following are the conversion of the Binary Number System to other Number Systems:
  • 17. Binary numbers are represented in base 2 but the decimal numbers are of base 10. Hence, to convert the binary number into a decimal number, the base of that number is to be changed. Follow the steps given below: •Step 1: Multiply each digit of the Binary number with the place value of that digit, starting from right to left i.e. from LSB to MSB. •Step 2: Add the result of this multiplication and the decimal number will be formed. Binary to Decimal Conversion
  • 18. Example: To convert (11101011)2 into a decimal number
  • 19. Binary numbers are represented in base 2 but the octal numbers are of base 8. Hence, to convert the binary number into octal number, the base of that number is to be changed. Follow the steps given below: •Step 1: Divide the binary number into groups of three digits starting from right to left i.e. from LSB to MSB. •Step 2: Convert these groups into equivalent octal digits. Binary to Octal Conversion:
  • 20. Example: To convert (11101011)2 into an octal number
  • 21. Binary numbers are represented in base 2 but the Hexadecimal numbers are of base 10. Hence, to convert the binary number into Hex number, the base of that number is to be changed. Follow the steps given here: Binary to Hexadecimal Conversion
  • 22. •Step 1: Divide the binary number into groups of four digits starting from right to left i.e. from LSB to MSB. •Step 2: Convert these groups into equivalent hex digits.
  • 23. Example: To convert (1110101101101)2 into a hex number
  • 24. Conversion from Octal Number System to Other Number Systems
  • 25. Octal Numbers are represented with digits 0-7 and with base 8. Conversion of a number system means conversion from one base to another. Following are the conversions of the Octal Number System to other Number Systems:
  • 26. Octal numbers are represented in base 8, but the decimal numbers are of base 10. Hence, to convert an octal number to a decimal number, the base of that number is to be changed. Follow the steps given below: •Step 1: Multiply each digit of the Octal number with the place value of that digit, starting from right to left i.e. from LSB to MSB. •Step 2: Add the result of this multiplication and the decimal number will be formed. Octal to Decimal Conversion
  • 28. Octal numbers are represented in base 8, but the binary numbers are of base 2. Hence, to convert an octal number to a binary number, the base of that number is to be changed. Follow the steps given below: •Step 1: Write each digit of the octal number separately. •Step 2: Convert each digit into an equivalent group of three binary digits. •Step 3: Combine these groups to form the whole binary number. Octal to Binary Conversion
  • 29. Example: (247)8 is to be converted to binary
  • 30. Octal numbers are represented in base 8, but the hexadecimal numbers are of base 16. Hence, to convert an octal number to a hex number, the base of that number is to be changed. Follow the steps given here : Octal to Hexadecimal Conversion
  • 31. • Step 1: We need to convert the Octal number to Binary first. For that, follow the steps given in the above conversion. • Step 2: Now to convert the binary number to Hex number, divide the binary digits into groups of four digits starting from right to left i.e. from LSB to MSB. • Step 3: Add zeros prior to MSB to make it a proper group of four digits(if required) • Step 4: Now convert these groups into their relevant decimal values. • Step 5: For values from 10-15, convert it into Hex symbols i.e. from A-F
  • 32. Example: (5456)8 is to be converted to hex
  • 33. Conversion from Hexadecimal Number System to Other Number Systems
  • 34. Hex Numbers are represented with digits 0-9 and with letters A-F and with base 16. Conversion of a number system means conversion from one base to another. Following are the conversions of the Hexadecimal Number System to other Number Systems:
  • 35. Hexadecimal numbers are represented in base 16 but the decimal numbers are of base 10. Hence, to convert a hexadecimal number to a decimal number, the base of that number is to be changed. Follow the steps given below: • Step 1: Write the decimal values of the symbols used in the Hex number i.e. from A-F • Step 2: Multiply each digit of the Hex number with its place value. starting from right to left i.e. LSB to MSB. • Step 3: Add the result of multiplications and the final sum will be the decimal number. Hexadecimal to Decimal Conversion
  • 36. Example: To convert (8EB4)16 into a decimal value
  • 37. Hex numbers are represented in base 16, but the binary numbers are of base 2. Hence, to convert a hexadecimal number to a binary number, the base of that number is to be changed. Follow the steps given below: • Step 1: Convert the Hex symbols into its equivalent decimal values. • Step 2: Write each digit of the Hexadecimal number separately. • Step 3: Convert each digit into an equivalent group of four binary digits. • Step 4: Combine these groups to form the whole binary number. Hexadecimal to Binary Conversion
  • 38. Example: (B2E)16 is to be converted to binary
  • 39. Hexadecimal numbers are represented in base 16, but the octal numbers are of base 8. Hence, to convert a hex number to an octal number, the base of that number is to be changed. Follow the steps given below: • Step 1: We need to convert the Hexadecimal number to Binary first. For that, follow the steps given in the above conversion. • Step 2: Now to convert the binary number to Octal number, divide the binary digits into groups of three digits starting from right to left i.e. from LSB to MSB. • Step 3: Add zeros prior to MSB to make it a proper group of three digits(if required) • Step 4: Now convert these groups into their relevant decimal values. Hexadecimal to Octal Conversion
  • 40. Example: (B2E)16 is to be converted to hex