共查询到20条相似文献,搜索用时 500 毫秒
1.
2.
张也弛 《计算机光盘软件与应用》2010,(11)
C++程序设计语言课程的教学目标:通过该课程的教学,使学生掌握程序设计语言的一些基本概念和语法规则,让学生掌握程序设计的一般方法,掌握过程化程序设计与面向对象程序设计,进一步培养学生的软件开发能力. 相似文献
3.
4.
张宇 《数字社区&智能家居》2011,(12)
在C++语言的教学过程中,不仅仅要求学生动手编程的能力,更要让学生学会面向对象的思想方法。在教学过程中首先要以学生为中心,充分调动学生学习的兴趣和学习的主动性,通过多样化的教学手段让学生清晰地理解对象和类的概念,以及它们之间的关系,掌握面向对象的基本思想,学会面向对象设计方法。 相似文献
5.
6.
7.
<正>C语言是一门过程式编程语言,也是计算机类很重要的专业基础课,不少学校的非计算机专业也开设这门课程,可见其重要性,甚至有一些院校将C语言作为理工科的必修课。但是随着面向对象程序设计语言的盛行,当今社会需要越来越多地掌握面向对象程序设计语言的技术人员。纯面向对象的程序设计语言有Smalltalk、Eiffel、Actors、POOL等,由于纯面向对象语言要求程序员完全放弃原有的编程经验和习惯,这让许多程序工作者望而却步。幸运的是我们还有另外一种选择,我们可以选择混合型面向对角程序设计语言。混合型语言包括传统设计语言结合面向对象的思想和在传统吾言的基础上扩充面向对象思想,而在20世纪80年代蓬勃发展起来的C++就是在C语言的基础上发展起来的,因具有独特的面向对象特征,可以为面向对象技术提供全面支持。近年来,学习和使用C++的人员越来越多,笔者主要分析一下从C语言转到C++的过程中,需要注意的几个问题:1面向对象思想的建立面向对象程序设计有三大特征,即封装性、继承性和多态性。最主要的是先建立有关对象的基本概念,所谓对象是一个独立的程序模块,它通过一些固定的接口与其他对象或程序模块互通信息或者接收选定信息后执行一定功能,比如一般的应用程序窗口,就可以认为是对象,它接收鼠标和键盘的消息并作出适当的响应,用户只看到响应的结果而不会看到对象内部的实际处理过程。由此我们可以得出这样的结论,对象只提供一些接口让用户调用某些功能,而把如何实现这些功能的代码隐藏在对象的内部,这就是所谓的封装性。 相似文献
8.
林丽芳 《中国信息技术教育》2022,(2):50-51
小学编程教育以图形化编程为主,而对于面向对象的C++编程涉之甚少.如何将图形化与C++语言结合?2017年,笔者所在地区教研室使用C++语言设计开发了WebGoC编程软件,通过简单易懂的命令和直观形象的绘图帮助学生学习编程,在使编程概念具体化的同时进一步学会C++语言特点. 相似文献
9.
10.
11.
面向对象的程序设计语言,如C++,引入了“类”的概念。相似的对象通过归入某一“类”而联系起来。“类”使数据与程序的封装成为可能,让代码更加安全。由此引发的继承等概念,更是大大提高了语言的灵活性。然而使用类的时候,需要十分小心,以免带来潜在的安全隐患。MISRA C++指出了避免这些陷阱的方法。 相似文献
12.
计算机程序设计课程已成为普通高校本科教学中的公共基础课程之一。目前,关于该课程的一个较普遍的问题是课程结束后学生的实际程序设计能力依然比较差,所编写出来的程序的代码质量不高。原因之一是学生没有养成良好的程序设计风格。着重探讨程序设计风格养成的重要性,以及如何在课程教学中引导学生重视并养成良好的程序设计风格。 相似文献
13.
Students often have difficulties when trying to understand the concepts of object-oriented programming (OOP). This paper presents a contribution to the teaching of OOP languages through a game-oriented approach based on the interaction with tangible user interfaces (TUIs). The use of a specific type of commercial distributed TUI (Sifteo cubes), in which several small physical devices have sensing, wireless communication and user-directed output capabilities, is applied to the teaching of the C# programming language, since the operation of these devices can be controlled by user programs written in C#. For our experiment, we selected a sample of students with a sufficient knowledge about procedural programming, which was divided into two groups: The first one had a standard introductory C# course, whereas the second one had an experimental C# course that included, in addition to the contents of the previous one, two demonstration programs that illustrated some OOP basic concepts using the TUI features. Finally, both groups completed two tests: a multiple-choice exam for evaluating the acquisition of basic OOP concepts and a C# programming exercise. The analysis of the results from the tests indicates that the group of students that attended the course including the TUI demos showed a higher interest level (i.e. they felt more motivated) during the course exposition than the one that attended the standard introductory C# course. Furthermore, the students from the experimental group achieved an overall better mark. Therefore, we can conclude that the technological contribution of Sifteo cubes – used as a distributed TUI by which OOP basic concepts are represented in a tangible and a visible way – to the teaching of the C# language has a positive influence on the learning of this language and such basic concepts. 相似文献
14.
Software development is moving from procedural programming towards object-oriented programming (OOP). Past studies in cognitive
aspects of programming have focused primarily on procedural programming languages. Object-oriented programming is a new paradigm
for computing. Industry is finding that programmers are having difficulty shifting to this new programming paradigm.
Findings in prior research revealed that procedural programming requires Piaget's formal operation cognitive level. New from
this research is that OOP also requires Piaget's formal operation cognitive level. Also new is that OOP appears to be unrelated
to hemispheric cognitive style. OOP appears to be hemispheric style friendly, while procedural programming is preferential
to left hemispheric cognitive style.
The conclusion is that cognitive requirements are not the cause for the difficulty in shifting from procedural to OOP. An
alternative possibility to the difficulty is proactive interference of learning procedural programming prior to learning object
oriented programming. 相似文献
15.
面向方面的程序设计综述 总被引:1,自引:0,他引:1
现在大多数的软件项目都选择OOP,但OOP技术也有其局限性,它对某些需求并不能很好地进行描述。本文介绍了一种全新的程序设计方法一面向方面的程序设计方法,这种程序设计方法可以有效地描述OOP方法不能描述的横切关注点;介绍了面向方面程序设计的基本思想以及面向方面程序设计语言AspectJ的基本概念及面向方面软件开发方法。 相似文献
16.
面向对象程序设计课程是当前计算机专业学生的一门必修专业课。课程本身的复杂性与实践性,使学生无法完全理解消化并有效应用所学知识点。针对这种情况,本文研究如何设计简短精悍、适于课堂演练的实例,并将这些实例与理论学习在课堂上有机结合,使学生易于领会知识点、充分参与课堂教学,最终达到学生积极主动学习,对知识点融会贯通的目的。 相似文献
17.
面向对象的随机有限元程序设计 总被引:2,自引:1,他引:1
引入面向对象的程序设计方法,利用随机有限元法的通用性及其灵活性,结合C++语言的封装性、继承性和多态性等优点,采用Visual C++ 6.0设计了泰勒展开随机有限元和基于随机场局部平均理论的摄动随机有限元法相关的类及其方法,并编制了随机有限元计算程序。这种程序不仅可以用于随机结构的分析,还可以用于进行确定性问题的有限元计算,而且程序结构清晰、代码重利用率高、更易于维护和扩充。 相似文献
18.
Mihai Dupac 《Engineering with Computers》2012,28(2):95-107
In this paper, development of shape modeling tools for engineering design, analysis, simulation, and visualization is presented.
The approach based on the idea of function-based shape modeling is combined with the power and versatility of the object-oriented
programming (OOP). An OOP code, initially developed as a teaching and learning tool for educational use in an undergraduate
Modeling and Simulation course, to generate mechanism components is presented. Different parametric, explicit, and implicit
functions or their combination are used to generate mechanical components shapes. Using a blending process, sophisticated
shapes have been generated on the graphical interface. However, the ideas and concept of the OOP mechanical components design
presented in this paper can be applied to other application areas. 相似文献
19.
《C++面向对象程序设计》课程承担着培养程序设计能力和面向对象思维能力的作用,而C++语言自身的特点繁多,且通常是学生学习面向对象的第一门语言,使得教学存在很大困难。从课程内容的选择和组织、教学方法、考核方式、学习方法等角度出发进行改革和研究,运用于实际教学之中具有显著提高教学效果的作用。 相似文献