Bitwise Operators 4: The Logical Shift Operation @ComputerScienceLessons
Bitwise Operators 4: The Logical Shift Operation  @ComputerScienceLessons
Uploaded January 2020 | Updated November 2026, 2 hours ago
This computer science video describes bitwise logical shift operations. It demonstrates the workings of the logical left shift and the logical right shift. It shows how logical shifts can be used to multiply or divide the contents of a register by 2, and explains the limitations of this approach to performing arithmetic. The application of left and right logical shifts along with AND and OR bitmasks as a means of changing the order of bytes in a register is mentioned. The use of logical shifts with bitmasks to pack or unpack 32 bit RGB colour codes is described in detail. The video includes a demonstration of Visual Basic.NET code for manipulating 32 bit RGB codes, and a JavaScript function to convert RGB values into a hexadecimal colour code.
Bitwise Operators 4: The Logical Shift OperationThe AI that made me thinkC# Programming: Lesson 4.  if Statement (part 1)C# Programming: Lesson 1. Simple OutputC# Programming: Lesson 11.  More about ArraysGoogle Street View Location Guessing GameOperating System Functions 3: MultitaskingBuild a Quiz with AIWireless Communication – Four: ModulationVisual Basic.NET Programming. Beginner Lesson 16. Condition Controlled LoopsBinary 6 – Normalised Floating Point Binary FractionsWireless Communication – Six: Pulse Shaping
Computer Science Lessons |

Bitwise Operators 4: The Logical Shift Operation

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER