3 – Numbers in Binary

🎯 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 use 10 digits and the decimal (base-10) system for numbers.

This is probably because we have 10 fingers to count with.

‘digitus’ is Latin for ‘finger’

📖 Enter binary

We will use two digits and the binary (base-2) system for numbers.

Same reasoning as in decimal.

Leibniz (1646–1716)

What do we call these symbols?

How many of them are there?

0 1

Answers

A sequence of binary digits represents a number, just like you did with decimal numbers.
Just like in decimal numbers, each position in this sequence of binary digits corresponds to a  ‘multiplier’ or ‘weight’. 
Each multiplier is twice as large as the one before it: they are powers of 2.
Although binary is not familiar, it is actually much simpler than decimal: there is no need for multiplication, because when the value of a binary digit equals 1, the corresponding multiplier is included in the sum.

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

🥇 Gold Badge

🥉 Platinum Badge

  • Complete the two Calculating bits using spreadsheets worksheets and upload them to Bourne to Learn.