AQA GCSE Computer Science 8525
Algorithms
Programming
Data Representation
Computer Systems
Computer Networks
Cyber Security
Relational Databases and SQL
Ethical, Legal and Environmental Impacts of Digital Technology
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.
Describe how to convert a decimal number to 8-bit binary.
Convert the binary number 00101100 to decimal.
Questions from this subtopic
Each one with the model answer underneath.
- 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
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
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
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
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
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.
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.