HailSatan
Member
- Joined
- Oct 17, 2009
- Messages
- 94
- Gender
- Undisclosed
- HSC
- 2009
Logic Error - When the code compiles without errors, and does not crash or experience runtime errors, but does not achieve the intended result, such as expecting an output of 55 instead of 56Question - Explain the different types of errors.
Syntax Error - When the code is incorrectly typed such that the compiler cannot understand what it is the programmer wants it to do, which results in a compilation error. e.g If the programmer forgets to put a semicolon at the end of a line of code
Runtime Error - An error that occurs whilst the program is running and causes it to crash, this can be caused by such things as trying to write to protected memory addresses or dividing by zero
What are some ergonomical issues?