logo

AQA A-Level Computer Science practice

Perform 12 - 19 using 6-bit two’s complement. Show the binary calculation and explain how the final result is interpreted.

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

At a glance

Question

Type

practice

Style

Topic

Binary number system

Exam-style question

Try this first

Perform 12 - 19 using 6-bit two’s complement. Show the binary calculation and explain how the final result is interpreted.

Answer and explanation

Concise answer

12 is 001100 and 19 is 010011.

Why this is correct

Subtraction is performed by adding the two’s complement of the number being subtracted. The result 111001 is a valid 6-bit representation of -7 because it has a leading 1 and its magnitude is found by inverting the bits and adding 1.

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

No flashcards are published for this page yet.

Related practice questions