- 2
- 0
- 约4.93千字
- 约 9页
- 2026-07-26 发布于山东
- 举报
少儿编程基本考试题及答案
少儿编程基本考试题及答案
少儿编程基本考试题及答案
姓名:__________考号:__________
题号
一
二
三
四
五
总分
评分
一、单选题(共10题)
1.1+1等于多少?()
A.2
B.3
C.4
D.5
2.在Python中,如何输出Hello,World!?()
A.print(Hello,World!)
B.print(Hello,World!)
C.Hello,World!
D.Noneofthese
3.以下哪个是正确的变量命名?()
A.2things
B.thing2
C.thing2
D.thing-2
4.在Python中,如何获取用户输入?()
A.input(Pleaseenteryourname:)
B.get_input(Pleaseenteryourname:)
C.UserInput(Pleaseenteryourname:)
D.Noneofthese
5.在Python中,如何判断一个变量是否为字符串类型?()
A.isinstance(variable,str)
B.type(variable)==str
C.variable.is_string()
D.None
原创力文档

文档评论(0)