Programming Project: Character Representation


In this project, you will explore how characters are represented numerically in a computer, and compare the decimal, hexadecimal, octal, and binary formats for those numbers. The project will also give you additional practice with programming in C and using git. (See the Kit Help Page Working with Kit Repositories (plain text version) for reminders on using Git and Kit together.)

You should work on this project individually. You may talk to your neighbors in class, or to friends or the TAs in the Collaboration Center, but you should submit your own work. Don't forget to document any help you receive in your program.

Getting Started, Understanding the Program:

Modification #1: Report on All Characters in a Line:

Modification #2: Add Binary Format:

Remember, you can complete the edit/add/commit/push cycle repeatedly. In fact, pushing versions of your project while it is still under construction is a way to create backups of your work as you go.

Turn In the Project: