1. Home
  2. Federal Board of Intermediate and Secondary Education (FBISE)
  3. Computer Science FBISE Class 11
  4. A syntax error is detected:

Added 16 Nov 2026

A syntax error is detected:

  1. At runtime
  2. Before execution Correct answer
  3. After execution
  4. Never

Correct answer

B. Before execution

10 views

MCQSEXAM

Explanation

Syntax errors are caught by the interpreter or compiler before the program runs. Logical errors are only noticed when the output is wrong.

Reference

Asked in: Matric,FBISE

Preparing for an exam?

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Computer Science FBISE Class 11 MCQs

Practise all Computer Science FBISE Class 11 MCQs

Similar MCQs