Carnegie Mellon University: David Touretzky's "Basics of Information Theory"

Read this page to learn about information theory and get a feel for how messages can be encoded. Make sure you do the exercise listed on the page under "Variable Length Codes" section.