《面向对象程序设计2》课程教学大纲.docx





《《面向对象程序设计2》课程教学大纲.docx》由会员分享,可在线阅读,更多相关《《面向对象程序设计2》课程教学大纲.docx(11页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、面向对象程序设计2教学大纲一、课程基本信息课程名称面向对象程序设计Object-Oriented Programming课程编码OSI123121030开课院部海洋与空间信息学院课程团队(未设置)学分3.0课内学时58讲授28实验0上机30实践0课外学时0适用专业地理信息科学授课语言中文先修课程程序设计(C)课程简介 (限选)该课程是地理信息科学专业的一门专业限选课,详细阐述面向对象系统的基本理论与面向对象程序设计语言的基本知识,使学生能够 掌握C+面向对象编程语言,为后续相关课程的开发奠定基础。主要教学内容如下:1、C+语言对C语言的扩展:C+输入输出流、数据类型、常变量与指针、引用传递等。
2、2、类与对象:类定义与类成员的实现、构造函数与析构函数的作用及使用、对象的创建、赋值和复制以及对象的动态创建与释放、 友元类与友元函数以及静态成员的定义与使用。3、类的继承与派生:派生类的定义与构成、单继承与多继承的实现与类的组合、不同继承方式对类成员访问权限的影响。4、多态性与虚函数:编译时与运行时多态性、虚函数、纯虚函数与抽象类和运算符重载。5、模板与异常处理:函数模板与类模板、STL中常用的容器与迭代器和C+异常处理机制。6、输入与输出:C+输入/输出流库、预定义类型数据的输入和输出、格式控制和文件的输入和输出课程基本要求如下:1、熟练掌握C+语言的基础知识;2、掌握面向对象编程的基本思
3、想,深入理解面向对象编程的基本概念和方法;3、熟练地使用C+语言进行面向对象的程序设计和代码编写过程中的调试方法。This course is an elective course for geography information science major, which elaborates the basic theory of object-oriented system and the basic knowledge of object-oriented programming language. Through learning the course, students shoul
4、d master the main knowledge of C+, which lays the foundation for the design and development of the other subject.Main teaching contents are as follows:1 C+ language extension: C+ input output stream, data type, constant variable and pointer, reference transfer, etc.2 Classes and objects, the class d
5、efinition and the realization of the members of the class, the constructor and destructor function and use, create, assignment and replication, as well as the object of dynamically create and release, friend class and function as well as the definition and use of static members.3 Inheritance and der
6、ivation of classes: the definition and composition of derived classes, the combination of single inheritance and multiple inheritance, and the influence of different inheritance modes on the access rights of class members.4 Polymorphism and virtual function: compile with runtime polymorphism, virtua
7、l function, pure virtual function and abstract class and operator overloading.5 Templates and exception handling: function templates with class templates, STL common containers and iterators and c + exception handling mechanisms.6 Input and output: c + input/output stream library, input and output o
8、f predefined type data, format control, and input and output of files.The basic requirements of the course are as follows:1 Familiar with the basic knowledge of c + +;2 Grasp the basic idea of object-oriented programming and understand the basic concepts and methods of object-oriented programming.3
9、Proficient in using c + language for object-oriented programming and debugging of code writing.负责人大纲执笔人审核人二、课程目标序号代号课程目标OBE毕业要求指标点任务自选1Ml目标1 :在理解面向对象设计思想的基础上,重点掌握类的封装、继承与多态。是2.12.12M2目标2 :在熟练掌握类的基础上,结合STL,基于C+实现文件的处理是2.12.13M3目标3 :针对地理信息科学领域中的问题,初步能够按照面向对象的思想进行封装处理是2.22.2三、课程内容序号章节号标题课程内容/重难点支撑课 程目标
10、课内 学时教学方式课外 学时课外坏节1第1章第1章面向对象 程序设计概述本章重点难点:类与对象;消息与事件;方法与属性;面向对 象程序设计的特征/2讲授2课后作业21.11.1什么是面向对程序设计的发展;OOP的基本特征Ml/象程序设计31.21.2为什么要使用 面向对象程序设计结构化程序设计的缺点;OOP的优点Ml/41.31.3面向对象程序 设计的语言OOP的发展状况Ml/5实验1结合C语言熟悉VS2015开发平台基于VS2015开发平台,编写C语言程序,熟悉VS2015平台 的相应功能Ml2上机2编写程序6第2章第2章 C+程序 设计基础本章重点难点:C+I/O ; const修饰符;内
11、联函数;引用;new 与delete运算符;作用域与可见性4讲授2编写程序72.12.1 C+起源与特 点C+特点Ml/82.22.2 C+源程序的 构成头文件与源文件Ml/92.32.3 C+在非面向 对象方面的扩充cin、couts const,内联函数、默认参数函数、函数重载、 new、deletex 弓|用Ml/10实验2C+基础练习C+基本输入、输出、特殊函数(默认参数、重载)、动态分配 空间与引用Ml2上机2编写程序11第3章第3章类与对象本章重点难点:类的定义与实现;构造函数与析构函数;访问 属性;this指针;静态成员;友元;类的组合6讲授6课后作业123.13.1类的定义与实
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 面向对象程序设计2 面向 对象 程序设计 课程 教学大纲

限制150内