SlideShare a Scribd company logo
1 of 10
Conversion of a hexadecimal number to a binary
                    number

METHOD 1

       First it should be converted to its equivalent
        decimal number

       Then convert the decimal number so obtained
        to its binary equivalent


                    http://improvec.blogspot.in/         1
METHOD 2

Each digit of the given hexadecimal number should be
       converted to its 4-bit binary equivalent




                    http://improvec.blogspot.in/       2
1.Convert the hexadecimal number ABC to its
          equivalent binary number


 METHOD 1

     (ABC)16 = A *162 + B*161 + C*160
            = 10 *256 + 11*16 + 12*1
            = 2560 + 176 + 12
            = (2748)10
          (1010 1011 1100)10

                   http://improvec.blogspot.in/   3
Now converting this decimal into binary
    Division        Remainders
    2 2748
    2 1374 0
    2 687           0
    2 343           1
    2 171           1
    2 85            1
    2 42            1
    2 21            0
    2 10            1
    2 5             0
    2 2             1
    2 1             0
    2 0             1
Thus (ABC)16 = (2748)10 = (101010111100)
                        http://improvec.blogspot.in/   4
METHOD 2

A16 = (10)10 = (1010)2         2 10
B16 = (11)10 = (1011)2         2 5 0
C16 = (12)10 = (1100)2          2 2 1
                                   2 1 0
                                       0 1
                            (10)10 = (1010)2

(ABC)16 = ( 1010 1011 1100 )2

                    http://improvec.blogspot.in/   5
2. Convert the hexadecimal number 6B9 to its
           equivalent binary number
 Each digit of the given hexadecimal number is
  converted to its 4-bit binary equivalent

      (6B9)16 = (0110) (1011)(1001)
              = (011010111001)2
              = (011010111001)2




                     http://improvec.blogspot.in/   6
3. Convert the hexadecimal number 6D.3A to its
           equivalent binary number
 Each digit of the given hexadecimal number is
  converted to its 4-bit binary equivalent

      (6D.3A)16 = (0110) (1101) . (0011) (1010)
                =(01101101.00111010)2
                =(1101101.0011101)2




                    http://improvec.blogspot.in/   7
Summary

In this class, you have learnt about



 Conversions of binary number to hexadecimal

 Conversions of hexadecimal to binary number




                      http://improvec.blogspot.in/   8
Frequently Asked Questions


 Explain how to convert a binary number to
  equivalent hexadecimal

 Explain how to convert a hexa decimal number to
  equivalent binary




                    http://improvec.blogspot.in/    9
Quiz

 The binary equivalent of (ABC)
  a. 1010 1011 1100
  b.1010 1100 1100
  c. 1011 1010 1101
Answer: a




                     http://improvec.blogspot.in/   10

More Related Content

What's hot

digital logic design number system
digital logic design number systemdigital logic design number system
digital logic design number systemNallapati Anindra
 
Data representation in computers
Data representation in computersData representation in computers
Data representation in computersHazel Anne Quirao
 
Decimal to binary number
Decimal to binary numberDecimal to binary number
Decimal to binary numberguestd8696a
 
Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes VandanaPagar1
 
binary number system
 binary number system binary number system
binary number systemvishal gupta
 
Number system utm notes
Number system utm notesNumber system utm notes
Number system utm notesKurenai Ryu
 
BCD,GRAY and EXCESS 3 codes
BCD,GRAY and EXCESS 3 codesBCD,GRAY and EXCESS 3 codes
BCD,GRAY and EXCESS 3 codesstudent
 
3.codes( binary code ,excess 3, gray code )
3.codes( binary code ,excess 3, gray code )3.codes( binary code ,excess 3, gray code )
3.codes( binary code ,excess 3, gray code )MdFazleRabbi18
 
Intel x86 and ARM Data types
Intel x86 and ARM Data typesIntel x86 and ARM Data types
Intel x86 and ARM Data typesRowena Cornejo
 
Integer Representation
Integer RepresentationInteger Representation
Integer Representationgavhays
 
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 numbersMohammad Bashartullah
 
Number system and its conversions
Number system and its conversionsNumber system and its conversions
Number system and its conversionsShilpaKrishna6
 

What's hot (20)

digital logic design number system
digital logic design number systemdigital logic design number system
digital logic design number system
 
Data representation in computers
Data representation in computersData representation in computers
Data representation in computers
 
Decimal to binary number
Decimal to binary numberDecimal to binary number
Decimal to binary number
 
Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes Digital Electronics- Number systems & codes
Digital Electronics- Number systems & codes
 
binary number system
 binary number system binary number system
binary number system
 
Number system utm notes
Number system utm notesNumber system utm notes
Number system utm notes
 
Binary to Decimal Conversion
Binary to Decimal ConversionBinary to Decimal Conversion
Binary to Decimal Conversion
 
BCD,GRAY and EXCESS 3 codes
BCD,GRAY and EXCESS 3 codesBCD,GRAY and EXCESS 3 codes
BCD,GRAY and EXCESS 3 codes
 
