SlideShare una empresa de Scribd logo
1 de 16
Conversions of binary number to                      decimal




                      http://improvec.blogspot.in/       1
                               9CM105.21
Objective

On completion of this period you would be
able to know
    How to convert a binary number to
      decimal number




             http://improvec.blogspot.in/   2
Recap

 Conversion of a decimal number to binary




                 http://improvec.blogspot.in/   3
Binary Number to Decimal




     http://improvec.blogspot.in/   4
Conversion of a binary number to decimal
                    number

  We can convert a binary number to its decimal
  value

 By multiplying each binary digit with its position
  weight.

 First mark the bit position and then give the
  weight of each bit depending on its position.


                    http://improvec.blogspot.in/       5
Conversion of binary to decimal (contd)


The binary number in spread form = 1                   1   0 1

Bit position from right hand side            = 4th 3rd 2nd 1st

 The sum of the weights of all bits gives its equivalent
  number.

 1x23+1x22+1x21+1x20

 8+4+0+1=(13)10


                        http://improvec.blogspot.in/             6
Convert the binary number 101 to its
              decimal equivalent


The number in the spread form = 1                  0   1

Bit position from the right side = 3rd 2nd 1st




                    http://improvec.blogspot.in/           7
Convert the binary number 101 to its
        decimal equivalent (contd)
 The weight of each bit is assigned and added
  together to give decimal equivalent.

1 0 1 (binary number) = 1*22 + 0*21 + 1*20

                   = 4+ 0 + 1

                   = 5 (decimal number).

                   http://improvec.blogspot.in/   8
Convert the binary number 1010 to its
            decimal equivalent

The number in the spread form = 1                  0   1   0

Bit position from the right side = 4th 3rd 2nd 1st




                    http://improvec.blogspot.in/               9
Convert the binary number 1010 to its
       decimal equivalent (contd)


1 0 1 0 (binary number) = 1*23 + 0*22 + 1*21 + + 0*20

                    =8+0+2+0

                    = 10 (decimal number).



                   http://improvec.blogspot.in/         10
Convert the binary number 10101 to its decimal
                  equivalent
        5th 4th 3rd 2nd 1st
       1 0 1 0 1
       24 23 22 21 20                            1*20 = 1
                                                 0*21 = 0
                                                 1*22 = 4
                                                  0*23 = 0
                                                  1*24 = 16
                                                SUM = 21

  i.e. (10101)2 = 1*20 + 0*21 + 1*22 + 0*23 + 1*24 = 1 + 0 + 4+
  0 +16 = 21
                                       (10101)2 = (21)10
                        http://improvec.blogspot.in/              11
Convert the binary fraction 0.10101 to its
          decimal equivalent


  0.10101 = 1*2-1 + 0*2-2 + 1*2-3 + 0*2-4 + 1*2-5

        = ½ + 0 + 1/8 + 0 + 1/32
        = 0.5 + 0 + 0.125 + 0 + 0.03125
        = 0.65625

        (0.10101)2 = (0.65625)10
                http://improvec.blogspot.in/        12
Summary

In this class, you have learnt about


 Conversions of binary number to decimal




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

1. How to convert a binary number to decimal
   number?

2. Convert the binary number 10101 to its
   decimal equivalent?

3. Convert the binary fraction 0.10101 to its
   decimal equivalent?



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

1. What is binary equivalent of 10101?
    a. 21
    b. 23
    c.12
Answer: a




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


2. What is binary equivalent of 1111?
  a. 15
  b. 16
  c. 14
Answer: a




                   http://improvec.blogspot.in/   16

Más contenido relacionado

La actualidad más candente

Expressing Rational Numbers from Decimal Form to Fraction Form
Expressing Rational Numbers from Decimal Form to Fraction FormExpressing Rational Numbers from Decimal Form to Fraction Form
Expressing Rational Numbers from Decimal Form to Fraction FormFloroQPalomerasJr
 
3 JavaScript challenges for one application
3 JavaScript challenges for one application3 JavaScript challenges for one application
3 JavaScript challenges for one applicationRoman Kryvun
 
Binary number ppt
Binary number pptBinary number ppt
Binary number pptAnkit Gupta
 
7th PreAlg - L58--Feb17
7th PreAlg - L58--Feb177th PreAlg - L58--Feb17
7th PreAlg - L58--Feb17jdurst65
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmeticgavhays
 
Binary number systems multiplication
Binary number systems multiplicationBinary number systems multiplication
Binary number systems multiplicationRavi Ramchandani
 
8th PreAlg - L58--Feb2
8th PreAlg - L58--Feb28th PreAlg - L58--Feb2
8th PreAlg - L58--Feb2jdurst65
 
