#1 By: howtogeek, April 16th, 2013 16:03
Originally published at: http://www.howtogeek.com/149225/why-do-computers-count-from-zero/
Today’s Question & Answer session comes to us courtesy of SuperUser—a subdivision of Stack Exchange, a community-driven grouping of Q&A web sites.
#2 By: Xhi, April 16th, 2013 18:41
Hmmm, I think a simpler answer is that if you do not start counting at 0 you have a real hard time arriving at -1. Also what does one call it if all bits are off? Also if you do not start at 0 a binary system would become a unary system, an octal system would become a septal system. I can not imagine why this is a question that needs an answer.
#3 By: Lowell Heddings, April 16th, 2013 18:45
Mostly because there are a lot of people that don't understand some of the underlying principles of computing, so they don't understand why we count from 1, but computers count from zero.
#4 By: Xhi, April 16th, 2013 18:58
One can not count without a some kind of concept whether they realize it or not. It is not only computers that start at zero. If one is counting something and there is none of them the answer is none, nil nada, zero. As I said as soon as negative numbers are introduced, which was long before computers zero was a concept that had to be understood.
#5 By: , April 16th, 2013 19:08
#6 By: Philip D, April 17th, 2013 16:33
It boils down to efficiency and information theory. A single bit can be either a 0 or 1. If you have a 4-bit value, you can represent 16 possible states with it, from 0000 (zero) to 1111 (15). If you start counting at 0001, you lose one of those states. This kind of thing sounds foolish when our phones have many gigabytes of memory, but this all started when computers counted memory in bytes and kilobytes.
#7 By: Andrew, April 17th, 2013 19:22
Yep, it was an early concept that just stuck.
#8 By: W. Schroeder, April 17th, 2013 19:43
Yeah, I remember that. One of the early machines I worked on had 1.4KB of RAM (called core storage in those days as opposed to the earlier systems that had drum storage). And when it was upgraded to 4KB, we felt like kings.
#9 By: Xhi, April 17th, 2013 21:22
My first computer that I owned was a PDP11-01. It had 28K of memory expandable to a maximum of 32k. Cost $9000 in 1970. In today's dollars $48,976.47
#10 By: , April 17th, 2013 21:31
One of the only Two OEM machines I have ever owned was one the first IBM Personal Computers.
Fully loaded with accessories of that period, the machine cost me $8000 dollars.
Wonder what our old machines would cost in Today's Dollars ????
#11 By: Xhi, April 17th, 2013 21:40
Just google "What is the value of a 19xx dollar in todays dollars?"
#12 By: , April 17th, 2013 21:54
#13 By: W. Schroeder, April 17th, 2013 21:59
I wonder on which shopping basket they base that inflation rate. I calculated @20 in 1964 and it comes up with appr. $150 today.
I remember in 1962 when we spent $20 in the supermarket my Olds 88 trunk was full of brown bags. If I spend $150 today, my Mercury trunk is not at all full. And that trunk is smaller than the Olds trunk. And gas was 26 cents/gallon.
There must be a lot of technology items in the shopping cart that they use as a base because those really got cheaper.
#14 By: , April 17th, 2013 22:05
I saw a number of ways to calculate the difference including the use of Calculus but just chose the Simple App.