课程目标 掌握C++语言的基本语法和规则 熟练阅读和分析C++程序源代码 掌握类与对象的基本思想与实现方法 掌握算法的基本概念和设计方法 培养面向对象的程序设计思维和能力 掌握基本的编程技巧和调试技术 http://math.ecnu.edu.cn/~jypan
http://math.ecnu.edu.cn/~jypan 课程目标 掌握 C++ 语言的基本语法和规则 熟练阅读和分析 C++ 程序源代码 掌握类与对象的基本思想与实现方法 掌握算法的基本概念和设计方法 培养面向对象的程序设计思维和能力 掌握基本的编程技巧和调试技术
案 程序设计语言介绍 口程序设计语言的发展 ▣ 程序设计的方法 ▣程序开发的基本概念 http://math.ecnu.edu.cn/-jypan
http://math.ecnu.edu.cn/~jypan 程序设计语言介绍 程序设计语言的发展 程序设计的方法 程序开发的基本概念
程序设计 什么是程序设计 From Wikipedia,2020 Computer programming is the process of designing and building an executable computer program to accomplish a specific computing result or to perform a specific task.Programming involves tasks such as:analysis,generating algorithms,profiling algorithms'accuracy and resource consumption,and the implementation of algorithms in a chosen programming language. The purpose of programming is to find a sequence of instructions that will automate the performance of a task(which can be as complex as an operating system)on a computer,often for solving a given problem.Proficient programming thus often requires expertise in several different subjects,including knowledge of the application domain,specialized algorithms,and formal logic. 口程序设计:理解和分析问题, 算法设计与分析,编程实现与调试 http://math.ecnu.edu.cn/~jypan
http://math.ecnu.edu.cn/~jypan 程序设计 Computer programming is the process of designing and building an executable computer program to accomplish a specific computing result or to perform a specific task. Programming involves tasks such as: analysis, generating algorithms, profiling algorithms' accuracy and resource consumption, and the implementation of algorithms in a chosen programming language. The purpose of programming is to find a sequence of instructions that will automate the performance of a task (which can be as complex as an operating system) on a computer, often for solving a given problem. Proficient programming thus often requires expertise in several different subjects, including knowledge of the application domain, specialized algorithms, and formal logic. 什么是程序设计 From Wikipedia, 2020 程序设计:理解和分析问题,算法设计与分析,编程实现与调试
程序设计语言 什么是程序设计语言 From Wikipedia,2020 A programming language is a formal language comprising a set of instructions that produce various kinds of output.Programming languages are used in computer programming to implement algorithms 机器语言 汇编语言 抽象等级 高级语言:FORTRAN、C、C++、MATLAB、Python 面向过程:FORTRAN,C 程序设计方法 面向对象:C+、Java、MATLAB、Python 程序设计语言 编译型:FORTRAN、C、C+ 解释型:MATLAB、Python 程序编译方式 Language Pascal LGOL Obiect 混合型:Java、C# Lisp VB 强类型:FORTRAN、C、C++、JaVa 变量是否需要 明确指定类型 弱类型:MATLAB、Python Python http://math.ecnu.eau.cn/-jypan
http://math.ecnu.edu.cn/~jypan 程序设计语言 A programming language is a formal language comprising a set of instructions that produce various kinds of output. Programming languages are used in computer programming to implement algorithms 什么是程序设计语言 From Wikipedia, 2020
程序设计语言的发展 机器语言 CPU指令系统,由O、1构成的指令码组成: 是计算机唯一能识别并直接执行的语言 执行效率高 但编程复杂 汇编语言 用助记符号描述的指令系统如ADD,SUB; 需翻译成机器语言,符号化的机器语言 面向过程 高级语言 面向对象 http://math.ecnu.edu.cn/~jypan
http://math.ecnu.edu.cn/~jypan 程序设计语言的发展 机器语言 汇编语言 高级语言 面向过程 面向对象 执行效率高 但编程复杂 CPU指令系统,由 0、1 构成的指令码组成; 是计算机唯一能识别并直接执行的语言 用助记符号描述的指令系统如 ADD, SUB; 需翻译成机器语言,符号化的机器语言