View as PDF

COMPUTING AND DIGITAL LITERACY

Binary Numbers

Difficulty level: Intermediate

Computing and Digital Literacy

This document was made by AI and there may be mistakes. If a question or answer looks wrong, use the Flag a mistake button to let Brett know so he can fix it.

Overview of the concept

This is how computers store everything, from photos to music to text messages. A computer only has off and on switches, so it counts in ones and zeros, and every file you have is built from those two digits. Understanding binary is understanding what is actually inside the devices you use every day.

Rule

Binary numbers: binary place values double as you move left, 1, 2, 4, 8, 16, and so on.

The value of a binary number is the sum of the place values under a 1.

Worked examples

Example 1

Convert 1011 to decimal

Solution

Place values: 8 4 2 1

Digits: 1 0 1 1

Work: 8 + 0 + 2 + 1 = 11. So 1011 = 11

Write the place values above the digits, doubling leftwards: 1, 2, 4, 8.

Keep only the place values under a 1: here 8, 2, and 1.

Add those values: 8 + 2 + 1 = 11, so binary 1011 is decimal 11.

Example 2

Convert 13 to binary

Solution

13 - 8 = 5(take the8)

5 - 4 = 1 (take the 4)

1 - 1 = 0 (take the 1)

Result: 1101, since 8 + 4 + 0 + 1 = 13

Place values 8, 4, 2, 1 with digits 1, 1, 0, 1 give 1101, so 13 in binary is 1101.

Practice questions

1

Which digits does binary use? Use the chart in the picture.

8 4 2 1 ? ? ? ?
2

A scoreboard shows binary 101. Use the first row of the place value table. What is it in decimal? Use the chart in the picture.

4 2 1 1 0 1
3

A robot counts 1101 in binary. What is it in decimal? Use the chart in the picture.

8 4 2 1 1 1 0 1
4

You need to send the number 6 to a computer that only reads binary. What is decimal 6 in binary? Use the chart in the picture.

4 2 1 ? ? ?
5

A combination lock needs the number 10 in binary. What is decimal 10 in binary? Use the chart in the picture.

8 4 2 1 ? ? ? ?
6

Write down the first four binary place values, starting from the right.

7

A traffic light controller reads binary 1000. What is it in decimal? Use the chart in the picture.

8 4 2 1 1 0 0 0
8

Three small lights are all on, showing binary 111. What is it in decimal? Use the chart in the picture.

4 2 1 1 1 1
9

Why do computers use binary?

8 4 2 1 1 0 1 0
10

A lift panel shows binary 1010. What floor is it in decimal? Use the chart in the picture.

8 4 2 1 1 0 1 0
ANSWER KEY

1. 0 and 1

2. 5

3. 13

4. 110

5. 1010

6. 1, 2, 4, 8

7. 8

8. 7

9. Because their switches have two states, off and on, matching 0 and 1

10. 10