|
Encoding Schemes Converting physical signals into binary is the process of digitization. We can digitize sound, words, images, music, even smells! They all become a pattern of 1s and 0s. Deciding exactly how the software should interpret this data is the second aspect of modeling: binary encoding. For example, a gaming joystick attached to the computer can have several different positions, similar to the points on a compass. A basic model of a joystick will provide 8 different positions: north, northeast, east, southeast, south, southwest, west, and northwest. We can represent these in binary as follows: N = 000, NE=001, E=010, etc. (But even this is insufficient, since we have not accounted for the center position of the joystick or the button[s].) |
|
||
|
If you encounter technical errors, contact computing@calvin.edu. |