ICSE Class 10 Computer Applications Question 3 of 30

Solved Sample Paper 2 — Question 3

Back to all questions
3
Question

Question 1(iii)

Errors occur in a program when :

  1. Syntax of the programming language is not followed
  2. the program does not run properly or does not execute at all
  3. The program produces an incorrect result
  4. All of the above
Answer

All of the above

Reason — Syntax errors occur when the syntax of the programming language is not followed. Runtime errors occur when the program does not run properly or does not execute at all and logical error occurs when the program produces an incorrect result.