首页试题详情
难度: 使用次数:138更新时间:2026/03/13
1.
Which of the following is an example of a syntactic error?
A.Using a variable before it is declared
B.A missing semicolon at the end of a statement
C.Incorrect use of a function
D.Incorrect logic in the code
题型:选择题 知识点:第七章 编程语言基础
【答案】
B
【解析】
A syntactic error occurs when the code violates the grammatical rules of the programming language, such as a missing semicolon. Semantical errors involve incorrect logic or function usage.

查看答案和解析

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

低至 ¥0.1 起

类题推荐:

未分类