ASCII Graded LAB
Part I
- Each student will choose the word that consists of 3-4 characters.
- Each student will encode the word using ASCII code and binary number
system as follows:
- First, each letter will be encoded using ASCII code that
corresponds to
the letter. ASCII table will be used to find the ASCII code for each
letter.
- Second, the ASCII code will be converted to the binary
number. Use 8 bits for each letter even if there are leading zeros.
- Third, after all letters in the word are encoded, you will write
the binary
code that corresponds to the original word by replacing each letter with
the binary code that was found and send encoded message to student that next to
you on the right (Rachel to Veronica, Veronica to Zack, Zack to Matthew,
Matthew to Erica, Erica to Nicole, Nicole to Joe and Joe to Rachel)
- Here is the simple example for the word IF
- Letter I has ASCII code 73 and letter F has ASCII code 70
- The binary code (the binary number) that corresponds to 73 is 01001001
(use 8 bits even if the first bit is 0) and the binary code that
corresponds to 70 is 01000110.
- The binary code for word IF is: 01001001 01000110
Part II
In this part each student will decode the message and recover original word
Submission
- For encoding: write all calculations on the paper with your name. DON'T
WRITE your original word on that paper! The original word that each student
encoded will be
sent by e-mail to ykortsarts@mail.widener.edu
- For decoding: add your name to the paper you received from your friend.
Write all calculations for decoding including the recovered word and
submit
your paper.