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

Added 16 Nov 2026

A syntax error is:

  1. An error in logic
  2. An error in grammar Correct answer
  3. A run-time error
  4. A hardware error

Correct answer

B. An error in grammar

12 views

MCQSEXAM

Explanation

A syntax error violates the grammar rules of the language, such as a missing semicolon. Logical errors produce wrong results despite correct syntax. Run-time errors occur during execution.

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 10 MCQs

Practise all Computer Science FBISE Class 10 MCQs

Similar MCQs