Pakistan's best MCQs practice hub — FPSC · PPSC · CSS · NTS · Other Exams
Login

What is ‘Syntax’ in programming?

AThe style of the code
BThe logic of the program
CThe set of rules for writing code
DThe speed of the program

Explanation

• Syntax errors occur when code violates the language’s grammar rules.
• The compiler/interpreter will reject syntactically incorrect code.
• It is the ‘language’ of the programming language.

Exam Relevance
  • Topic: Competitive Exams
  • Subtopic: FPSC/PPSC/NTS Past Papers
Submitted by: mcqstutor Team More Computer MCQs →

No Comments

Leave a comment

Your email address will not be published. Required fields are marked *