0% found this document useful (0 votes)
73 views20 pages

1.1 Binary Code

The document discusses binary code, which uses only the digits 0 and 1 to represent all data and instructions that computers understand. It provides examples of how binary represents denary numbers and characters. It encourages learning to convert between denary and binary through a table that maps denary numbers to their binary equivalents. It also notes that every character typed on a keyboard is understood by the computer as a binary value, as shown through the ASCII table. Several tasks are presented to have the reader practice converting between denary and binary and presenting names and numbers in binary code.

Uploaded by

king Night
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
73 views20 pages

1.1 Binary Code

The document discusses binary code, which uses only the digits 0 and 1 to represent all data and instructions that computers understand. It provides examples of how binary represents denary numbers and characters. It encourages learning to convert between denary and binary through a table that maps denary numbers to their binary equivalents. It also notes that every character typed on a keyboard is understood by the computer as a binary value, as shown through the ASCII table. Several tasks are presented to have the reader practice converting between denary and binary and presenting names and numbers in binary code.

Uploaded by

king Night
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 20

Binary Code

010000100110100101101110011000010111001001
111001001000000100001101101111011001000110
0101

OBJECTIVES

1. Be able to recognise binary code

2. Be able to convert denary numbers into binary numbers

3. Be able to convert characters into binary numbers


Computers are not as smart as you think, in
fact, they only know 2 things…

0 and 1

Everything else is told to the computer by a


human, this is called programming.
Computers have millions of
tiny circuits inside.

For a computer

0 means turn a circuit off


1 means turn a circuit on
Humans need to learn the computers language to
be able to tell computers what to do.

The computers language is Binary.

Here is an example of what binary code looks like:

01010100011010000110100101110011001000000110
10010111001100100000011001010110000101110011
011110010000110100001010
The computer can only use 0s and 1s
So for a computer numbers go like is this…

Denary (our
Binary
numbers)
0 0
1 1
2 10
3 11
4 100
5 101
6 110
7 111
8 1000
9 1001
10 1010
11 1011
12 1100
How am I supposed to remember that?!
y
Denar eep
e rs – k
Make a table like this.. numb ling!
doub
128 64 32 16 8 4 2 1

To make the number 5, place a 1 under the numbers that you need
and a 0 under the numbers that you don’t…

128 64 32 16 8 4 2 1

0 0 0 0 0 1 0 1 This is Binary
So 5 for us, is 00000101 for the computer

128 64 32 16 8 4 2 1

0 0 0 0 0 1 0 1

We can forget the first few 0s and our binary


number 5 looks like this…
101
k 1 Now use your table to convert these
Tas numbers to binary:
3
2
0
6
10
17
20
42
47
71
146
255
k 2 Can you convert these binary numbers into
Tas denary?
a) 00011000
b) 00000101
c) 00010110
d) 01101011
e) 01111000
f) 10100100
g) 10100101
You T h) 10111100
I G H
M da i) 11010111
nee tor! j) 11100110
cu la
cal k) 11111010
k 3
Tas
128 64 32 16 8 4 2 1

1. Show your shoe size in binary

2. Show the date of the month you were born in binary


       
3. Show your age in binary
                 
4. Show your height in cm in binary
               
5. Show the amount of siblings you have in binary
                 
6. Show your house number in binary
                 
128 64 32 16 8 4 2 1
Task 4
More than 110010% of the people in the world have never made or received a
telephone call.
Answer:
Gorillas sleep as much as 1110 hours per day.
      Answer:
You can tell the sex of a horse by its teeth. Most males have 101000, females have
100100.
                Answer: 
Answer: 
On average, 1100 newborns will be given to the wrong parents daily.
              Answer: 
A giraffe can clean its ears with its 10101 inch tongue!
                Answer: 
A man named Charles Osborne had the hiccups for 1000101 years!
                Answer: 
Yey! Now you know binary code!

LOL JK, we’ve only just started…


k 5
Tas “There are 10 kinds of
people in the world,
those who understand
binary and those who
don’t”

Explain this joke…


Binary code isn’t just about numbers. Every
number, letter and symbol on your keyboard
needs to be converted into binary so the
computer can understand it.

We can see all these conversions in something


called an ASCII table.
From the ASCII table…
You can write your name in binary…

H a n n ah
010010000110000101101110011011100110000101001000

sk 6
Ta
Present your name using binary code.
Every time you type a letter on your
keyboard, the computer understands is as
loads of 0s and 1s!

Here are some other characters you might


need from the ASCII table…
More fom the ASCII table…
k 7
Tas Decode this message:
Binary Game

http://forums.cisco.com/CertCom/game/binary_ga
me_page.htm

You might also like