English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

logic error or run-time error?

2007-07-02 12:44:20 · 4 answers · asked by Spirit of All Good 1 in Computers & Internet Programming & Design

4 answers

Logic because you can debug while running the program and see when something goes wrong and also if you are using something like Delphi or Net Beans some run time errors will be underlined. Logic is the hardest to find

2007-07-02 12:48:59 · answer #1 · answered by Anonymous · 0 0

Run-time errors occur when you've made a mistake with the programming language, such as not closing an if condition or using a wrong data type.

As others have noted, most compilers will catch such problems, or if not, the program will not execute.

A logic error means you didn't properly solve the problem. As a result, your program either generates gibberish or doesn't actually fix what it's supposed to fix.

Both can be hard to find, but I'd agree that a logic error is hardest to find and solve, because if you've done the best you can to solve a problem and it doesn't work, you're done.

2007-07-02 14:17:54 · answer #2 · answered by Anonymous · 0 0

Logic error. Run-time error usually results in halting execution. Logic error simply means that the program keeps producing incorrect computations...

2007-07-02 13:28:10 · answer #3 · answered by NC 7 · 0 0

Logic or otherwise known as semantics

The code can be error free by the program flow or process is flawed which can corrupt your data or completely destroy your data.

2007-07-02 14:56:47 · answer #4 · answered by Jeffrey F 6 · 0 0

fedest.com, questions and answers