answersLogoWhite

0

There are three kinds of errors. One type won't allow the program to compile. One type will make it exit due to error while running. And the last type, the hardest to find, won't cause any problems for the program, but it will cause the program to do something the programmer didn't intend for it to do. These, logic errors, may still exist in a program that seems to run fine.

User Avatar

Wiki User

15y ago

What else can I help you with?

Continue Learning about Engineering

What are the similarities between compiler and interpreter?

Both compiler and interpreter are the language programs that translates source program into machine code or we can say object code. Both are used to find errors in source program.


How exception handling mechanism can be used for debugging a program in java?

Trapping and handling of runtime errors is one of the most crucial taska ahead of any programmer. AS A DEVELOPER, YOU SOMETIMES SEEM TO SPEND MORE TIME CHECKING FOR ERRORS AND HANDLING THEM THEN YOU DO ON THE CORE LOGIC OF THE ACTUAL PROGRAM.


Examples of logical errors in c program?

Logical errors :- These errors occur because of logically incorrect instructions in the program. Let us assume that in a 1000 line program, if there should be an instruction, which multiplies two numbers and is wrongly written to perform addition. This logically incorrect instruction may produce wrong results. Detecting such errors are difficult.


What are the different types of error that comes in c plus plus programming?

There are 3 different fundamental types of errors in ANY programming language: 1) Syntax errors: code is written incorrectly and can not be used by the computer 2) Logical errors: the code is syntactically correct, but does not do what it is supposed to do. 3) Run time errors: The code is syntactically correct, but when it is executed, the computer enters some sort of illegal state that must be handled in order to proceed, or the program will crash. Run time errors are things like running out of memory, division by zero, segmentation faults and etc...


What are the purpose of compilers?

When writing a program, you write it in a certain language (java, C++, VB.NET etc.). For the computer to understand that, you need to convert it to computer language. That is what the compiler does.

Related Questions

What are the reasons for errors in computer program?

They are made by humans.


What is desk checking?

Checking a computer program manually for errors before trying it on the actual computer. This can be a very effective and low cost method of debugging, but it is also easy to trick oneself and overlook errors by making assumptions that the computer cannot make.


What is the process of removing errors from a computer program called?

Debugging


What is the need of a translator in computer?

A computer needs a translator to point out the errors in a program or language and gives options to the answer.


How do you find bugs in a computer program?

Typically, you run the program through "debuggers" - software that specifically looks for errors in your code.


What is PC log?

When a computer runs a program, its creates a log file, in it, it shows all the activity the computer has been doing since the program was started. it also shows whatever errors the computer may have.


What are the common errors associated with the err.01 code in computer programming?

Common errors associated with the err.01 code in computer programming include syntax errors, missing or incorrect variables, and logic errors in the code. These errors can cause the program to malfunction or produce unexpected results.


This is a crossword question. correct errors in a computer program. this a 5 letter word. i already have eg?

debug


When does a program show a compiling error?

When a program contains a compiler error, the compiler will detect it, preventing the program from compiling. Compiler errors must be fixed before a program will compile successfully.


What is execution in time logic error?

In programming, logic errors can occur if code has not been written in a manner that results in a program completing functions as expected. When an attempt to run/execute a program commences and a program encounters errors resulting from code that had not been compiled and translated as expected (such as in cases that lines of code may not be in the correct order), then a run time error could occur.


How many steps are involved in writing a computer program?

It depends on the type of computer program you desire. At the bare minimum you need 3 steps in order to make a simple program. The first that is learning you compiler's language (example: JavaScript, C++, C# ect.) and next is to learn how to avoid syntax errors and then create the program that you want. For example, to make a simple execution program using command prompt you will have to learn the commands of a .bat file and then order the commands correctly in order for command prompt to execute and then let it run. Most of programming is trial and error thought the more you get acquainted with your compiler the easier and better you'll become a making your program.


Where can I find reviews of computer drive repair programs?

The hard drive on my computer has been giving me a lot of errors. How can I determine the best drive repair program to buy for it?