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

What is a fundamental difference between logical and arithmetic bit shifts?
Logical shifts always shift right, arithmetic shifts always shift left.
Arithmetic shifts preserve the sign of the number.
Logical shifts preserve the sign of the number.
Arithmetic shifts are used for multiplication.

Explanation

Arithmetic shifts consider the sign bit, while logical shifts do not.

Comments (0)

Advertisement