|
Converting information into data that a computer can process and store is known as coding information. Here are some examples of how information can be encoded as data :
Information | Example Encoding as Data |
22nd June 2002 Male 5 Door Estate Car | 22062002 M 5E |
Coding reduces the amount of data storage space required, can speed up the process of typing the information in and makes it easier to validate (check) data. For coding to work properly everyone who uses an information system needs to know what the correct codes are.
In fact most computers are digital devices and can only store the numbers 0 and 1 in their memories. Letters and other numbers must be encoded as sequences of 0s and 1s (called binary) before they can be stored. This encoding is done automatically by the computer.
Decimal numbers are represented in binary by sequences of 0s and 1s :
Decimal Number | Binary Number |
0 213 | 00000000 11010101 |
Letters and symbols are stored in binary using a standard coding system such as ASCII. Each letter is represented by a unique pattern of 0s and 1s :
Letter | ASCII Code |
A P % | 01000001 01010011 00100101 |
GCSE ICT Companion 04 - (C) P Meakin 2004