Computer Science for IGCSE & O level - Data Representation (Section 8 - No. 15)
What best describes how the value of a number changes when performing bitwise shifting?
A left shift multiplies by a power of 2
A right shift, with a logical shift, divides by a power of 2
Arithmetic shifts may preserve the sign of the number
An arithmetic right shift always divides by 2
Explanation
Shifts can result in a multiplication and division.
Comments (0)
