Computer Science for IGCSE & O level - Data Representation (Section 5 - No. 10)

What does a logical right shift do to a binary number?
Divides the number by 2 (approximately).
Fills the leftmost bits with 0s.
Preserves the sign of the number.
Shifts all bits to the right.

Explanation

A logical right shift can divide the number by 2, fills the vacated bits with 0s, and shifts the bit values.

Comments (0)

Advertisement