๐Ÿ”  ASCII Table Study Guide

Click here to see the ASCII Table.

Click here, read and record to tell you why Knowing ASCII is important for Cyber.
Your file name will be PX_lastname_ASCII.mp3
Be sure to drop off your file into google classroom.

๐Ÿ“˜ What is ASCII?

ASCII (American Standard Code for Information Interchange) is a character encoding standard used to represent text in computers and other devices that use text.

๐Ÿง  Key Concepts to Learn

1. ASCII Range

RangeCharactersExample
0โ€“31Control Characters\n (newline), \t (tab)
32โ€“47Punctuation!, ", #, $, %, &
48โ€“57Digits0 to 9
65โ€“90Uppercase LettersA to Z
97โ€“122Lowercase Lettersa to z
127Delete(DEL)

2. Control Characters

CodeNameDescription
0NULNull
7BELBell (alert)
8BSBackspace
9TABHorizontal Tab
10LFLine Feed (newline)
13CRCarriage Return

๐Ÿ”ก ASCII Code Examples

Character: A
ASCII Decimal: 65
ASCII Binary: 01000001
ASCII Hex: 41
  
Character: 1
ASCII Decimal: 49
ASCII Binary: 00110001
ASCII Hex: 31
  

๐Ÿ’ก Helpful Tips

๐Ÿ› ๏ธ Practice Exercises

  1. What is the ASCII value of 'Z'?
  2. What character does ASCII 97 represent?
  3. Write the ASCII values of the string "Hi!".
  4. What is the binary representation of 'C'?
  5. Match the following:

Click to see the answers, read and record.
Your file name will be PX_lastname_Practice1.mp3
Be sure to drop off your file into google classroom.

๐Ÿงช Programming Example (Python)

# Convert text to ASCII
text = "Code"
ascii_values = [ord(c) for c in text]
print(ascii_values)  # Output: [67, 111, 100, 101]

# Convert ASCII to text
codes = [72, 105]
characters = ''.join([chr(code) for code in codes])
print(characters)  # Output: Hi
  

๐Ÿ“Š Summary Chart

CharDecHexBin
A654101000001
B664201000010
a976101100001
0483000110000
!332100100001
Space322000100000

โœ… Review Questions

  1. What is the difference between ASCII and Unicode?
  2. Why are ASCII values helpful in sorting text?
  3. How are ASCII codes used in network protocols?

Click to see the answers, read and record.
Your file name will be PX_lastname_Review1.mp3
Be sure to drop off your file into google classroom.

In summary, you will be dropping off 3 files into google classroom.
PX_lastname_ASCII.mp3
PX_lastname_Practice1.mp3
PX_lastname_Review1.mp3