| You are here: | About>Computing & Technology>C / C++ / C#> Glossary> B> Binary - Definition |
![]() | C / C++ / C# |
Elsewhere on the Web"Definition of Binary"Definition: Binary refers to base two arithmetic using the digits 0 and 1. This corresponds to the electric current in a wire- its either On (a value of 1) or Off ( a value of 0) and this is known as a bit, derived from Binary dIgiT.
A binary number can be converted to base ten (decimal) by starting at the rightmost bit and multiplying each successive bit to the left by two. The rightmost bit is multiplied by 1, the next to the left by 2 then 4 etc. In decimal arithmetic each place to the left is multipled by ten. The rightmost digit is multipled by one, the next to the left by ten, and so on. 14710 = (1 * 100) + (4 * 10) + (7 * 1). 10112 = (8 * 1) + (4 * 0) + (2 * 1) + (1*1) = 1110. In programming, binary is sometimes used to save space by packing several boolean values into one int. NoteMachine Code is sometimes known as binary.Glossary:A B C D E F G H I J K L M N O P Q R S T U V W X Y ZAlso Known As: Base Two Examples: There are 10 types of people in the world. Those who understand binary and those who don't. Elsewhere on the Web |
Las Vegas on a BudgetFind a BargainHotel DealsCheap EatsFree AttractionsEntertainment for Less |
All Topics | Email Article | Print this Page | | ![]() |
| Advertising Info | News & Events | Work at About | SiteMap | Reprints | Help | Our Story | Be a Guide |
| User Agreement | Ethics Policy | Patent Info. | Privacy Policy | ©2008 About, Inc., A part of The New York Times Company. All rights reserved. |


