Please Whitelist This Site?

I know everyone hates ads. But please understand that I am providing premium content for free that takes hundreds of hours of time to research and write. I don't want to go to a pay-only model like some sites, but when more and more people block ads, I end up working for free. And I have a family to support, just like you. :)

If you like The TCP/IP Guide, please consider the download version. It's priced very economically and you can read all of it in a convenient format without ads.

If you want to use this site for free, I'd be grateful if you could add the site to the whitelist for Adblock. To do so, just open the Adblock menu and select "Disable on tcpipguide.com". Or go to the Tools menu and select "Adblock Plus Preferences...". Then click "Add Filter..." at the bottom, and add this string: "@@||tcpipguide.com^$document". Then just click OK.

Thanks for your understanding!

Sincerely, Charles Kozierok
Author and Publisher, The TCP/IP Guide


NOTE: Using software to mass-download the site degrades the server and is prohibited.
If you want to read The TCP/IP Guide offline, please consider licensing it. Thank you.

The Book is Here... and Now On Sale!

The whole site in one document for easy reference!
The TCP/IP Guide

Custom Search







Table Of Contents  The TCP/IP Guide
 9  Networking Fundamentals
      9  Backgrounder: Data Representation and the Mathematics of Computing

Previous Topic/Section
Backgrounder: Data Representation and the Mathematics of Computing
Previous Page
Pages in Current Topic/Section
1
23
Next Page
Decimal, Binary, Octal and Hexadecimal Numbers
Next Topic/Section

Binary Information and Representation: Bits, Bytes, Nibbles, Octets and Characters
(Page 1 of 3)

The essence of computing is information. Computer hardware and software products are designed to allow the input, storage, transfer and expression of various types of information. A primary way in which types of information are differentiated is based on whether they are analog or digital. In highly simplified terms, analog information is continuous, while digital is discrete. The distinction between them can be seen by considering, for example, a light switch and a dimmer. A light switch allows a light to be turned on or off only—no “in-between” states. That's digital information—on or off. In contrast, a dimmer allows you to fine-tune the light output from fully on to fully off, with an infinite number of intermediate states in between: this is analog.

Binary Information

Modern digital computers store all of their information in digital form, because of how they work at a fundamental level. Much the way a light bulb has only an “on” or “off” value, so too do the components that store and manipulate information within computers. Millions of transistors comprise computer processors and other circuits, and are, in highly-simplified form, digital switches. Thus, all information in computers is manipulated as collections of information pieces that can be only “on” or “off”, like a switch.

Since there are only two possible states, “on” or “off”, this is called binary information (the prefix “bi” meaning “two”, of course.) There are several advantages to using binary representation for information. It is a simple way to represent many types of information, such as the state of a light bulb, or whether a file has been successfully copied, or whether a temperature should be expressed in Celsius or Fahrenheit. It is also possible to collect multiple binary values together to represent more complex information.

Perhaps most importantly, binary information is unambiguous. “On” is “on” and “off” is “off”, and this is important as it allows devices to detect clearly the value of a particular piece of information. Computers like black and white; they are not particularly good at dealing with “shades of gray”. This becomes especially important in the field of networking when transmission of data can cause signals to become polluted by noise.

The “on” or “off” condition of a binary value can be expressed in a number of different ways. In logical expressions, we may consider the value to be “true” or “false”. For representing mathematical values, the most common representation is “one” (“on”) or “zero” (“off”).


Previous Topic/Section
Backgrounder: Data Representation and the Mathematics of Computing
Previous Page
Pages in Current Topic/Section
1
23
Next Page
Decimal, Binary, Octal and Hexadecimal Numbers
Next Topic/Section

If you find The TCP/IP Guide useful, please consider making a small Paypal donation to help the site, using one of the buttons below. You can also donate a custom amount using the far right button (not less than $1 please, or PayPal gets most/all of your money!) In lieu of a larger donation, you may wish to consider purchasing a download license of The TCP/IP Guide. Thanks for your support!
Donate $2
Donate $5
Donate $10
Donate $20
Donate $30
Donate: $



Home - Table Of Contents - Contact Us

The TCP/IP Guide (http://www.TCPIPGuide.com)
Version 3.0 - Version Date: September 20, 2005

© Copyright 2001-2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.