新書推薦:
《
纯粹·古代中国的历史与制度
》
售價:NT$
286.0
《
生活来来往往 别等来日方长 新版(伍佰:“讲好了这一辈子,再度重相逢。”别等,别遗憾!珍惜当下才是最好的解药)
》
售價:NT$
265.0
《
一个英国军事顾问眼中的二战
》
售價:NT$
1265.0
《
就业、利息和货币通论(徐毓枬译本)(经济学名著译丛)
》
售價:NT$
306.0
《
瘦肝
》
售價:NT$
454.0
《
股票大作手回忆录
》
售價:NT$
254.0
《
秩序四千年:人类如何运用法律缔造文明
》
售價:NT$
704.0
《
民法典1000问
》
售價:NT$
454.0
|
內容簡介: |
本书是基于“新工科”背景应用型工程教育中人才培养模式要求编写而成的,从计算思维视角探索程序设计的过程和目标,其中设计的每个案例代表性都很强。本书共 12 章,内容包括引论、数据类型、运算符与表达式、输入与输出、顺序结构程序设计与执行、分支结构程序设计与执行、循环结构程序设计与执行、指针的定义与引用、数组与指针、模块化程序设计、结构体与链表、文件操作。本书既适合信息类相关人员了解程序设计与计算思维所用,又适合为非信息类相关人员提供信息理论与技术帮助。
|
關於作者: |
刘正余,副教授,皖西学院电子与信息工程学院计算机基础教研室主任,主要方向为计算机应用、算法优化、数据挖掘。
|
目錄:
|
第 1 章 引论····································1案例 1:设计加法表 ·····················1 Prog1.1 ································1Prog1.2 ································2Prog1.3 ································3Prog1.4 ································4Prog1.5 ································5案例 2:一组数据的“逆序”输出 ···5 Prog2.1 ································5Prog2.2 ································6Prog2.3 ································7Prog2.4 ································7Prog2.5 ································8Prog2.6 ································9第 2 章 数据类型 ··························.10案例 3:求两个数的和 ···············.10 Prog3.1 ·····························.10Prog3.2 ·····························.10案例 4:整型数据 ·····················.11 Prog4.1 ·····························.11Prog4.2 ·····························.12Prog4.3 ·····························.12Prog4.4 ·····························.13案例 5:实型数据 ·····················.15 Prog5.1 ·····························.15Prog5.2 ·····························.15Prog5.3 ·····························.16Prog5.4 ·····························.17案例 6:字符型数据 ··················.17 Prog6.1 ·····························.17Prog6.2 ·····························.18Prog6.3 ·····························.18Prog6.4 ·····························.19Prog6.5 ·····························.20Prog6.6 ·····························.21Prog6.7 ·····························.21第 3 章 运算符与表达式 ·················.23案例 7:算术运算符与表达式······.23 Prog7.1 ·····························.23Prog7.2 ·····························.23Prog7.3 ·····························.24Prog7.4 ·····························.25案例 8:关系运算符与表达式······.26 Prog8.1 ·····························.26案例 9:逻辑运算符与表达式······.27 Prog9.1 ·····························.27Prog9.2 ·····························.28Prog9.3 ·····························.28Prog9.4 ·····························.29案例 10:赋值运算符与表达式·····.30 Prog10.1 ····························.30案例 11:逗号运算符与表达式·····.31 Prog11.1 ····························.31第 4 章 输入与输出 ·······················.32案例 12:整型数据输入··············.32 Prog12.1 ····························.32案例 13:实型数据输入··············.33 Prog13.1 ····························.33案例 14:字符型数据输入···········.34 Prog14.1 ····························.34案例 15:数值型数据与字符型数据混合输入··············.35 Prog15.1 ····························.35案例 16:整型数据输出··············.36 Prog16.1 ····························.36案例 17:实型数据输出··············.37Prog17.1 ····························.37案例 18:字符型数据输出···········.38 Prog18.1 ····························.38案例 19:文件数据写入和读出·····.39 Prog19.1 ····························.39第 5 章 顺序结构程序设计与执行 ·····.42案例 20:顺序结构程序设计与执行·······················.42 Prog20.1 ····························.42案例 21:数据的交换·················.42 Prog21.1 ····························.42Prog21.2 ····························.43Prog21.3 ····························.44Prog21.4 ····························.46案例 22:四舍五入····················.48 Prog22.1 ····························.48第 6 章 分支结构程序设计与执行 ·····.50案例 23:分支结构程序设计与执行·······················.50 Prog23.1 ····························.50Prog23.2 ····························.51Prog23.3 ····························.51Prog23.4 ····························.54案例 24:求数据的极值··············.56 Prog24.1 ····························.56Prog24.2 ····························.57案例 25:简单数据排序··············.59 Prog25.1 ····························.59Prog25.2 ····························.60案例 26:分段函数求解··············.61 Prog26.1 ····························.61Prog26.2 ····························.62Prog26.3 ····························.63Prog26.4 ····························.64案例 27:开关语句程序设计与执行··························.65 Prog27.1 ····························.65案例 28:学生成绩分析与设计·····.66 Prog28.1 ····························.66案例 29:简易菜单设计··············.67 Prog29.1 ····························.67第 7 章 循环结构程序设计与执行 ·····.69案例 30:循环结构程序设计与执行·······················.69 Prog30.1 ····························.69Prog30.2 ····························.70Prog30.3 ····························.71案例 31:顺序结构与循环结构 ····.72 Prog31.1 ····························.72案例 32:多重(嵌套)循环结构程序设计与执行···········.73 Prog32.1 ····························.73案例 33:求和问题····················.74 Prog33.1 ····························.74Prog33.2 ·········P
|
|