Question: Simple Computer Organization type question. Is there a difference between these two questions? I know right shift is dividing by a power of 2 and
Simple Computer Organization type question. Is there a difference between these two questions? I know right shift is dividing by a power of 2 and left shift is multiplying by a power of 2.
Question 1: What is Right Shift operation >> 2 equivalent to?
a. Multiplying by 2
b. Dividing by 4
c. Subtracting 4
d. Adding 4
Question 2: What is Left Shift operation << equivalent to?
a. Multiplying by 2
b. Multiplying by 10
b. Dividing by 2
c. Subtracting 2
d. Adding 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
