🎯 Learning Objectives
Develop the Data & Data Representation Learning Strands:
- Explore how a sequence of binary digits can represent numbers.
- Convert between decimal and binary numbers.
💬 Key Vocabulary
- representations
- Decimal numbers
- symbols
- binary numbers
- binary digits
- conversion (between number systems)
📝 Starter Activity – Boins
Take a look at these strange coins (let’s call them ‘boins’).
You only have one of each.
Is there any amount that you won’t be able to pay with these?
You won’t be asked to pay for anything over 31.
Answers
📖 You’ve seen this before
What do we call these symbols?
How many of them are there?
0 1 2 3 4 5 6 7 8 9
Answers
We call these symbols digits.
There are 10 of them.
A sequence of decimal digits represents a number.
We use 10 digits and the decimal (base-10) system for numbers.
This is probably because we have 10 fingers to count with.
📖 Enter binary
We will use two digits and the binary (base-2) system for numbers.
Same reasoning as in decimal.
What do we call these symbols?
How many of them are there?
0 1
Answers
We call these symbols binary digits.
There are only 2 of them.
A sequence of binary digits represents a number.
In binary, we use 2 digits and the binary (base-2) system for numbers.
It is convenient for systems using switches.
In a sense, binary digits act like switches:
Flip one to on, and the corresponding multiplier is included in the sum
📖 Convert binary to decimal: instructions
Write multipliers over the bits:
Start with 1 on the right, and double as you go from right to left.
For each bit set to 1, select its corresponding multiplier.
Add up the selected multipliers: the sum is the decimal number.
🥈 Silver Badge: Bits to numbers
Download the Silver Worksheet below and solve the problems.
‘Translate’ binary numbers back to the familiar decimal system.
📖 Convert Decimal to binary: instructions
Now, we will do the opposite: start with a decimal number and work out the corresponding binary number.
There are a few ways to do this.
We are only going to examine one of them.
- Which multipliers do I select to ‘assemble’ a sum of 13?
- Which binary digits do I set to 1?
🥇 Gold Badge: Numbers to bits
Now, you will be given some numbers in decimal.
Can you work out the corresponding binary numbers?
Use the worksheet below:
🥉 Platinum Badge: Calculating bits using spreadsheets
Download the two worksheets below, they will show you how to use Excel and spreadsheets to automatically calculate numbers to bits and bits to numbers.
In this lesson, you…
- Explored how numbers can be represented as sequences of decimal and binary digits.
- Converted between decimal and binary numbers.
Next lesson, you will…
- Examine how we count the number of binary digits in sequences that are really long.
🏅 Badge it
🥈 Silver Badge
- Complete the Bits to Numbers worksheet and upload it to Bourne to Learn.
🥇 Gold Badge
- Complete the Numbers to Bits worksheet and upload it to Bourne to Learn.
🥉 Platinum Badge
- Complete the two Calculating bits using spreadsheets worksheets and upload them to Bourne to Learn.