首页试题详情
难度: 使用次数:138更新时间:2026/03/13
1.
What is the primary difference between syntax and semantics in programming languages?
A.Syntax refers to the rules for structuring statements, while semantics refers to the meaning of the statements.
B.Semantics refers to the rules for structuring statements, while syntax refers to the meaning of the statements.
C.Syntax and semantics are the same in programming languages.
D.Semantics is not important in programming languages.
题型:选择题 知识点:第七章 编程语言基础
【答案】
A
【解析】
Syntax refers to the structure and form of the language, such as the arrangement of symbols and tokens. Semantics, on the other hand, refers to the meaning and interpretation of the code.

查看答案和解析

支付 ¥0.1 即可查看此题答案和详细解析

低至 ¥0.1 起

类题推荐:

未分类