A couple of interesting tales to tell the kids about overflowing a variable's capacity, and the importance of choosing the right sized variable for all current and future contingencies.<br><br>Found at <span class="f"><cite><a href="http://www.cs.bgsu.edu/maner/ethicomp95/keynote3-THE.html">www.cs.bgsu.edu/maner/ethicomp95/keynote3-THE.html</a></cite></span><br>
<br>- A hospital computer system in Washington, D.C., broke down on September 19, 1989, because its calendar calculations counted the days elapsed since January 1, 1900. On the 19th of September, exactly 32,768 days had elapsed, overflowing the 16-bit word used to store the counter, resulting in a collapse of the entire system and forcing a lengthy period of manual operation.<br>
<br>- At the Bank of New York, a similar 16-bit counter overflowed, resulting in a $32 billion overdraft. The bank had to borrow $24 million for one day to cover the overdraft. The interest on this one-day loan cost the bank about $5 million. <br clear="all">
<br>-- <br>Mark Kelly<br>Manager of ICT, Reporting, IT Learning Area<br>McKinnon Secondary College<br>McKinnon Rd McKinnon 3204, Victoria, Australia<br>Direct line / Voicemail: +613 8520 9085, Fax +613 9578 9253<br><a href="mailto:kel@mckinnonsc.vic.edu.au" target="_blank">kel@mckinnonsc.vic.edu.au</a><br>
VCE IT Lecture Notes: <a href="http://vceit.com" target="_blank">http://vceit.com</a><br>Moderator: <a href="http://www.edulists.com.au/" target="_blank">IT Applications Edulist</a><br><br><font>Want a good time? Call 0112358. Ask for Mr </font>Fibonacci.<br>