Binary & Hexadecimal
Binary & HexadecimalBinary & Hexadecimal
Binary & Hexadecimalneptonia
 
Decimal to binary number
Decimal to binary numberDecimal to binary number
Decimal to binary numberguestd8696a
 
Ecuaciones grado1 blog
Ecuaciones grado1 blogEcuaciones grado1 blog
Ecuaciones grado1 blogMarta Martín
 
Chapter 6 base_number
Chapter 6 base_numberChapter 6 base_number
Chapter 6 base_numberNazrul Shah
 
The binary number system
The binary number systemThe binary number system
The binary number systemShowmmo
 
Ejercicios de retroalimentacion
Ejercicios de retroalimentacionEjercicios de retroalimentacion
Ejercicios de retroalimentacionDIEGO GARZON
 
How to make symbols with keyboard
How to make symbols with keyboardHow to make symbols with keyboard
How to make symbols with keyboardBhuwan Chalise
 
Binary Number into Decimal Numbers
Binary Number into Decimal NumbersBinary Number into Decimal Numbers
Binary Number into Decimal NumbersGaditek
 
Solving two step inequalities ewrichey
Solving two step inequalities ewricheySolving two step inequalities ewrichey
Solving two step inequalities ewricheyEric Richey
 

La actualidad más candente (19)

Expressing Rational Numbers from Decimal Form to Fraction Form
Expressing Rational Numbers from Decimal Form to Fraction FormExpressing Rational Numbers from Decimal Form to Fraction Form
Expressing Rational Numbers from Decimal Form to Fraction Form
 
3 JavaScript challenges for one application
3 JavaScript challenges for one application3 JavaScript challenges for one application
3 JavaScript challenges for one application
 
Binary number ppt
Binary number pptBinary number ppt
Binary number ppt
 
1s and 2s complement
1s and 2s complement1s and 2s complement
1s and 2s complement
 
7th PreAlg - L58--Feb17
7th PreAlg - L58--Feb177th PreAlg - L58--Feb17
7th PreAlg - L58--Feb17
 
Binary Arithmetic
Binary ArithmeticBinary Arithmetic
Binary Arithmetic
 
Binary number systems multiplication
Binary number systems multiplicationBinary number systems multiplication
Binary number systems multiplication
 
8th PreAlg - L58--Feb2
8th PreAlg - L58--Feb28th PreAlg - L58--Feb2
8th PreAlg - L58--Feb2
 
Introduction to binary
Introduction to binaryIntroduction to binary
Introduction to binary
 
Binary & Hexadecimal
Binary & HexadecimalBinary & Hexadecimal
Binary & Hexadecimal
 
Decimal to binary number
Decimal to binary numberDecimal to binary number
Decimal to binary number
 
Ecuaciones grado1 blog
Ecuaciones grado1 blogEcuaciones grado1 blog
Ecuaciones grado1 blog
 
Chapter 6 base_number
Chapter 6 base_numberChapter 6 base_number
Chapter 6 base_number
 
The binary number system
The binary number systemThe binary number system
The binary number system
 
Ejercicios de retroalimentacion
Ejercicios de retroalimentacionEjercicios de retroalimentacion
Ejercicios de retroalimentacion
 
Binary operations
 Binary operations Binary operations
Binary operations
 
How to make symbols with keyboard
How to make symbols with keyboardHow to make symbols with keyboard
How to make symbols with keyboard
 
Binary Number into Decimal Numbers
Binary Number into Decimal NumbersBinary Number into Decimal Numbers
Binary Number into Decimal Numbers
 
Solving two step inequalities ewrichey
Solving two step inequalities ewricheySolving two step inequalities ewrichey
Solving two step inequalities ewrichey
 

Similar a Convert binary numbers to decimals

Similar a Convert binary numbers to decimals (20)

Dec to bin.20
Dec to bin.20Dec to bin.20
Dec to bin.20
 
What is bcd number system
What is bcd number systemWhat is bcd number system
What is bcd number system
 
Hexa to binary
Hexa to binaryHexa to binary
Hexa to binary
 
ch2.pdf
ch2.pdfch2.pdf
ch2.pdf
 
Slide03 Number System and Operations Part 1
Slide03 Number System and Operations Part 1Slide03 Number System and Operations Part 1
Slide03 Number System and Operations Part 1
 
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
 
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
 
Chapter02.pdf
Chapter02.pdfChapter02.pdf
Chapter02.pdf
 
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)
 
Number system
Number systemNumber system
Number system
 
Number System and Conversions.pptx
Number System and Conversions.pptxNumber System and Conversions.pptx
Number System and Conversions.pptx
 
micro tut1.pptx
micro tut1.pptxmicro tut1.pptx
micro tut1.pptx
 
