Letters form the basis of written communication in our society. For a computer to store written text it needs a way to convert, or encode these text characters into a numeric format. There are a number of ways to do this including the ASCII and Unicode encoding protocols.
- View Offline
- Using binary, we can represent values of different types…in a format that is native to a computer.…We can do the same with text.…You just have to be a little more creative…about how we do it.…Maybe you've used a decoder ring.…Using a decoder ring, you can take a message…that contains letters, and using it…find the corresponding number or symbol…that is used for that letter.…You can take a phrase like this one…and for each unique letter, you have…a symbol that represents it.…Using this, you can convert each letter…to the new code, and this is called encoding.…
You are taking the original text…and are converting it to a unique code.…On the other side, if you get a message…that uses these symbols, I can take each symbol…and using that same decoder ring…I can match the symbol to the letter…and decode the message back into the original format.…Both the encoding and decoding process…need to be identical and agreed upon at both ends.…If one end has a different decoder ring…than the other, we can't communicate.…This agreed upon method is called a protocol…
This course is the first in our Computer Science Principles series, designed around the AP Computer Science Principles (CSP) curriculum. It is a great foundation for anyone, at any age, to prepare for careers in technology and computer science. Lessons in this segment cover the building blocks of computing: binary logic, number systems, text and image encoding, compression, and simple communication protocols. Understanding these basics will help you understand the interplay between hardware, software, data, networks, and the people that use them.
- Binary and bits
- Digital communication
- Number systems
- Encoding text
- Compressing text and images