Preskoči na glavni sadržaj
Prijava
Sign up for FREE
arrow_back
Biblioteka

Binary and Logic Lesson 2 - Binary to Denary

star
star
star
star
star
Posljednje ažuriranje over 1 year ago
18
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0

Learning Objectives

1: Understand the binary system

2: Know how to convert binary to denary

3: To be aware how the number of Bits can affect how many numbers you can make

For revision, use the BBC Bitesize link: https://www.bbc.co.uk/bitesize/guides/z26rcdm/revision/1

What is Binary?

In computing, we often use two systems to represent numbers: binary and denary.

The binary system uses only two digits, 0 and 1 because computers only understand this.

While the denary system is the one we use every day, which includes the digits from 0 to 9.

In denary, a number is represented with Units, Tens, hundreds, thousands (Goes up by x10)

e.g. 1000 100 10 1

In binary, a number is represented with 1, 2, 4, 8, 16 .... (goes up by x2)

e.g. 128 64 32 16 8 4 2 1

Each Binary digit, is called a "bit".

E.g. The denary number 64 can be represented in binary (0s and 1s) as 01000000.

1
Pitanje 1
1.

What is Binary?

Pitanje 2
2.

Drag the numbers into the correct category. Can the number be a binary number or not?

  • 32

  • 16

  • 1000

  • 10010000

  • 01000001

  • 0

  • 1

  • 128

  • Can be a Binary Number

  • Cannot be a binary number

Example question:

Convert the 8-bit binary number 10011010 into denary.

Step 1: Write the binary headings. Headings for 8 bits:

128 64 32 16 8 4 2 1

Step 2: Put the binary number underneath

128 64 32 16 8 4 2 1

1 0 0 1 1 0 1 0

Step 3: Add the heading values where there is a 1.

128 64 32 16 8 4 2 1

1 0 0 1 1 0 1 0

= 128 + 16 + 8 + 2

= 154

1
Pitanje 3
3.

How do you Convert a Binary number to a Denary Number?

  1. Write the Binary number underneath each heading.

  2. Add up all the headings where there is a "1" underneath it.

  3. Write the Headings for each Binary digit (128 64 32 16 8 4 2 1)

Pitanje 4
4.

Guided Practice:

Convert 10000001 into denary

Pitanje 5
5.

Guided Practice 2:

Convert 01001010 into denary

Pitanje 6
6.

Convert 10000101 into denary

Pitanje 7
7.

Convert 00001111 into denary

Pitanje 8
8.

Convert 00101010 into denary

Pitanje 9
9.

Convert 00000001 into denary

Pitanje 10
10.

Convert 11111111 into denary

Pitanje 11
11.

Convert 11100000 into denary

Pitanje 12
12.

What is 01000000 in denary? (You can draw the table this time)

Pitanje 13
13.

What is 01101011 in denary?

Pitanje 14
14.

What is the largest denary number that can be represented with 8-bits?

Pitanje 15
15.

How many DIFFERENT numbers can be made with 8 bits?

Pitanje 16
16.

How many different numbers can be made with the following number of bits?

Stavka koja se može prevućiarrow_right_altOdgovarajuća stavka

3 Bits

arrow_right_alt

2 Numbers: 0 and 1

1 Bit

arrow_right_alt

4 Numbers: 0 to 3

9 Bits

arrow_right_alt

8 Numbers: 0 to 7

8 Bits

arrow_right_alt

16 Numbers: 0 to 15

2 Bits

arrow_right_alt

256 Numbers: 0 to 255

4 Bits

arrow_right_alt

512 Numbers: 0 to 511

Pitanje 17
17.

Go onto this link: https://learncomputing.org/binary#

Click on "Choose Quiz"

Click "GCSE"

then choose binary to denary.

Screenshot your progress.

Reading for next lesson

How to convert a Denary number to Binary:

E.g. Convert 135 into Binary

Step 1: Write the binary headings.

Headings for 8 bits:

128 64 32 16 8 4 2 1

Step 2: Start from the left-most header.

If the number can be subtracted, but a 1.

Else put a 0.

Continue going right with the remainder.

135 - 128 = 7 (remaining)

128 64 32 16 8 4 2 1

1

7 - 64 will be less than 0, so put a 0.

128 64 32 16 8 4 2 1

1 0

7 - 32? Put a 0.

128 64 32 16 8 4 2 1

1 0 0

7 - 16? Put a 0.

128 64 32 16 8 4 2 1

1 0 0 0

7 - 8? Put a 0.

128 64 32 16 8 4 2 1

1 0 0 0 0

7 - 4 = 3 (remaining)

128 64 32 16 8 4 2 1

1 0 0 0 0 1

3 - 2 = 1 (remaining)

128 64 32 16 8 4 2 1

1 0 0 0 0 1 1

1 - 1 = 0 (remaining)

128 64 32 16 8 4 2 1

1 0 0 0 0 1 1 1

135 into Binary is 10000111

https://www.bbc.co.uk/bitesize/guides/z26rcdm/revision/3

Pitanje 18
18.

What is 8 in binary?