中小学教育资源及组卷应用平台
第一课 初识Python
一、填空题
1.Python是一种_________________、_________________、_________________的高级编程语言。21世纪教育网版权所有
2.Python语言的主要特点:_________________、_________________、_________________。21教育网
3.Python自带的集成开发环境:_________________。
4.>>>称为_________________。
二、选择题
5.下列哪种编程语言称为“胶水语言”( )
A Java B Python C C++ D VB
6.Python在IDLE中运行的快捷键是( )
A F5 B F1 C F8 D F9
7.print函数输出多个对象,多个参数之间用( )分隔
A . B / C , D \
8.在编程过程中,添加注释语以( )开头
A ^ B & C # D !
三、程序题
9.写出运行结果
>>> print("hello","Python World!")
_________________
>>> print("hello","Python World!",sep='')
_________________
>>> print("hello","Python World!",sep=' ')
_________________
>>> print("hello","Python World!",sep=',')
_________________
参考答案
1、填空题
1、跨平台 开源 解释型
2、语法简洁 黏性扩展 类库丰富
3、IDLE
4、命令提示符
2、选择题
5 B 6 A 7 C 8 C
3、程序题
9 hello Python World!
helloPython World!
hello Python World!
hello,Python World!
21世纪教育网 www.21cnjy.com 精品试卷·第 2 页 (共 2 页)
HYPERLINK "http://21世纪教育网(www.21cnjy.com)
" 21世纪教育网(www.21cnjy.com)