SOFTWARE ENGINEERING TOOLS AND ENVIRONMENTS
INTEGRATED DEVELOPMENT ENVIRONMENTS IDES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
What error which will cause the program or computer to crash even if there appears to be nothing wrong with the program code? Running out of memory will often cause this error. This could be because instructions have been written in the wrong order.
|
Runtime error
|
|
Syntax error
|
|
Logic error
|
|
None of the above
|
Explanation:
Detailed explanation-1: -A segmentation fault (aka segfault) is a common condition that causes programs to crash; they are often associated with a file named core .
Detailed explanation-2: -If the program runs partway and then crashes, you know the problem is a runtime error. Programs with syntax errors don’t execute even one line.
Detailed explanation-3: -Logic errors A logic error is an error in the way a program works. The program can run but does not do what it is expected to do. Logic errors can be caused by the programmer: incorrectly using logical operators, eg expecting a program to stop when the value of a variable reaches 5, but using <5 instead of <=5.
There is 1 question to complete.