howtogeek at April 16th, 2013 16:03 — #1
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.
xhi at April 16th, 2013 18:41 — #2
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.
geek at April 16th, 2013 18:45 — #3
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.
xhi at April 16th, 2013 18:58 — #4
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.
raphoenix at April 16th, 2013 19:08 — #5
philip at April 17th, 2013 16:33 — #6
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.
andrewrobert7 at April 17th, 2013 19:22 — #7
Yep, it was an early concept that just stuck.
whs at April 17th, 2013 19:43 — #8
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.
xhi at April 17th, 2013 21:22 — #9
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
raphoenix at April 17th, 2013 21:31 — #10
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 ????
xhi at April 17th, 2013 21:40 — #11
Just google "What is the value of a 19xx dollar in todays dollars?"
raphoenix at April 17th, 2013 21:54 — #12
whs at April 17th, 2013 21:59 — #13
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.
raphoenix at April 17th, 2013 22:05 — #14
I saw a number of ways to calculate the difference including the use of Calculus but just chose the Simple App.
geek at July 11th, 2014 14:26 — #16
This topic is now closed. New replies are no longer allowed.