levo

Data

Two's complement

  • 3 things to know
  • Paper 1
Start revising · £5/month

Overview

Two's complement representation, the range −128 to +127, recognising negative values, worked conversions in both directions, and why the CPU uses it.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

What range does 8-bit two's complement cover, how is a negative value recognised, and how is one made?

Key term

What is two's complement?

Key term

What is the place value of the most significant bit in 8-bit two's complement?

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    What is two's complement?

    Model answer

    Two's complement is a method of representing signed integers, positive and negative, in binary. The most significant bit carries a negative place value.

  2. 2

    What is the place value of the most significant bit in 8-bit two's complement?

    Model answer

    The most significant bit is worth −128 in 8-bit two's complement. The other seven bits keep their usual values from 64 down to 1.

  3. 3

    What range of integers can 8-bit two's complement represent?

    Model answer

    An 8-bit two's complement number ranges from −128 to +127.

  4. 4

    How can you tell whether an 8-bit two's complement number is negative?

    Model answer

    A two's complement number is negative when its most significant bit is 1. A number whose MSB is 0 is zero or positive.

  5. 5

    Describe how to turn a positive binary number into its negative in two's complement.

    Model answer

    Write the positive number in binary and invert every bit. Add 1 to the inverted pattern to give the negative number.

  6. 6

    Convert −45 to 8-bit two's complement.

    Model answer

    The value −45 is 11010011 in 8-bit two's complement. Positive 45 is 00101101, its inverse is 11010010, and adding 1 gives 11010011.

Other ways to work this

The same content, four other ways.

Everything in your subscription

Runs, plus a mode for every other kind of session.

1Flash
2Imposter
3Fade
4Brain dump

Learn every subtopic in runs of four questions

Facts flash and fade, a wrong word hides in some of them, and a brain dump decides which questions are locked in.

Computational Thinking
Data
Computers
Networks

Cram the night before, weakest topic first

A quick scan finds your weakest topics. Recall each fact you missed three times in a row.

The check is 45 + 27 = 72.
denarybinaryhexadecimal

Blank Blitz consolidates the facts

Rapid timed gap-fills on the terms and numbers you need to recall without thinking.

✓What it iscovered
~Why it happenspartly there
How long it lastsnot there yet

Explain It tests your understanding

Explain a concept in your own words and see which of its points you covered.

A kibibyte (KiB) is 1,024 bytes. The figure 1,024 is 2¹⁰.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The faults are the mistakes students make most often.

721941163128510

Brain Breaks between sessions

Short focus games to reset attention, so the next set lands better than the last.

Every question in Data, on a schedule.

Learn it in runs of four questions, each ending on a brain dump against the clock. Every question you lock in comes back the next day, then at longer gaps, each time just before you would forget it.

Or £46 a year, about £3.83 a month. Cancel anytime.