Binary

By Martin McBride, 2016-11-21

Categories: data representation binary numbers

A computer is made up of millions (or sometimes billions) of tiny electronic switches called transistors.

Each transistor can either be switched on or off. We call the on/off states 1 and 0. Because there are only two states, we refer to this as binary (the prefix bi- means two).

Computers store and process numbers and symbols in binary format. Binary data can hold text, computer code, web pages, spreadsheets etc.

Other types of data, such as images, video or sound, must be digitised before they can be stored and processed. This involves converting pixel colour information and sound signals into binary numbers that the computer can handle.

See also

Sign up to the Creative Coding Newletter

Join my newsletter to receive occasional emails when new content is added, using the form below:

Popular tags

555 timer abstract data type abstraction addition algorithm and gate array ascii ascii85 base32 base64 battery binary binary encoding binary search bit block cipher block padding byte canvas colour coming soon computer music condition cryptographic attacks cryptography decomposition decryption deduplication dictionary attack encryption file server flash memory hard drive hashing hexadecimal hmac html image insertion sort ip address key derivation lamp linear search list mac mac address mesh network message authentication code music nand gate network storage none nor gate not gate op-amp or gate pixel private key python quantisation queue raid ram relational operator resources rgb rom search sort sound synthesis ssd star network supercollider svg switch symmetric encryption truth table turtle graphics yenc