Main » Articles » Computer Science » 2014

Calculation ERRORS
Computers do lots of calculations - millions or more per second. Unfortunately, they sometimes make mistakes. We call these ERRORS. They are not actually caused by computer "mistakes", because the computer is following programming that a human being wrote. And computers do follow that programming exactly. So if there is a mistake, it came from a human beings. Computers are perfectly RELIABLE (well, maybe 99.999%). 

We will look at some common ERRORS that occur in computer programs - especially Java programs.
For example, this command does NOT print what you expect.

System.out.println(0.1 + 0.2 + 0.3);

Here is a practice assignment, doing calculations.
Category: 2014 | Added by: Jerry (07/10/2011)
Views: 230 | Rating: 0.0/0
Total comments: 0
Only registered users can add comments.
[ Registration | Login ]
Section categories
2014 [20]
2013 [57]
Statistics
Map
Login form