4
QuizMultiple Choice

Resources for Programmers — Unit test

Question 4 • Introduction to Information Technology - EL3701

In computer programming, what is syntax?

Answer
A
a set of rules that helps structure a program correctly in a specific programming language
B
a set of rules that helps test a program step-by-step to identify bugs in code
C
a type of programming language
D
a type of debugging tool

Explanation

Syntax is the set of rules that determines how code must be written and arranged in a particular programming language. Following these rules lets the program be structured correctly; testing for bugs is a separate activity. Therefore, the correct choice is “a set of rules that helps structure a program correctly in a specific programming language.”

AI-written and checked against the verified answer.

Previous
Next