levo

Data Representation

Binary addition and binary shifts

  • 3 things to know
  • Paper 2

Overview

The rules for adding binary digits, worked additions of two and three numbers, overflow beyond 255, and left and right logical shifts as multiplication and division by powers of two.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

State the rules for adding two binary digits.

Key term

What is 1 + 1 + 1 in binary, and how is it written in a column addition?

Key term

Add the binary numbers 00101101 and 00011010.

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    State the rules for adding two binary digits.

    Model answer

    The sum 0 + 0 is 0, and 0 + 1 is 1. The sum 1 + 1 is 10, so write 0 and carry 1.

  2. 2

    What is 1 + 1 + 1 in binary, and how is it written in a column addition?

    Model answer

    The sum is 11 in binary, which is 3 in decimal. The column shows 1 and a 1 is carried to the next column.

  3. 3

    Add the binary numbers 00101101 and 00011010.

    Model answer

    The total is 01000111. As a check, 45 + 26 = 71 in decimal, and 01000111 is 71.

  4. 4

    Add the binary numbers 01010110 and 00111011.

    Model answer

    The total is 10010001. As a check, 86 + 59 = 145 in decimal, and 10010001 is 145.

  5. 5

    Add the three binary numbers 00010101, 00100110 and 00001011.

    Model answer

    The total is 01000110. As a check, 21 + 38 + 11 = 70 in decimal, and 01000110 is 70.

  6. 6

    How can you check the answer to a binary addition?

    Model answer

    Convert each number to decimal and add them. The decimal total should match the binary answer converted to decimal.

Other ways to work this

The same content, four other ways.

What is inside Levo

Six ways to work the same material.

1Closed book
2Open book
3Closed book

See a huge jump in your memorisation

Answer cold, learn it, then prove it stuck. Levo tracks the jump between your first attempt and your last.

Algorithms
Programming
Data Representation
Computer Systems

Cram a whole paper in one sitting

Sort every topic into what you know and what you do not, then drill only the weak ones.

The table one extra row.
gainslosescopies

Blank Blitz consolidates the facts

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

AThe algorithm outputs 1.
BThe variable x falls from 5 to 3 to 1.
CThe loop stops because 1 is not greater than 1.

Build It trains answer structure

Assemble a full-mark answer from its marking points, in the order an examiner wants them.

ASC means sorting from smallest to largest, or A to Z.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The traps are the mistakes students actually make.

721941163128510

Brain Breaks between sessions

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

Every question in Data Representation, on a schedule.

Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.

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