3.codes( binary code ,excess 3, gray code )
3.codes( binary code ,excess 3, gray code )3.codes( binary code ,excess 3, gray code )
3.codes( binary code ,excess 3, gray code )
 
1.1.1 BINARY SYSTEM
1.1.1 BINARY SYSTEM1.1.1 BINARY SYSTEM
1.1.1 BINARY SYSTEM
 
Binary arithmetic
Binary arithmeticBinary arithmetic
Binary arithmetic
 
Intel x86 and ARM Data types
Intel x86 and ARM Data typesIntel x86 and ARM Data types
Intel x86 and ARM Data types
 
Number systems ppt
Number systems pptNumber systems ppt
Number systems ppt
 
Binary Arithmetic Operations
Binary Arithmetic OperationsBinary Arithmetic Operations
Binary Arithmetic Operations
 
Integer Representation
Integer RepresentationInteger Representation
Integer Representation
 
Codes
CodesCodes
Codes
 
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
 
Number system and its conversions
Number system and its conversionsNumber system and its conversions
Number system and its conversions
 
Bcd
BcdBcd
Bcd
 
Number System
Number SystemNumber System
Number System
 

Similar to Hexa to binary

Bin to hexa.22to23
Bin to hexa.22to23Bin to hexa.22to23
Bin to hexa.22to23myrajendra
 
PDT DC015 Chapter 2 Computer System 2017/2018 (d)
PDT DC015 Chapter 2 Computer System 2017/2018 (d)PDT DC015 Chapter 2 Computer System 2017/2018 (d)
PDT DC015 Chapter 2 Computer System 2017/2018 (d)Fizaril Amzari Omar
 
Binary octal
Binary octalBinary octal
Binary octaldrdipo4
 
PST SC015 Chapter 2 Computer System 2017/2018
PST SC015 Chapter 2 Computer System 2017/2018PST SC015 Chapter 2 Computer System 2017/2018
PST SC015 Chapter 2 Computer System 2017/2018Fizaril Amzari Omar
 
Representation of numbers and characters
Representation of numbers and charactersRepresentation of numbers and characters
Representation of numbers and characterswarda aziz
 
Number System and Conversions.pptx
Number System and Conversions.pptxNumber System and Conversions.pptx
Number System and Conversions.pptxkhalidkk6
 
Data representation for o and a levels 2
Data representation for o and a levels 2Data representation for o and a levels 2
Data representation for o and a levels 2Fari84
 
6- التحويل من النظام الثنائى إلى النظام السداسى عشر
6- التحويل من النظام الثنائى إلى النظام السداسى عشر6- التحويل من النظام الثنائى إلى النظام السداسى عشر
6- التحويل من النظام الثنائى إلى النظام السداسى عشرum_adeveloper
 
UNIT - I.pptx
UNIT - I.pptxUNIT - I.pptx
UNIT - I.pptxamudhak10
 
UNIT - I.pptx
UNIT - I.pptxUNIT - I.pptx
UNIT - I.pptxamudhak10
 
Data representation number
Data representation   numberData representation   number
Data representation numberahunneyball
 
Ncp computer appls num sys2 pramod
Ncp computer appls  num sys2 pramodNcp computer appls  num sys2 pramod
Ncp computer appls num sys2 pramodNCP
 
Logic Design 2009
Logic Design 2009Logic Design 2009
Logic Design 2009lionking
 
Digital logic assn
Digital logic assnDigital logic assn
Digital logic assnjyothir19
 

Similar to Hexa to binary (20)

Bin to hexa.22to23
Bin to hexa.22to23Bin to hexa.22to23
Bin to hexa.22to23
 
Dec to bin.20
Dec to bin.20Dec to bin.20
Dec to bin.20
 
Bolum1cozumler
Bolum1cozumlerBolum1cozumler
Bolum1cozumler
 
PDT DC015 Chapter 2 Computer System 2017/2018 (d)
PDT DC015 Chapter 2 Computer System 2017/2018 (d)PDT DC015 Chapter 2 Computer System 2017/2018 (d)
PDT DC015 Chapter 2 Computer System 2017/2018 (d)
 
Bin to dec.21
Bin to dec.21Bin to dec.21
Bin to dec.21
 
Binary octal
Binary octalBinary octal
Binary octal
 
PST SC015 Chapter 2 Computer System 2017/2018
PST SC015 Chapter 2 Computer System 2017/2018PST SC015 Chapter 2 Computer System 2017/2018
PST SC015 Chapter 2 Computer System 2017/2018
 
Representation of numbers and characters
Representation of numbers and charactersRepresentation of numbers and characters
Representation of numbers and characters
 
Number System and Conversions.pptx
Number System and Conversions.pptxNumber System and Conversions.pptx
Number System and Conversions.pptx
 
Data representation for o and a levels 2
Data representation for o and a levels 2Data representation for o and a levels 2
Data representation for o and a levels 2
 
