1. Home
  2. Federal Board of Intermediate and Secondary Education (FBISE)
  3. Computer Science FBISE Class 10
  4. Which error occurs due to incorrect grammar in programming?

Added 10 Nov 2026

Which error occurs due to incorrect grammar in programming?

  1. Logic error
  2. Runtime error
  3. Syntax error Correct answer
  4. Semantic error

Correct answer

C. Syntax error

9 views

MCQSEXAM

Explanation

Syntax errors occur when the code violates the grammar rules of the programming language. Source: mcqs.almcqs.com, Chapter 2, Q20.

Reference

Asked in: Matric,FBISE

Preparing for an exam?

Doubts & discussion

Not sure why the answer is C? 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