Python程序设计考试题库 考试刷题练习题-填空题含答案 共369道题目 共30页.pdf
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
![preview](https://dl-preview.csdnimg.cn/85111630/0001-472970a6707eb70819e24f0a9e14a105_thumbnail.jpeg)
![preview-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/scale.ab9e0183.png)
本资源是 Python 程序设计考试题库,包括 369 道填空题,涵盖了 Python 语言的基本概念、语法、标准库、数据类型、运算符、控制结构、函数、模块、文件输入/输出、异常处理等方面的知识点。 从题目中可以看出,考试涵盖了 Python 语言的基础知识,包括: 1. Python 安装扩展库的常用工具是 pip。 知识点:pip 是 Python 的软件包管理器,用于安装、升级和管理 Python 软件包。 2. Python 标准库 math 中用来计算平方根的函数是 sqrt。 知识点:math 库是 Python 的一个标准库,提供了数学相关的函数,包括 sqrt 函数,用于计算平方根。 3. Python 程序文件扩展名主要有 py 和 pyw 两种,其中后者常用于 GUI 程序。 知识点:py 是 Python 程序文件的常用扩展名,pyw 是一种特殊的扩展名,通常用于 GUI 程序。 4. Python 源代码程序编译后的文件扩展名为 pyc。 知识点: Python 源代码编译后生成的文件扩展名为 pyc。 5. 使用 pip 工具升级科学计算扩展库 numpy 的完整命令是 pip install --upgrade numpy。 知识点:pip 是 Python 的软件包管理器,用于安装、升级和管理 Python 软件包。 6. 使用 pip 工具查看当前已安装的 Python 扩展库的完整命令是 pip list。 知识点:pip list 命令用于查看当前已安装的 Python 扩展库。 7. 在 IDLE 交互模式中浏览上一条语句的快捷键是 Alt+P。 知识点:IDLE 是 Python 的一个集成开发环境,提供了交互式 Shell,Alt+P 是浏览上一条语句的快捷键。 8. 使用 pip 工具查看当前已安装 Python 扩展库列表的完整命令是 pip list。 知识点:pip list 命令用于查看当前已安装的 Python 扩展库。 9. 在 Python 中 None 表示空类型。 知识点:None 是 Python 中的空类型,用于表示无值或未定义的状态。 10. 列表、元组、字符串是 Python 的有序序列。 知识点:列表、元组、字符串都是 Python 的有序序列,可以通过索引访问元素。 11. 查看变量类型的 Python 内置函数是 type()。 知识点:type() 函数用于查看变量的类型。 12. 查看变量内存地址的 Python 内置函数是 id()。 知识点:id() 函数用于查看变量的内存地址。 ...(余下部分略)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![](https://csdnimg.cn/release/download_crawler_static/85111630/bg1.jpg)
![](https://csdnimg.cn/release/download_crawler_static/85111630/bg2.jpg)
![](https://csdnimg.cn/release/download_crawler_static/85111630/bg3.jpg)
![](https://csdnimg.cn/release/download_crawler_static/85111630/bg4.jpg)
![](https://csdnimg.cn/release/download_crawler_static/85111630/bg5.jpg)
剩余29页未读,继续阅读
![avatar-default](https://csdnimg.cn/release/downloadcmsfe/public/img/lazyLogo2.1882d7f4.png)
![avatar](https://profile-avatar.csdnimg.cn/d65d1303dca64715939540eb2ae5ddff_qq_27595745.jpg!1)
- 粉丝: 429
- 资源: 5701
![benefits](https://csdnimg.cn/release/downloadcmsfe/public/img/vip-rights-1.c8e153b4.png)
![privilege](https://csdnimg.cn/release/downloadcmsfe/public/img/vip-rights-2.ec46750a.png)
![article](https://csdnimg.cn/release/downloadcmsfe/public/img/vip-rights-3.fc5e5fb6.png)
![course-privilege](https://csdnimg.cn/release/downloadcmsfe/public/img/vip-rights-4.320a6894.png)
![rights](https://csdnimg.cn/release/downloadcmsfe/public/img/vip-rights-icon.fe0226a8.png)
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![voice](https://csdnimg.cn/release/downloadcmsfe/public/img/voice.245cc511.png)
![center-task](https://csdnimg.cn/release/downloadcmsfe/public/img/center-task.c2eda91a.png)
![dialog-icon](https://csdnimg.cn/release/downloadcmsfe/public/img/green-success.6a4acb44.png)