6- التحويل من النظام الثنائى إلى النظام السداسى عشر
6- التحويل من النظام الثنائى إلى النظام السداسى عشر6- التحويل من النظام الثنائى إلى النظام السداسى عشر
6- التحويل من النظام الثنائى إلى النظام السداسى عشر
 
UNIT - I.pptx
UNIT - I.pptxUNIT - I.pptx
UNIT - I.pptx
 
UNIT - I.pptx
UNIT - I.pptxUNIT - I.pptx
UNIT - I.pptx
 
Data representation number
Data representation   numberData representation   number
Data representation number
 
Ncp computer appls num sys2 pramod
Ncp computer appls  num sys2 pramodNcp computer appls  num sys2 pramod
Ncp computer appls num sys2 pramod
 
Logic Design 2009
Logic Design 2009Logic Design 2009
Logic Design 2009
 
Digital logic assn
Digital logic assnDigital logic assn
Digital logic assn
 
Number system
Number systemNumber system
Number system
 
number system
number systemnumber system
number system
 
Unit 4.docx
Unit 4.docxUnit 4.docx
Unit 4.docx
 

More from myrajendra (20)

Fundamentals
FundamentalsFundamentals
Fundamentals
 
Data type
Data typeData type
Data type
 
Hibernate example1
Hibernate example1Hibernate example1
Hibernate example1
 
Jdbc workflow
Jdbc workflowJdbc workflow
Jdbc workflow
 
2 jdbc drivers
2 jdbc drivers2 jdbc drivers
2 jdbc drivers
 
3 jdbc api
3 jdbc api3 jdbc api
3 jdbc api
 
4 jdbc step1
4 jdbc step14 jdbc step1
4 jdbc step1
 
Dao example
Dao exampleDao example
Dao example
 
Sessionex1
Sessionex1Sessionex1
Sessionex1
 
Internal
InternalInternal
Internal
 
3. elements
3. elements3. elements
3. elements
 
2. attributes
2. attributes2. attributes
2. attributes
 
1 introduction to html
1 introduction to html1 introduction to html
1 introduction to html
 
Headings
HeadingsHeadings
Headings
 
Forms
FormsForms
Forms
 
Css
CssCss
Css
 
Views
ViewsViews
Views
 
Views
ViewsViews
Views
 
Views
ViewsViews
Views
 
Starting jdbc
Starting jdbcStarting jdbc
Starting jdbc
 

Hexa to binary

  • 1. Conversion of a hexadecimal number to a binary number METHOD 1 First it should be converted to its equivalent decimal number Then convert the decimal number so obtained to its binary equivalent http://improvec.blogspot.in/ 1
  • 2. METHOD 2 Each digit of the given hexadecimal number should be converted to its 4-bit binary equivalent http://improvec.blogspot.in/ 2
  • 3. 1.Convert the hexadecimal number ABC to its equivalent binary number  METHOD 1 (ABC)16 = A *162 + B*161 + C*160 = 10 *256 + 11*16 + 12*1 = 2560 + 176 + 12 = (2748)10 (1010 1011 1100)10 http://improvec.blogspot.in/ 3
  • 4. Now converting this decimal into binary Division Remainders 2 2748 2 1374 0 2 687 0 2 343 1 2 171 1 2 85 1 2 42 1 2 21 0 2 10 1 2 5 0 2 2 1 2 1 0 2 0 1 Thus (ABC)16 = (2748)10 = (101010111100) http://improvec.blogspot.in/ 4
  • 5. METHOD 2 A16 = (10)10 = (1010)2 2 10 B16 = (11)10 = (1011)2 2 5 0 C16 = (12)10 = (1100)2 2 2 1 2 1 0 0 1 (10)10 = (1010)2 (ABC)16 = ( 1010 1011 1100 )2 http://improvec.blogspot.in/ 5
  • 6. 2. Convert the hexadecimal number 6B9 to its equivalent binary number  Each digit of the given hexadecimal number is converted to its 4-bit binary equivalent (6B9)16 = (0110) (1011)(1001) = (011010111001)2 = (011010111001)2 http://improvec.blogspot.in/ 6
  • 7. 3. Convert the hexadecimal number 6D.3A to its equivalent binary number  Each digit of the given hexadecimal number is converted to its 4-bit binary equivalent (6D.3A)16 = (0110) (1101) . (0011) (1010) =(01101101.00111010)2 =(1101101.0011101)2 http://improvec.blogspot.in/ 7
  • 8. Summary In this class, you have learnt about  Conversions of binary number to hexadecimal  Conversions of hexadecimal to binary number http://improvec.blogspot.in/ 8
  • 9. Frequently Asked Questions  Explain how to convert a binary number to equivalent hexadecimal  Explain how to convert a hexa decimal number to equivalent binary http://improvec.blogspot.in/ 9
  • 10. Quiz  The binary equivalent of (ABC) a. 1010 1011 1100 b.1010 1100 1100 c. 1011 1010 1101 Answer: a http://improvec.blogspot.in/ 10