You are on page 1of 9

Key Points

code - to write instructions for a computer.


Protocol - A set of rules governing the exchange or transmission of
data between devices.
Key Points
ASCII - American Standard Code for Information Interchange.
ASCII is the universally recognized raw text format that any computer
can understand.
ASCII codes represent text in computers, telecommunications
equipment, and other devices.
Originally each character was 7 bits long.
More modern systems uses 8 bits to represent each character.
ASCII Chart for UPPERCASE Letters
All Caps A B C D E F G H I J K L M
Decimal 65 66 67 68 69 70 71 72 73 74 75 76 77
Rep

All Caps N 0 P Q R S T U V W X Y Z
Decimal 78 79 80 81 82 83 84 85 86 87 88 89 90
Rep
ASCII Chart for LOWERCASE Letters
Lowercase a b c d e f g h i j k l m
Decimal 97 98 99 100 101 102 103 104 105 106 107 108 108
Rep

Lowercase n 0 p q r s t u v w x y z
Decimal 109 110 111 112 113 114 115 116 117 118 119 120 121
Rep
Finding the ACII Value for a Letter
For example find the ASCII code for M

Steps!!

1. Ask yourself if
the letter you are being asked to find is a
uppercase or lowercase letter?

In this example M is uppercase


Steps!!

2. Depending on your answer to step 1 check the tables on slide 4 for


the decimal value for the letter.

In this case M has a


decimal value of 77
Steps!!

2. Find the Binary for the number ( This is done the same way you
convert decimal to binary).

2 77 R
2 38 1
2 19 0
1001101
2 9 1
2 4 1
2 2 0
2 1 0
0 1
Steps!!

3. Each letter must have 8 Bits. Currently 1001101 is only 7Bits.


To make this 8 bits, put a zero (0) to the left of 01001101

Therefore the ASCII representation for M is 01001101

NB: if the conversion was only 5 Bits you would add 3 zeros to the left.

Question: How many zeros would if the conversion was 4 bits?


Great Job Team!!
Lets convert these to ASCII

a)T
b) Team

You might also like