描述
包 装: 平塑是否套装: 否国际标准书号ISBN: 9787121450754
内容简介
本书是基于“新工科”背景应用型工程教育中人才培养模式要求编写而成的,从计算思维视角探索程序设计的过程和目标,其中设计的每个案例代表性都很强。本书共 12 章,内容包括引论、数据类型、运算符与表达式、输入与输出、顺序结构程序设计与执行、分支结构程序设计与执行、循环结构程序设计与执行、指针的定义与引用、数组与指针、模块化程序设计、结构体与链表、文件操作。本书既适合信息类相关人员了解程序设计与计算思维所用,又适合为非信息类相关人员提供信息理论与技术帮助。
目 录
第 1 章 引论····································1
案例 1:设计加法表 ·····················1
Prog1.1 ································1
Prog1.2 ································2
Prog1.3 ································3
Prog1.4 ································4
Prog1.5 ································5
案例 2:一组数据的“逆序”输出 ···5
Prog2.1 ································5
Prog2.2 ································6
Prog2.3 ································7
Prog2.4 ································7
Prog2.5 ································8
Prog2.6 ································9
第 2 章 数据类型 ··························.10
案例 3:求两个数的和 ···············.10
Prog3.1 ·····························.10
Prog3.2 ·····························.10
案例 4:整型数据 ·····················.11
Prog4.1 ·····························.11
Prog4.2 ·····························.12
Prog4.3 ·····························.12
Prog4.4 ·····························.13
案例 5:实型数据 ·····················.15
Prog5.1 ·····························.15
Prog5.2 ·····························.15
Prog5.3 ·····························.16
Prog5.4 ·····························.17
案例 6:字符型数据 ··················.17
Prog6.1 ·····························.17
Prog6.2 ·····························.18
Prog6.3 ·····························.18
Prog6.4 ·····························.19
Prog6.5 ·····························.20
Prog6.6 ·····························.21
Prog6.7 ·····························.21
第 3 章 运算符与表达式 ·················.23
案例 7:算术运算符与表达式······.23
Prog7.1 ·····························.23
Prog7.2 ·····························.23
Prog7.3 ·····························.24
Prog7.4 ·····························.25
案例 8:关系运算符与表达式······.26
Prog8.1 ·····························.26
案例 9:逻辑运算符与表达式······.27
Prog9.1 ·····························.27
Prog9.2 ·····························.28
Prog9.3 ·····························.28
Prog9.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:实型数据输出··············.37
Prog17.1 ····························.37
案例 18:字符型数据输出···········.38
Prog18.1 ····························.38
案例 19:文件数据写入和读出·····.39
Prog19.1 ····························.39
第 5 章 顺序结构程序设计与执行 ·····.42
案例 20:顺序结构程序设计
与执行·······················.42
Prog20.1 ····························.42
案例 21:数据的交换·················.42
Prog21.1 ····························.42
Prog21.2 ····························.43
Prog21.3 ····························.44
Prog21.4 ····························.46
案例 22:四舍五入····················.48
Prog22.1 ····························.48
第 6 章 分支结构程序设计与执行 ·····.50
案例 23:分支结构程序设计
与执行·······················.50
Prog23.1 ····························.50
Prog23.2 ····························.51
Prog23.3 ····························.51
Prog23.4 ····························.54
案例 24:求数据的极值··············.56
Prog24.1 ····························.56
Prog24.2 ····························.57
案例 25:简单数据排序··············.59
Prog25.1 ····························.59
Prog25.2 ····························.60
案例 26:分段函数求解··············.61
Prog26.1 ····························.61
Prog26.2 ····························.62
Prog26.3 ····························.63
Prog26.4 ····························.64
案例 27:开关语句程序设计与
执行··························.65
Prog27.1 ····························.65
案例 28:学生成绩分析与设计·····.66
Prog28.1 ····························.66
案例 29:简易菜单设计··············.67
Prog29.1 ····························.67
第 7 章 循环结构程序设计与执行 ·····.69
案例 30:循环结构程序设计
与执行·······················.69
Prog30.1 ····························.69
Prog30.2 ····························.70
Prog30.3 ····························.71
案例 31:顺序结构与循环结构 ····.72
Prog31.1 ····························.72
案例 32:多重(嵌套)循环结构
程序设计与执行···········.73
Prog32.1 ····························.73
案例 33:求和问题····················.74
Prog33.1 ····························.74
Prog33.2 ·········P
案例 1:设计加法表 ·····················1
Prog1.1 ································1
Prog1.2 ································2
Prog1.3 ································3
Prog1.4 ································4
Prog1.5 ································5
案例 2:一组数据的“逆序”输出 ···5
Prog2.1 ································5
Prog2.2 ································6
Prog2.3 ································7
Prog2.4 ································7
Prog2.5 ································8
Prog2.6 ································9
第 2 章 数据类型 ··························.10
案例 3:求两个数的和 ···············.10
Prog3.1 ·····························.10
Prog3.2 ·····························.10
案例 4:整型数据 ·····················.11
Prog4.1 ·····························.11
Prog4.2 ·····························.12
Prog4.3 ·····························.12
Prog4.4 ·····························.13
案例 5:实型数据 ·····················.15
Prog5.1 ·····························.15
Prog5.2 ·····························.15
Prog5.3 ·····························.16
Prog5.4 ·····························.17
案例 6:字符型数据 ··················.17
Prog6.1 ·····························.17
Prog6.2 ·····························.18
Prog6.3 ·····························.18
Prog6.4 ·····························.19
Prog6.5 ·····························.20
Prog6.6 ·····························.21
Prog6.7 ·····························.21
第 3 章 运算符与表达式 ·················.23
案例 7:算术运算符与表达式······.23
Prog7.1 ·····························.23
Prog7.2 ·····························.23
Prog7.3 ·····························.24
Prog7.4 ·····························.25
案例 8:关系运算符与表达式······.26
Prog8.1 ·····························.26
案例 9:逻辑运算符与表达式······.27
Prog9.1 ·····························.27
Prog9.2 ·····························.28
Prog9.3 ·····························.28
Prog9.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:实型数据输出··············.37
Prog17.1 ····························.37
案例 18:字符型数据输出···········.38
Prog18.1 ····························.38
案例 19:文件数据写入和读出·····.39
Prog19.1 ····························.39
第 5 章 顺序结构程序设计与执行 ·····.42
案例 20:顺序结构程序设计
与执行·······················.42
Prog20.1 ····························.42
案例 21:数据的交换·················.42
Prog21.1 ····························.42
Prog21.2 ····························.43
Prog21.3 ····························.44
Prog21.4 ····························.46
案例 22:四舍五入····················.48
Prog22.1 ····························.48
第 6 章 分支结构程序设计与执行 ·····.50
案例 23:分支结构程序设计
与执行·······················.50
Prog23.1 ····························.50
Prog23.2 ····························.51
Prog23.3 ····························.51
Prog23.4 ····························.54
案例 24:求数据的极值··············.56
Prog24.1 ····························.56
Prog24.2 ····························.57
案例 25:简单数据排序··············.59
Prog25.1 ····························.59
Prog25.2 ····························.60
案例 26:分段函数求解··············.61
Prog26.1 ····························.61
Prog26.2 ····························.62
Prog26.3 ····························.63
Prog26.4 ····························.64
案例 27:开关语句程序设计与
执行··························.65
Prog27.1 ····························.65
案例 28:学生成绩分析与设计·····.66
Prog28.1 ····························.66
案例 29:简易菜单设计··············.67
Prog29.1 ····························.67
第 7 章 循环结构程序设计与执行 ·····.69
案例 30:循环结构程序设计
与执行·······················.69
Prog30.1 ····························.69
Prog30.2 ····························.70
Prog30.3 ····························.71
案例 31:顺序结构与循环结构 ····.72
Prog31.1 ····························.72
案例 32:多重(嵌套)循环结构
程序设计与执行···········.73
Prog32.1 ····························.73
案例 33:求和问题····················.74
Prog33.1 ····························.74
Prog33.2 ·········P
评论
还没有评论。