levo

Fundamentals of Data Representation

Number bases: decimal, binary and hexadecimal

  • 3 things to know
  • Paper 2

Overview

Recall questions on what a base is, the digits each system uses, and converting between decimal, binary and hexadecimal in both directions.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Numbers

What is meant by the base of a number system?

Key term

How is the base of a number written down, and what do 67₁₀, 10011011₂ and AE₁₆ mean?

Key term

Describe the repeated division method for converting a decimal number to hexadecimal.

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    What is meant by the base of a number system?

    Model answer

    The base is the number of distinct digits the system uses, and it fixes the place values: each column is worth the base times the column to its right. Base 10 uses digits 0–9 with place values …, 100, 10, 1; base 2 uses 0 and 1 with place values …, 8, 4, 2, 1; base 16 uses sixteen digits with place values …, 256, 16, 1.

  2. 2

    State the digits used by decimal, binary and hexadecimal.

    Model answer

    Decimal (base 10) uses 0 to 9. Binary (base 2) uses 0 and 1 only. Hexadecimal (base 16) uses 0 to 9 followed by A, B, C, D, E and F to stand for the values ten to fifteen.

  3. 3

    Give the decimal value of each of the hexadecimal digits A to F.

    Model answer

    A = 10, B = 11, C = 12, D = 13, E = 14, F = 15.

  4. 4

    How is the base of a number written down, and what do 67₁₀, 10011011₂ and AE₁₆ mean?

    Model answer

    The base is written as a subscript after the number. 67₁₀ is sixty-seven in base 10, 10011011₂ is a binary number, and AE₁₆ is a hexadecimal number. Writing the base removes any doubt about how the digits should be read.

  5. 5

    Why is it essential to state the base when writing a number down?

    Model answer

    The same digits mean different values in different bases. 10 is ten in decimal, two in binary and sixteen in hexadecimal, and 11 is eleven, three and seventeen respectively. Without a stated base the value is ambiguous.

  6. 6

    Convert 67₁₀ to binary.

    Model answer

    1000011₂. Take the place values 64, 32, 16, 8, 4, 2, 1: 67 − 64 = 3, then 3 − 2 = 1, then 1 − 1 = 0, so the 64, 2 and 1 columns hold a 1 and the rest hold 0. In eight bits this is 01000011₂.

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.

Fundamentals of Programming
Fundamentals of Data Structures
Fundamentals of Algorithms
Theory of Computation

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.

A driver is .
softwarehardwarestorage

Blank Blitz makes facts automatic

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

AThe integer 5 is 0101.
B0.75 is 1/2 + 1/4.
CThe fraction bits are 1100.

Build It gets the exam shape right

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

Head means the first single element of a non-empty list.
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 Fundamentals of 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.