- 1
- 0
- 约3.73千字
- 约 12页
- 2026-08-01 发布于福建
- 举报
第PAGE页共NUMPAGES页
2026年计算机编程语言初级编程练习题
一、选择题(每题2分,共10题)
1.在Python中,以下哪个语句用于正确地注释代码?
A.//Thisisacomment
B.#Thisisacomment
C.!--Thisisacomment--
D.Thisisacomment
2.以下哪个不是JavaScript中的基本数据类型?
A.`undefined`
B.`array`
C.`null`
D.`boolean`
3.在Java中,以下哪个关键字用于定义一个常量?
A.`static`
B.`final`
C.`const`
D.`volatile`
4.以下哪个Python函数用于输入用户数据?
A.`print()`
B.`input()`
C.`read()`
D.`get()`
5.在C#中,以下哪个关键字用于定义一个类?
A.`struct`
B.`class`
C.`interface`
D.`enum`
6.以下哪个CSS属性用于设置元素的文本颜色?
A.`text-size`
B.`font-color`
C.`color`
D.`text-style`
7.在PHP中,以下哪个函数用于输出变量或字符串?
A.`
原创力文档

文档评论(0)