SYNTAX ANALYSIS
ROLE OF THE PARSER
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
A programmer, writes a program to multiply two numbers instead of dividing them by mistake, how can this error be detected?
|
Compiler or interpreter
|
|
Compiler only
|
|
Interpreter only
|
|
None of the mentioned
|
Explanation:
Detailed explanation-1: -5. A programmer, writes a program to multiply two numbers instead of dividing them by mistake, how can this error be detected? Explanation: This is a logical error that can’t be detected by any compiler or interpreter.
Detailed explanation-2: -A syntax error occurs when the programmer writes an instruction using incorrect syntax.
There is 1 question to complete.