Binary basics
Binary logic, binary math, binary circuits -- they're the foundations of computer hardware and software, but why?
Computerworld - “But let your communication be, Yea, yea; nay, nay: for whatsoever is more than these cometh of evil.” Matthew 5:37
There is nothing in computer science as basic as the binary number system. In fact, the word binary is often used to refer to something that’s too simple, as in, “He’s a binary thinker,” meaning he can’t see shades of gray. (Or the digits 2 through 9.)
All of the software and all of the data in conventional (digital) computers, from PDAs to supercomputers, are built up from strings of zeroes and ones. If you knew where to look, that picture you took with your digital camera, the recent presentation to your board and all the complex logic in your company’s supply chain system would appear as endless streams of binary digits (bits), like this: 01100100100010110101101010...
The Way You Count Counts | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
It’s hard to believe today, but in the 1940s, the earliest computer technicians actually worked at the bit level. If a computer made a mistake and the technician determined it wasn’t from a burned-out vacuum tube, he might have replaced a 0 with a 1 somewhere and tried again.
In day-to-day life, most humans use the decimal, or base-10, system. But if humans had eight fingers, no doubt our numbering system would be a base-8 system, with numerals from 0 through 7. And if we had 16 fingers, we might use a base-16 system. In fact, IBM invented just such a system in the early 1960s, using the “numerals” 0 through 9 and A through F. “Hexadecimal” became the base notation for the IBM System/360 mainframes. Why? A programmer could remember and work with a 16-bit instruction much more easily when it was represented by four hex characters, such as 58F0 (a “load” instruction), than if it were 0101 1000 1111 0000.
Way before that, in 1949, Grace Hopper programmed the Binac (Binary Automatic Computer) at the Eckert-Mauchly Computer Corp. using octal code. She taught herself base-8 math, and she once admitted she couldn’t balance her checkbook because she tended to lapse into octal subtraction.
Still, at their lowest levels, the Binac and System/360s stored and operated on binary numbers, just as today’s computers do, with the octal and hex numbers that were entered by programmers converted to binary.
Binary Logic | |||
|
- 10 Hot Big Data Startups to Watch
- 11 Unique Uses for Google Glass, Demonstrated by Celebs
- How to Export Your Google Reader Account
- How to Better Engage Millennials (and Why They Aren't Really so Different)
- Telltale signs of ATM skimming
- 20 security and privacy apps for Androids and iPhones
- Big screen con artists: 7 great movies about social engineering
- IT Certification Study Tips
- Register for this Computerworld Insider Study Tip guide and gain access to hundreds of premium content articles, cheat sheets, product reviews and more.
- ESG Lab Validation of QLogic's Caching SAN Adapter ESG details the results of their testing of QLogic's new 10000 Series 8Gb Fibre Channel Adapter with a focus on scalable database performance...
- Driving DevOps to the Next Level At a time when budgets and resources are flat and development environments are exploding with complexity, DevOps teams are seeking ways to enhance...
- 7Steps for Choosing a Software Configuration System Ask why you want a new SCM
- QLE10000 Series Adapter Provides Application Benefits Through I/O This white paper provides an overview of the application performance capability of the FabricCache QLE10000 Series Adapter in single-server and multi-server environment.
- Lenovo & Windows 8 Innovative Devices Podcast Learn about the innovated devices that Lenovo designed to take full advantage of the new touch interface of Microsoft's Windows 8 Pro.
- Technology Support Solutions case study - Calvary Chapel Learn how Calvary Chapel leverages technology to support the church's mission and educational programs, with the help of PC Connection and Lenovo. All Hardware White Papers | Webcasts

