Podcast
Questions and Answers
Which of the following is an example of a type of error?
Which of the following is an example of a type of error?
- Variable
- Function
- Syntax (correct)
- Loop
What happens when a syntax error occurs in a program?
What happens when a syntax error occurs in a program?
- The program continues to run with incorrect results
- The program displays an error message (correct)
- The program crashes
- The program ignores the error
Which type of error occurs when a variable is used before it is declared?
Which type of error occurs when a variable is used before it is declared?
- Semantic
- Runtime (correct)
- Syntax
- Logic