Exam-style question
Try this first
Describe the difference between a logical left shift and an arithmetic right shift. Provide an example for each using an 8-bit positive binary number 00110010. [6 marks].
Answer and explanation
Concise answer
A logical left shift moves all bits to the left by a specified number of positions.
Why this is correct
1 mark for explaining a logical left shift (moving bits to the left). 1 mark for explaining how bits are filled (zeros on the right) for a logical left shift. 1 mark for correctly applying a logical left shift to the example 00110010 (to 01100100). 1 mark for explaining an arithmetic right shift (moving bits to the right).
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
