AQA A-Level Computer Science 7517
Fundamentals of Programming
Fundamentals of Data Structures
Fundamentals of Algorithms
Theory of Computation
Fundamentals of Data Representation
Fundamentals of Computer Systems
Fundamentals of Computer Organisation and Architecture
Fundamentals of Communication and Networking
Consequences of Uses of Computing
Systematic Approach to Problem Solving
Fundamentals of Databases
Big Data
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.
How is the base of a number written down, and what do 67₁₀, 10011011₂ and AE₁₆ mean?
Describe the repeated division method for converting a decimal number to hexadecimal.
Questions from this subtopic
Each one with the model answer underneath.
- 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
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
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
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
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
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.
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.