logo

Pearson Edexcel GCSE (9-1) Computer Science practice

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]

Try the question first, then check the answer and practise the same topic again.

At a glance

Question

Type

exam_style

Style

Topic

Binary

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.

Related flashcards

Flashcard 1 of 6

Press Space to flip, arrows to move

Related practice questions