• Study Resource
• Explore

Download Document

Survey
Was this document useful for you?
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Transcript
```01011001 01100101 01100001
01110010 00100000 00111000
00100000 01000010 01101001
01101110 01100001 01110010
01111001
• LO1. To learn the purpose of binary
• LO2. To recognise binary bits.
• LO3. To convert decimal to binary and
binary to decimal
Starter
LO1. To learn the
purpose of binary
LO2. To recognise
binary bits.
• Discuss
– What is binary?
LO3. To convert
decimal to binary
and binary to
decimal
Page 1 of your workbook
Still confused.
LO1. To learn the
purpose of binary
LO2. To recognise
binary bits.
LO3. To convert
decimal to binary
and binary to
decimal
Computers are not human. They run
on electricity, that means they have
to use electricity to represent
information.
Electricity has two states
ON or OFF.
Electric Switch
LO1. To learn the
purpose of binary
LO2. To recognise
binary bits.
LO3. To convert
decimal to binary
and binary to
decimal
Think of a light switch.
• It is either ON or OFF
– ON = light on
– OFF = light off
On a computer the computer
Saves the information as a single
number.
1 = There is power
0 = There is no power
Page 1 of your workbook
bit of this bit of that!!!
Computers save lots and lots of these 1 (ON) and
0 (OFF) numbers.
We have to group them: one ON and OFF
together are called a ‘bit’. This stands for
binary digit
Refresh. A bit is made up of a 1 and an 0
Grouping
LO1. To learn the
purpose of binary
• If we have one bit we can have two values. 1
or 0
LO2. To recognise
binary bits.
• How many values can we have if we join two
bits together.
LO3. To convert
decimal to binary
and binary to
decimal
–
–
–
–
00
01
10
11
• You can see that if we put two bits together
we can pick 4 different values.
• We can keep grouping bits to make more and
more values
Page 2 of your workbook
• How many different values can be made
000
with 3 bits?
001
010
• extension.:
011
100
1 bit = 21
101
110
2 bit = 22
111
3
2 bit = 2
Extension:
4
2 bit = 2
25 = 32 values
How many values can you have with 5 bits.
Grouping further!
LO1. To learn the
purpose of binary
LO2. To recognise
binary bits.
LO3. To convert
decimal to binary
and binary to
decimal
• The smallest unit in binary is
the bit.
• Four bits together are called
one nibble.
• Eight bits are called one byte.
• 1024 bytes are called one
kilobyte (kb)
• And there is more……..
Binary to decimal
LO1. To learn the
purpose of binary
In decimal if we have the number 7 we can
lay it out in a table: Each is a power of 10
LO2. To recognise
binary bits.
1000
100s
10’s
units
7
LO3. To convert
decimal to binary
and binary to
decimal
In binary we have a different table. Each is
a power of 2.
128
64
32
16
8
4
2
1
0
0
0
0
0
1
1
1
Note: the is 8 bits which is a
Byte
Another Example
The number 127
LO1. To learn the
purpose of binary
LO2. To recognise
binary bits.
LO3. To convert
decimal to binary
and binary to
decimal
1000
100s
10’s
units
1
2
7
In binary
128
64
32
16
8
4
2
1
0
1
1
1
1
1
1
1
The number 255
1000
100s
10’s
units
2
5
5
In binary
128
64
32
16
8
4
2
1
1
1
1
1
1
1
1
1
Pupils to pretend to be a
Byte
LO1. To learn the
purpose of binary
LO2. To recognise
binary bits.
LO3. To convert
decimal to binary
and binary to
decimal
• Pupils to be given the signs.
• Competition to see who can
make the binary number first.
• Teacher will say a number
between 1-255
Binary to decimal
In binary
LO1. To learn the
purpose of binary
LO2. To recognise
binary bits.
LO3. To convert
binary to decimal
128
64
32
16
8
4
2
1
0
0
0
0
0
1
1
1
Changing binary to decimal.
0*128 + 0*64 + 0*32 + 0*16 + 0*8 + 1*4 + 1*2 + 1*1 = 7
128
64
32
16
8
4
2
1
0
1
1
0
0
0
0
1
Changing binary to decimal.
0*128 + 1*64 + 1*32 + 0*16 + 0*8 + 0*4 + 0*2 + 1*1 = 97
Activity.
LO1. To learn the
purpose of binary
LO2. To recognise
binary bits.
LO3. To convert
binary to decimal
• Binary worksheet.
• Work your way through the
worksheet.
• Don’t be afraid to ask the
person next to you.
Plenary
Using your knowledge of binary. What does this mean.
Pupils to explain what they think it means
```
Similar