Science Fair Project Encyclopedia
The zeroth item is the initial item of a sequence, if that sequence is numbered beginning from zero rather than one.
In that case, when using the word "first", it should be made clear whether the common meaning "initial" is meant, or the special meaning "the item after the zeroth". A similar ambiguity arises for "second", etc. Ambiguity can be avoided by referring to "the item with index 1", etc.
This habit is caused by design choices embedded in many influential programming languages, including C and Lisp. In both, sequence types (C arrays and Lisp lists and vectors) are indexed beginning with the zero subscript. Particularly in C, where arrays are closely tied to pointer arithmetic, this makes for a simpler implementation. Other languages have adopted one-based arrays for a closer correspondence to the usual ordinal numbers.
Zero is the lowest unsigned integer value, one of the most fundamental types in programming and hardware design. In computer science, zero is thus often used as the base case for many kinds of numerical recursion. Proofs and other sorts of mathematical reasoning in computer science often begin with zero. For these reasons, in computer science it is not unusual to number from zero rather than one.
Hackers and computer scientists often like to call the first chapter of a publication "Chapter 0", especially if it is of an introductory nature. One of the classic instances was in the First Edition of K&R. In recent years this trait has also been observed among many pure mathematicians, where many constructions are defined to be numbered from 0.
Zero-based numbering tends to reduce fencepost errors, though it cannot eliminate them entirely, and may even introduce them
While the ordinal of 0 is rarely used outside of communities closely connected to mathematics and computer science, there is one instance of it in classical music. The composer Anton Bruckner regarded his early Symphony in D minor to be unworthy of including in the canon of his works, and he wrote 'gilt nicht' on the score and a circle with a crossbar, intending it to mean "invalid". But posthumously, this work came about to be known as Symphony No. 0 in D minor, even though it was actually written after Symphony No. 1 in C minor. There's an even earlier Symphony in F minor of Bruckner's that is sometimes called No. 00.
Note also the use of 00 hours in the 24-hour clock as beginning of the day.
The contents of this article is licensed from www.wikipedia.org under the GNU Free Documentation License. Click here to see the transparent copy and copyright details