KnowledgeBoat Logo

Computer Science

The errors encountered when a user violates the syntax of a programming language while writing a code are termed as …………… .

  1. Compile time error
  2. Logical error
  3. Runtime error
  4. Exception

Python Exception Handling

2 Likes

Answer

Compile time error

Reason — When a user violates the syntax of a programming language while writing code, it results in a compile-time error. These errors are detected by the compiler during the compilation process and prevent the program from being compiled successfully.

Answered By

3 Likes


Related Questions