關(guān)于我們
書(shū)單推薦
新書(shū)推薦
|
Python程序設(shè)計(jì)實(shí)踐教程 讀者對(duì)象:高校理工科、管理類(lèi)各專(zhuān)業(yè)學(xué)生
全書(shū)共分三部分,第一篇是實(shí)驗(yàn)概述,主要介紹Python語(yǔ)言程序設(shè)計(jì)實(shí)驗(yàn)的基本目的與要求,計(jì)算機(jī)程序設(shè)計(jì)的基本過(guò)程,以及問(wèn)題求解和典型算法介紹;第二篇是基礎(chǔ)實(shí)驗(yàn)篇,包含17個(gè)基礎(chǔ)實(shí)驗(yàn),精心設(shè)計(jì)實(shí)驗(yàn)內(nèi)容、實(shí)驗(yàn)項(xiàng)目,包括實(shí)驗(yàn)?zāi)康摹⒅R(shí)要點(diǎn)、實(shí)例解析、實(shí)驗(yàn)內(nèi)容等,在鞏固課程知識(shí)的同時(shí)兼顧知識(shí)拓展,在實(shí)踐過(guò)程中做到舉一反三、融會(huì)貫通,同時(shí)給出了利用Python第三方庫(kù)解決數(shù)據(jù)處理等方面的應(yīng)用實(shí)例,可供不同專(zhuān)業(yè)學(xué)生選用。第三篇是Python綜合編程實(shí)例,每個(gè)實(shí)驗(yàn)包括一些趣味性的案例、基本算法,每個(gè)實(shí)例有題目描述、題目分析、算法設(shè)計(jì)、程序代碼、運(yùn)行結(jié)果、思考討論、問(wèn)題拓展等, 注重培養(yǎng)學(xué)生分析問(wèn)題和解決問(wèn)題的綜合編程能力。本書(shū)內(nèi)容豐富,實(shí)踐性強(qiáng),強(qiáng)調(diào)趣味性和實(shí)用性,可以作為各類(lèi)高等院校Python語(yǔ)言程序設(shè)計(jì)課程的實(shí)驗(yàn)教材,也可以作為廣大編程愛(ài)好者學(xué)習(xí)Python語(yǔ)言程序設(shè)計(jì)的參考書(shū)。
張銀南,浙江科技學(xué)院副教授,曾主持浙江省教育廳課堂教學(xué)改革項(xiàng)目"基于線(xiàn)上線(xiàn)下混合的C語(yǔ)言程序設(shè)計(jì)教學(xué)實(shí)踐”、浙江省軟科學(xué)研究計(jì)劃項(xiàng)目"構(gòu)建智能制造產(chǎn)業(yè)鏈,實(shí)施"浙江智造”的現(xiàn)實(shí)基礎(chǔ)與推進(jìn)戰(zhàn)略研究”、杭州市科技情報(bào)調(diào)研項(xiàng)目"杭州市跨境電子商務(wù)產(chǎn)業(yè)鏈發(fā)展情況調(diào)研及對(duì)策研究”等多項(xiàng)研究,曾獲《C語(yǔ)言程序設(shè)計(jì)》課程獲得全國(guó)生態(tài)文明信息化教學(xué)成果獎(jiǎng)(D類(lèi))(排名一)、《C語(yǔ)言程序設(shè)計(jì)》教材被中國(guó)科學(xué)院教材建設(shè)專(zhuān)家委員會(huì)信息技術(shù)類(lèi)"優(yōu)秀教材(部級(jí))二等獎(jiǎng)”、"互聯(lián)網(wǎng)+多元化的C語(yǔ)言程序設(shè)計(jì)教學(xué)實(shí)踐”獲校教學(xué)成果優(yōu)秀獎(jiǎng)(排名一)等獎(jiǎng)項(xiàng),曾出版浙江省"十一五”重點(diǎn)建設(shè)教材《C語(yǔ)言程序設(shè)計(jì)(第三版)》、浙江省高校"十三五”新形態(tài)教材《Office高級(jí)應(yīng)用教程》、《Python程序設(shè)計(jì)》,電子工業(yè)出版社等著作。
目 錄
第一篇 Python 程序設(shè)計(jì)實(shí)驗(yàn)概述 第1 章 Python 程序設(shè)計(jì)實(shí)驗(yàn)的目的與要求 ···························································.3 1.1 Python 程序設(shè)計(jì)實(shí)驗(yàn)的目的 ····································································.3 1.2 Python 程序設(shè)計(jì)實(shí)驗(yàn)的基本要求 ······························································.3 1.3 程序的編寫(xiě)與測(cè)試 ················································································.4 1.4 人才培養(yǎng)與課程學(xué)習(xí)建議 ·······································································.5 第2 章 問(wèn)題求解與計(jì)算思維 ··············································································.8 2.1 計(jì)算概述 ····························································································.9 2.2 求解計(jì)算機(jī)問(wèn)題 ··················································································.10 2.3 計(jì)算思維 ···························································································.14 2.4 算法 ·································································································.19 2.5 數(shù)據(jù)結(jié)構(gòu) ···························································································.23 2.6 算法評(píng)價(jià) ···························································································.26 第3 章 典型算法介紹 ·······················································································29 3.1 枚舉算法 ···························································································.29 3.2 遞歸算法 ···························································································.31 3.3 分治算法 ···························································································.34 3.4 遞推算法 ···························································································.35 3.5 貪心算法 ···························································································.36 3.6 回溯算法 ···························································································.38 3.7 迭代算法 ···························································································.40 習(xí)題 ········································································································.41 第二篇 基礎(chǔ)實(shí)驗(yàn) 實(shí)驗(yàn)0 Python 環(huán)境配置 ····················································································45 一、實(shí)驗(yàn)?zāi)康?····························································································.45 二、知識(shí)要點(diǎn) ····························································································.45 三、實(shí)例解析 ····························································································.48 四、實(shí)驗(yàn)內(nèi)容 ····························································································.50 實(shí)驗(yàn)1 數(shù)據(jù)的輸入和輸出 ··················································································52 一、實(shí)驗(yàn)?zāi)康?····························································································.52 二、知識(shí)要點(diǎn) ····························································································.52 三、實(shí)例解析 ····························································································.53 四、實(shí)驗(yàn)內(nèi)容 ····························································································.55 實(shí)驗(yàn)2 turtle 繪圖 ····························································································58 一、實(shí)驗(yàn)?zāi)康?····························································································.58 二、知識(shí)要點(diǎn) ····························································································.58 三、實(shí)例解析 ····························································································.60 四、實(shí)驗(yàn)內(nèi)容 ····························································································.62 實(shí)驗(yàn)3 運(yùn)算符與表達(dá)式 ·····················································································64 一、實(shí)驗(yàn)?zāi)康?····························································································.64 二、知識(shí)要點(diǎn) ····························································································.64 三、實(shí)例解析 ····························································································.68 四、實(shí)驗(yàn)內(nèi)容 ····························································································.71 實(shí)驗(yàn)4 字符串 ·································································································75 一、實(shí)驗(yàn)?zāi)康?····························································································.75 二、知識(shí)要點(diǎn) ····························································································.75 三、實(shí)例解析 ····························································································.78 四、實(shí)驗(yàn)內(nèi)容 ····························································································.83 實(shí)驗(yàn)5 選擇結(jié)構(gòu)程序設(shè)計(jì) ··················································································86 一、實(shí)驗(yàn)?zāi)康?····························································································.86 二、知識(shí)要點(diǎn) ····························································································.86 三、實(shí)例解析 ····························································································.87 四、實(shí)驗(yàn)內(nèi)容 ····························································································.92 實(shí)驗(yàn)6 循環(huán)結(jié)構(gòu)程序設(shè)計(jì) ··················································································94 一、實(shí)驗(yàn)?zāi)康?····························································································.94 二、知識(shí)要點(diǎn) ····························································································.94 三、實(shí)例解析 ····························································································.96 四、實(shí)驗(yàn)內(nèi)容 ··························································································.103 實(shí)驗(yàn)7 列表與元組 ························································································.105 一、實(shí)驗(yàn)?zāi)康?··························································································.105 二、知識(shí)要點(diǎn) ··························································································.105 三、實(shí)例解析 ··························································································.107 四、實(shí)驗(yàn)內(nèi)容 ··························································································.112 實(shí)驗(yàn)8 字典與集合 ························································································.116 一、實(shí)驗(yàn)?zāi)康?··························································································.116 二、知識(shí)要點(diǎn) ··························································································.116 三、實(shí)例解析 ··························································································.118 四、實(shí)驗(yàn)內(nèi)容 ··························································································.123 實(shí)驗(yàn)9 函數(shù) ·································································································.126 一、實(shí)驗(yàn)?zāi)康?··························································································.126 二、知識(shí)要點(diǎn) ··························································································.126 三、實(shí)例解析 ··························································································.128 四、實(shí)驗(yàn)內(nèi)容 ··························································································.133 實(shí)驗(yàn)10 文件 ·······························································································.137 一、實(shí)驗(yàn)?zāi)康?··························································································.137 二、知識(shí)要點(diǎn) ··························································································.137 三、實(shí)例解析 ··························································································.138 四、實(shí)驗(yàn)內(nèi)容 ··························································································.141 實(shí)驗(yàn)11 調(diào)試和異常處理 ················································································.143 一、實(shí)驗(yàn)?zāi)康?··························································································.143 二、知識(shí)要點(diǎn) ··························································································.143 三、實(shí)例解析 ··························································································.145 四、實(shí)驗(yàn)內(nèi)容 ··························································································.147 實(shí)驗(yàn)12 面向?qū)ο蟪绦蛟O(shè)計(jì)基礎(chǔ) ·······································································.150 一、實(shí)驗(yàn)?zāi)康?··························································································.150 二、知識(shí)要點(diǎn) ··························································································.150 三、實(shí)例解析 ··························································································.151 四、實(shí)驗(yàn)內(nèi)容 ··························································································.153 實(shí)驗(yàn)13 tkinter 圖形界面設(shè)計(jì) ··········································································.155 一、實(shí)驗(yàn)?zāi)康?··························································································.155 二、知識(shí)要點(diǎn) ··························································································.155 三、實(shí)例解析 ··························································································.157 四、實(shí)驗(yàn)內(nèi)容 ··························································································.159 實(shí)驗(yàn)14 Python 科學(xué)計(jì)算與數(shù)據(jù)分析 ································································.161 一、實(shí)驗(yàn)?zāi)康?··························································································.161 二、知識(shí)要點(diǎn) ··························································································.161 三、實(shí)例解析 ··························································································.163 四、實(shí)驗(yàn)內(nèi)容 ··························································································.165 實(shí)驗(yàn)15 數(shù)據(jù)可視化 ······················································································.166 一、實(shí)驗(yàn)?zāi)康?··························································································.166 二、知識(shí)要點(diǎn) ··························································································.166 三、實(shí)例解析 ··························································································.167 四、實(shí)驗(yàn)內(nèi)容 ··························································································.174 實(shí)驗(yàn)16 網(wǎng)絡(luò)爬蟲(chóng)入門(mén) ···················································································.177 一、實(shí)驗(yàn)?zāi)康?··························································································.177 二、知識(shí)要點(diǎn) ··························································································.177 三、實(shí)例解析 ··························································································.179 四、實(shí)驗(yàn)內(nèi)容 ··························································································.182 實(shí)驗(yàn)17 中文詞云 ·························································································.184 一、實(shí)驗(yàn)?zāi)康?··························································································.184 二、知識(shí)要點(diǎn) ··························································································.184 三、實(shí)例解析 ··························································································.186 四、實(shí)驗(yàn)內(nèi)容 ··························································································.189 第三篇 Python 綜合編程實(shí)例 實(shí)驗(yàn)18 趣味數(shù)字 ·························································································.193 實(shí)例18-1 水仙花數(shù) ·················································································.193 實(shí)例 18-2 完全數(shù) ····················································································.198 實(shí)例18-3 快樂(lè)數(shù) ····················································································.202 實(shí)例18-4 不變初心數(shù) ··············································································.205 實(shí)驗(yàn)內(nèi)容 ································································································.207 實(shí)驗(yàn)19 趣味算法 ·························································································.208 實(shí)例19-1 鞍點(diǎn) ·······················································································.208 實(shí)例19-2 猴子選猴王 ··············································································.210 實(shí)例19-3 漢諾塔問(wèn)題 ··············································································.213 實(shí)驗(yàn)內(nèi)容 ································································································.216 實(shí)驗(yàn)20 趣味邏輯推理 ···················································································.217 實(shí)例20-1 猴子吃桃問(wèn)題 ···········································································.217 實(shí)例20-2 雞兔同籠 ·················································································.219 實(shí)例20-3 幼兒園分糖果 ···········································································.221 實(shí)驗(yàn)內(nèi)容 ································································································.223 實(shí)驗(yàn)21 趣味應(yīng)用實(shí)例 ···················································································.225 實(shí)例21-1 簡(jiǎn)易計(jì)算器 ··············································································.225 實(shí)例21-2 隨機(jī)生成驗(yàn)證碼 ········································································.227 實(shí)驗(yàn)21-3 超市寄存柜 ··············································································.229 實(shí)例21-4 彩虹瓶 ····················································································.232 實(shí)驗(yàn)內(nèi)容 ································································································.235 實(shí)驗(yàn)22 字符串應(yīng)用 ······················································································.237 實(shí)例22-1 變位詞 ····················································································.237 實(shí)例22-2 詞頻統(tǒng)計(jì) ·················································································.238 實(shí)例22-3 加密和解密 ··············································································.241 實(shí)驗(yàn)內(nèi)容 ································································································.244 參考文獻(xiàn) ······································································································.245
你還可能感興趣
我要評(píng)論
|