logo

Pearson Edexcel GCSE (9-1) Computer Science practice

What is a key difference between a right logical shift and a right arithmetic shift?

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

At a glance

MCQ

Type

practice

Style

Topic

Binary

Exam-style question

Try this first

What is a key difference between a right logical shift and a right arithmetic shift?.

  1. A.Logical shifts always fill with ones, arithmetic shifts always fill with zeros.
  2. B.Arithmetic shifts are only for multiplication, logical shifts for division.
  3. C.Logical shifts always fill vacated bits with zeros; arithmetic shifts preserve the sign bit by replicating it during right shifts.
  4. D.Logical shifts only operate on positive numbers, arithmetic shifts on negative numbers.

Answer and explanation

Concise answer

Logical shifts always fill vacated bits with zeros; arithmetic shifts preserve the sign bit by replicating it during right shifts.

Why this is correct

The primary distinction is how vacated bits are filled during a right shift; logical uses zeros, arithmetic replicates the sign bit.

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