Computer Science for IGCSE & O level - Data Representation (Section 15 - No. 11)

What operation does a logical right shift perform on a binary number?
Multiplication by a power of 2.
Division by a power of 2.
Subtraction by a power of 2.
Addition by a power of 2.

Explanation

A right shift is equivalent to dividing the number by 2 raised to the power of the number of places shifted.

Comments (0)

Advertisement