Ep 005: Shifting Bits to Multiply, Divide, and Convert

Sdílet
Vložit
  • čas přidán 4. 08. 2020
  • By shifting bits left and right, we can effectively multiply and divide binary values. This gives us a second way to convert from decimal to binary.
    Take aways: At the completion of this lesson, each student should be able to:
    • identify the bit shift operators used in a programming language like Java,
    • translate multiplication and division by powers of 2 into bit shifts, and
    • use this property to convert decimal values into binary using division by 2.
    #shift #bit #logical

Komentáře • 3

  • @Nada83292
    @Nada83292 Před 3 lety +2

    Awesome, thanks for sharing!!

  • @roikri
    @roikri Před 2 lety +2

    great video, explained very well, thank you a lot!

  • @goodwill7643
    @goodwill7643 Před 3 lety +2

    thank you