Data Representation: Characters
ASCII
● American Standard Code for Information Interchange
● ASCII represents characters as numbers that can be
stored as binary in a computer.
e.g. A = 65 = 01000001
B = 66 = 01000010 etc
ASCII
● ASCII is 7 bit, it uses 0 to 127
● It includes instructions to control old electronic typewriters.
Code Your Name In Decimal ASCII
● Make sure you use capital
and small letters
appropriately:
● J = 74
● o = 111
● h = 104
● n = 110
● space = 32
● S = 83
● m = 109
● i = 105
● t = 116
● h = 104
Decode This Hex ASCII into words
● 48
● 65
● 6C
● 6C
● 6F
● 20
● 57
● 6F
● 72
● 6C
● 64
● 21
Extended ASCII
No support for Cyrillic, Simplified Chinese, Japanese or many other languages
Extended ASCII
● Extended ASCII is 8 bit.
● It uses 128 to 255 for characters from different languages and
shapes.
No support
for Cyrillic,
Simplified
Chinese,
Japanese or
many other
languages
Unicode
Up to 32 bits (4 bytes) = 2,147,483,647 (2 billion) different
characters.
Every language, loads of symbols, pictures, emojis etc.
The first 128 symbols are the standard ASCII character set
for backwards compatibility
Remember it
● Characters are converted to numbers to be stored as
binary by computers.
● Add: The table of characters and numbers together is
called a character set.
● ASCII uses 7 bits for basic letters and punctuation.
● Extended ASCII uses 8 bits to add characters from
different languages and shapes.
● Unicode uses up to 32 bits giving characters of every
Remember it
● Ch*r*ct*rs ar* c*nv*rt*d t* n*mb*rs t* b* st*r*d as b*n*ry
by c*mp*t*rs.
● ASC** us*s 7 b*ts f*r b*s*c l*tt*rs and p*nct**t**n.
● Ext*nd*d ASC** us*s 8 b*ts t* add ch*r*ct*rs fr*m d*ff*r*nt
l*ng**g*s and sh*p*s.
● Un*c*d* us*s up t* 32 b*ts g*v*ng ch*r*ct*rs of ev*ry
l*ng**g*, symb*ls, em*j*s etc.
Remember it
● Cactntbsabbc
● Au7bfblap
● EAu8btacfdlas
● Uuut3bgcoelsee
Am*r*c*n st*nd*rd c*d* f*r inf*rm*t**n int*rch*ng*