T4 Ascii
T4 Ascii
Starter
• A computers memory and storage only hold binary
1s and 0s
• How might it be possible to store letters with only binary?
ASCII
Unit 2 Data
0 1 0 0 1 1
0 1
ASCII
Unit 2 Data
Representing characters
in binary
• Every character on the keyboard is represented by a
binary value
• Uppercase letters (capitals) have different values from lowercase
characters
• Punctuation symbols have their own character code
Characters in binary
• A keyboard needs to contain
• 26 lowercase letters
• 26 uppercase letters
• 10 numbers
• (around) 36 other characters
Character sets
• A character set is a set of letters, symbols and digits
that can be represented by a computer
• There are two major character sets in use today
• ASCII
• Unicode
Worksheet 4
• Complete Task 1 on Worksheet 4
ASCII
Unit 2 Data
ASCII representation
of numbers
• Try typing ALT + 55
• What is the binary representation of the ASCII
character 7? Is this the same as the binary value for 7?
• Why not? What does this mean?
ASCII
Unit 2 Data
Worksheet 4
• Complete Task 2 on Worksheet 4
ASCII
Unit 2 Data
Plenary
• Work in a pair to answer the
following questions
• How many bits are required for
each ASCII character?
• How many characters does this
allow for?
• If ‘f’ has the ASCII code 102, what
is the ASCII code for ‘g’?
• How many bytes are needed to
store “Hello everyone.”?
ASCII
Unit 2 Data
Plenary
• How many bits are required for each ASCII character? 8 bits
• How many characters does this allow for? 256
• If ‘f’ has the ASCII code 102, what is the ASCII code for ‘g’?
103
• How many bytes are needed to store “Hello everyone.”?
15 letters (remember space and the full stop)
ASCII
Unit 2 Data
Copyright
This unit and all the worksheets, PowerPoint presentations, teaching guides and other associated files
distributed with it are supplied to you by PG Online Limited under licence and may be used and copied by you
only in accordance with the terms of the licence. Except as expressly permitted by the licence, no part of the
materials distributed with this unit may be used, reproduced, stored in a retrieval system, or transmitted, in any
form or by any means, electronic or otherwise, without the prior written permission of PG Online Limited.
Licence agreement
This is a legal agreement between you, the end user, and PG Online Limited. This unit and all the worksheets,
PowerPoint presentations, teaching guides and other associated files distributed with it is licensed, not sold, to
you by PG Online Limited for use under the terms of the licence.
The materials distributed with this unit may be freely copied and used by members of a single institution on a
single site only. You are not permitted to share in any way any of the materials or part of the materials with any
third party, including users on another site or individuals who are members of a separate institution. You
acknowledge that the materials must remain with you, the licencing institution, and no part of the materials may
be transferred to another institution. You also agree not to procure, authorise, encourage, facilitate or enable any
third party to reproduce these materials in whole or in part without the prior permission of PG Online Limited.