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

Опубликовано: 11 Март 2026
на канале: Intermation
21,761
500

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