B sc ii sem unit 2(a) ns
B sc ii sem  unit 2(a) nsB sc ii sem  unit 2(a) ns
B sc ii sem unit 2(a) ns
 
ch3a-binary-numbers.ppt
ch3a-binary-numbers.pptch3a-binary-numbers.ppt
ch3a-binary-numbers.ppt
 
Floyd_CH2.ppt
Floyd_CH2.pptFloyd_CH2.ppt
Floyd_CH2.ppt
 
ENGINEERING ELECTRONICS SEMESTER FIVE COMM
ENGINEERING ELECTRONICS SEMESTER FIVE COMMENGINEERING ELECTRONICS SEMESTER FIVE COMM
ENGINEERING ELECTRONICS SEMESTER FIVE COMM
 
Pp02
Pp02Pp02
Pp02
 
Logic Design 2009
Logic Design 2009Logic Design 2009
Logic Design 2009
 
BINARY NUMBER SYSTEM
BINARY NUMBER SYSTEMBINARY NUMBER SYSTEM
BINARY NUMBER SYSTEM
 

Más de 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
 

Convert binary numbers to decimals

  • 1. Conversions of binary number to decimal http://improvec.blogspot.in/ 1 9CM105.21
  • 2. Objective On completion of this period you would be able to know How to convert a binary number to decimal number http://improvec.blogspot.in/ 2
  • 3. Recap  Conversion of a decimal number to binary http://improvec.blogspot.in/ 3
  • 4. Binary Number to Decimal http://improvec.blogspot.in/ 4
  • 5. Conversion of a binary number to decimal number We can convert a binary number to its decimal value  By multiplying each binary digit with its position weight.  First mark the bit position and then give the weight of each bit depending on its position. http://improvec.blogspot.in/ 5
  • 6. Conversion of binary to decimal (contd) The binary number in spread form = 1 1 0 1 Bit position from right hand side = 4th 3rd 2nd 1st  The sum of the weights of all bits gives its equivalent number.  1x23+1x22+1x21+1x20  8+4+0+1=(13)10 http://improvec.blogspot.in/ 6
  • 7. Convert the binary number 101 to its decimal equivalent The number in the spread form = 1 0 1 Bit position from the right side = 3rd 2nd 1st http://improvec.blogspot.in/ 7
  • 8. Convert the binary number 101 to its decimal equivalent (contd)  The weight of each bit is assigned and added together to give decimal equivalent. 1 0 1 (binary number) = 1*22 + 0*21 + 1*20 = 4+ 0 + 1 = 5 (decimal number). http://improvec.blogspot.in/ 8
  • 9. Convert the binary number 1010 to its decimal equivalent The number in the spread form = 1 0 1 0 Bit position from the right side = 4th 3rd 2nd 1st http://improvec.blogspot.in/ 9
  • 10. Convert the binary number 1010 to its decimal equivalent (contd) 1 0 1 0 (binary number) = 1*23 + 0*22 + 1*21 + + 0*20 =8+0+2+0 = 10 (decimal number). http://improvec.blogspot.in/ 10
  • 11. Convert the binary number 10101 to its decimal equivalent 5th 4th 3rd 2nd 1st 1 0 1 0 1 24 23 22 21 20 1*20 = 1 0*21 = 0 1*22 = 4 0*23 = 0 1*24 = 16 SUM = 21 i.e. (10101)2 = 1*20 + 0*21 + 1*22 + 0*23 + 1*24 = 1 + 0 + 4+ 0 +16 = 21 (10101)2 = (21)10 http://improvec.blogspot.in/ 11
  • 12. Convert the binary fraction 0.10101 to its decimal equivalent 0.10101 = 1*2-1 + 0*2-2 + 1*2-3 + 0*2-4 + 1*2-5 = ½ + 0 + 1/8 + 0 + 1/32 = 0.5 + 0 + 0.125 + 0 + 0.03125 = 0.65625 (0.10101)2 = (0.65625)10 http://improvec.blogspot.in/ 12
  • 13. Summary In this class, you have learnt about  Conversions of binary number to decimal http://improvec.blogspot.in/ 13
  • 14. Frequently Asked Questions 1. How to convert a binary number to decimal number? 2. Convert the binary number 10101 to its decimal equivalent? 3. Convert the binary fraction 0.10101 to its decimal equivalent? http://improvec.blogspot.in/ 14
  • 15. Quiz 1. What is binary equivalent of 10101? a. 21 b. 23 c.12 Answer: a http://improvec.blogspot.in/ 15
  • 16. Quiz 2. What is binary equivalent of 1111? a. 15 b. 16 c. 14 Answer: a http://improvec.blogspot.in/ 16