商品详情
书名:编程思维训练指导书:从Python程序设计开始
定价:49.0
ISBN:9787121411021
作者:无
版次:第1版
出版时间:2021-04
内容提要:
本书简介: 本书定位于编程思维训练,依托 Python 程序设计语言,通过丰富的实例,辅助读者实现编程领域“从 0 到 1”的突破;本书同时配有在线编程实践平台,自动评测,辅助读者进行个性化学习。本书获***产学合作协同育人项目及山东省自然科学基金重大基础研究项目资助。本书逻辑清晰,内容简洁,不仅适合计算机相关专业的低年级同学作为教材使用,也适合其他专业的学生或读者作为编程入门教材使用。
作者简介:
丁艳辉,汉族,1981年1月出生,山东枣庄人,中共党员,2010年6月毕业于山东大学计算机软件与理论专业,获工学博士学位。现为山东师范大学信息科学与工程学院教授、硕士生导师,中国计算机协会信息系统专业委员会委员。2015年1月至2015年12月,在香港科技大学做访问学者;2016年3月至2017年4月,在美国宾夕法尼亚大学做访问学者。 主要研究领域包括Web数据集成、基于机器学习的医学图像分析等;主持国家自然科学基金青年项目1项、省部级项目2项;在《计算机学报》、Journal of Computer Science and Technology等期刊和国内外学术会议上发表论文10余篇;获山东省科技进步二等奖(第4位)1项。
目录:
第 1 章 Python 简介 ··············································································.1
1.1 编程思维 ··················································································.1
1.2 Python 发展历史 ········································································.2
1.2.1 Python 简介 ·····································································.2
1.2.2 Python 的特点 ··································································.3
1.3 课程辅助平台介绍 ······································································.4
第 2 章 编写**个程序 ·········································································.5
2.1 入门实例——Hello World! ····························································.5
2.1.1 安装 Python 3.x 版本 ·························································.5
2.1.2 交互模式 ·········································································.6
2.1.3 脚本模式 ·········································································.7
2.2 相关知识点 ···············································································10
2.3 整章知识点 ···············································································12
2.4 进阶实例 ··················································································18
2.5 小结 ························································································18
第 3 章 基本数据类型 ············································································19
3.1 入门实例——年龄计算器 ·····························································19
3.2 相关知识点 ···············································································20
3.3 基本数据类型知识点 ···································································21
3.4 进阶实例 ··················································································37
3.5 小结 ························································································38
第 4 章 选择结构 ··················································································39
4.1 入门实例——数字比大小游戏 ·······················································39
4.2 相关知识点 ···············································································40
4.3 选择结构知识点 ·········································································42
4.4 进阶实例 ··················································································49
4.5 小结 ························································································52
第 5 章 循环结构 ··················································································53
5.1 入门实例——“石头 - 剪刀 - 布”游戏升级版 ···································53
5.2 相关知识点 ···············································································55
5.3 循环结构知识点 ·········································································56
5.4 进阶实例 ··················································································68
5.5 小结 ························································································72
第 6 章 函数 ························································································73
6.1 入门实例——计算任意整数的阶乘 ·················································73
6.2 相关知识点 ···············································································75
6.3 函数知识点 ···············································································77
6.4 进阶实例 ··················································································93
6.5 小结 ·····················································································.100
第 7 章 海龟绘图 ···············································································.101
7.1 入门实例——**只海龟 ··························································.101
7.2 相关知识点 ············································································.102
7.3 海龟绘图知识点 ······································································.103
7.4 进阶实例 ···············································································.111
7.5 小结 ·····················································································.115
第 8 章 列表 ·····················································································.116
8.1 入门实例——彩虹的颜色 ··························································.116
8.2 相关知识点 ············································································.117
8.3 列表知识点 ············································································.118
8.4 进阶实例 ···············································································.124
8.5 小结 ·····················································································.125
第 9 章 元组 ·····················································································.126
9.1 入门实例——学生信息 ·····························································.126
9.2 相关知识点 ············································································.126
9.3 元组知识点 ············································································.127
9.4 进阶实例 ···············································································.131
9.5 小结 ·····················································································.131
第 10 章 字典 ····················································································.132
10.1 入门实例——电话号码簿 ························································.132
10.2 相关知识点 ··········································································.133
10.3 字典知识点 ··········································································.133
10.4 进阶实例 ·············································································.137
10.5 小结 ···················································································.142
第 11 章 模块 ····················································································.143
11.1 入门实例——计算机随机选择“石头”“剪刀”“布” ·······················.143
11.2 相关知识点 ··········································································.144
11.3 模块知识点 ··········································································.144
11.4 进阶实例 ·············································································.152
11.5 小结 ···················································································.153
第 12 章 文件操作 ··············································································.154
12.1 入门实例——读取文字迷宫 ·····················································.154
12.2 相关知识点 ··········································································.156
12.3 文件操作知识点 ····································································.157
12.4 进阶实例 ·············································································.166
12.5 小结 ···················································································.166
第 13 章 类和对象 ··············································································.167
13.1 入门实例——汽车类 ······························································.167
13.2 相关知识点 ··········································································.168
13.3 类和对象知识点 ····································································.171
13.4 进阶实例 ·············································································.176
13.5 小结 ···················································································.179
第 14 章 Python 操作数据库 ·································································.180
14.1 入门实例——创建一张关系表 ··················································.180
14.2 相关知识点 ··········································································.181
14.3 Python 操作数据库知识点 ························································.182
14.4 进阶实例 ·············································································.189
14.5 小结 ···················································································.197
第 15 章 GUI 编程 ··············································································.198
15.1 入门实例——**个窗口程序 ··················································.198
15.2 相关知识点 ··········································································.199
15.3 GUI 编程知识点 ····································································.200
15.4 进阶实例 ·············································································.207
15.5 小结 ···················································································.209
定价:49.0
ISBN:9787121411021
作者:无
版次:第1版
出版时间:2021-04
内容提要:
本书简介: 本书定位于编程思维训练,依托 Python 程序设计语言,通过丰富的实例,辅助读者实现编程领域“从 0 到 1”的突破;本书同时配有在线编程实践平台,自动评测,辅助读者进行个性化学习。本书获***产学合作协同育人项目及山东省自然科学基金重大基础研究项目资助。本书逻辑清晰,内容简洁,不仅适合计算机相关专业的低年级同学作为教材使用,也适合其他专业的学生或读者作为编程入门教材使用。
作者简介:
丁艳辉,汉族,1981年1月出生,山东枣庄人,中共党员,2010年6月毕业于山东大学计算机软件与理论专业,获工学博士学位。现为山东师范大学信息科学与工程学院教授、硕士生导师,中国计算机协会信息系统专业委员会委员。2015年1月至2015年12月,在香港科技大学做访问学者;2016年3月至2017年4月,在美国宾夕法尼亚大学做访问学者。 主要研究领域包括Web数据集成、基于机器学习的医学图像分析等;主持国家自然科学基金青年项目1项、省部级项目2项;在《计算机学报》、Journal of Computer Science and Technology等期刊和国内外学术会议上发表论文10余篇;获山东省科技进步二等奖(第4位)1项。
目录:
第 1 章 Python 简介 ··············································································.1
1.1 编程思维 ··················································································.1
1.2 Python 发展历史 ········································································.2
1.2.1 Python 简介 ·····································································.2
1.2.2 Python 的特点 ··································································.3
1.3 课程辅助平台介绍 ······································································.4
第 2 章 编写**个程序 ·········································································.5
2.1 入门实例——Hello World! ····························································.5
2.1.1 安装 Python 3.x 版本 ·························································.5
2.1.2 交互模式 ·········································································.6
2.1.3 脚本模式 ·········································································.7
2.2 相关知识点 ···············································································10
2.3 整章知识点 ···············································································12
2.4 进阶实例 ··················································································18
2.5 小结 ························································································18
第 3 章 基本数据类型 ············································································19
3.1 入门实例——年龄计算器 ·····························································19
3.2 相关知识点 ···············································································20
3.3 基本数据类型知识点 ···································································21
3.4 进阶实例 ··················································································37
3.5 小结 ························································································38
第 4 章 选择结构 ··················································································39
4.1 入门实例——数字比大小游戏 ·······················································39
4.2 相关知识点 ···············································································40
4.3 选择结构知识点 ·········································································42
4.4 进阶实例 ··················································································49
4.5 小结 ························································································52
第 5 章 循环结构 ··················································································53
5.1 入门实例——“石头 - 剪刀 - 布”游戏升级版 ···································53
5.2 相关知识点 ···············································································55
5.3 循环结构知识点 ·········································································56
5.4 进阶实例 ··················································································68
5.5 小结 ························································································72
第 6 章 函数 ························································································73
6.1 入门实例——计算任意整数的阶乘 ·················································73
6.2 相关知识点 ···············································································75
6.3 函数知识点 ···············································································77
6.4 进阶实例 ··················································································93
6.5 小结 ·····················································································.100
第 7 章 海龟绘图 ···············································································.101
7.1 入门实例——**只海龟 ··························································.101
7.2 相关知识点 ············································································.102
7.3 海龟绘图知识点 ······································································.103
7.4 进阶实例 ···············································································.111
7.5 小结 ·····················································································.115
第 8 章 列表 ·····················································································.116
8.1 入门实例——彩虹的颜色 ··························································.116
8.2 相关知识点 ············································································.117
8.3 列表知识点 ············································································.118
8.4 进阶实例 ···············································································.124
8.5 小结 ·····················································································.125
第 9 章 元组 ·····················································································.126
9.1 入门实例——学生信息 ·····························································.126
9.2 相关知识点 ············································································.126
9.3 元组知识点 ············································································.127
9.4 进阶实例 ···············································································.131
9.5 小结 ·····················································································.131
第 10 章 字典 ····················································································.132
10.1 入门实例——电话号码簿 ························································.132
10.2 相关知识点 ··········································································.133
10.3 字典知识点 ··········································································.133
10.4 进阶实例 ·············································································.137
10.5 小结 ···················································································.142
第 11 章 模块 ····················································································.143
11.1 入门实例——计算机随机选择“石头”“剪刀”“布” ·······················.143
11.2 相关知识点 ··········································································.144
11.3 模块知识点 ··········································································.144
11.4 进阶实例 ·············································································.152
11.5 小结 ···················································································.153
第 12 章 文件操作 ··············································································.154
12.1 入门实例——读取文字迷宫 ·····················································.154
12.2 相关知识点 ··········································································.156
12.3 文件操作知识点 ····································································.157
12.4 进阶实例 ·············································································.166
12.5 小结 ···················································································.166
第 13 章 类和对象 ··············································································.167
13.1 入门实例——汽车类 ······························································.167
13.2 相关知识点 ··········································································.168
13.3 类和对象知识点 ····································································.171
13.4 进阶实例 ·············································································.176
13.5 小结 ···················································································.179
第 14 章 Python 操作数据库 ·································································.180
14.1 入门实例——创建一张关系表 ··················································.180
14.2 相关知识点 ··········································································.181
14.3 Python 操作数据库知识点 ························································.182
14.4 进阶实例 ·············································································.189
14.5 小结 ···················································································.197
第 15 章 GUI 编程 ··············································································.198
15.1 入门实例——**个窗口程序 ··················································.198
15.2 相关知识点 ··········································································.199
15.3 GUI 编程知识点 ····································································.200
15.4 进阶实例 ·············································································.207
15.5 小结 ···················································································.209
- 电子工业出版社有限公司
- 电子工业出版社有限公司有赞官方供货商,为客户提供一流的知识产品及服务。
- 扫描二维码,访问我们的微信店铺