levo

Data Representation

Converting between binary, decimal and hexadecimal

  • 3 things to know
  • Paper 2

Overview

Step-by-step methods and worked conversions between binary, decimal and hexadecimal, checking an answer, the largest value one byte holds, and a common conversion mistake explained.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

Convert the binary number 10110101 to decimal.

Key term

Describe how to convert a decimal number to 8-bit binary.

Key term

Convert the binary number 00101100 to decimal.

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    Convert the binary number 10110101 to decimal.

    Model answer

    The decimal value is 181. The 1s sit in the 128, 32, 16, 4 and 1 columns, and 128 + 32 + 16 + 4 + 1 = 181.

  2. 2

    Convert the binary number 00101100 to decimal.

    Model answer

    The decimal value is 44. The 1s sit in the 32, 8 and 4 columns, and 32 + 8 + 4 = 44.

  3. 3

    Describe how to convert a decimal number to 8-bit binary.

    Model answer

    Write the place values from 128 down to 1. Put a 1 under each place value that fits into what remains, then subtract it. Every other place gets a 0.

  4. 4

    Convert the decimal number 157 to 8-bit binary.

    Model answer

    The binary is 10011101. The number 157 is made from 128 + 16 + 8 + 4 + 1.

  5. 5

    Convert the decimal number 90 to 8-bit binary.

    Model answer

    The binary is 01011010. The number 90 is made from 64 + 16 + 8 + 2.

  6. 6

    How can you check a decimal-to-binary conversion?

    Model answer

    Add up the place values of every column that holds a 1. The total should equal the decimal number you started with.

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

The 3-step method, run for you

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 makes facts automatic

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 gets the exam shape right

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.