c语言c面向对象本科毕业设计外文文献翻译

上传人:e****s 文档编号:251961248 上传时间:2022-02-09 格式:DOC 页数:17 大小:760KB
返回 下载 相关 举报
c语言c面向对象本科毕业设计外文文献翻译_第1页
第1页 / 共17页
c语言c面向对象本科毕业设计外文文献翻译_第2页
第2页 / 共17页
c语言c面向对象本科毕业设计外文文献翻译_第3页
第3页 / 共17页
c语言c面向对象本科毕业设计外文文献翻译_第4页
第4页 / 共17页
c语言c面向对象本科毕业设计外文文献翻译_第5页
第5页 / 共17页
点击查看更多>>
资源描述

《c语言c面向对象本科毕业设计外文文献翻译》由会员分享,可在线阅读,更多相关《c语言c面向对象本科毕业设计外文文献翻译(17页珍藏版)》请在金锄头文库上搜索。

1、学校代码: 10128学 号: xxxxxxxxxxxx 本科毕业设计外文文献翻译(题 目: Object-Orientation and C+学生姓名:xxx学 院:信息工程学院系 别:软件系专 业:软件工程班 级:软件10-2班指导教师:xxx 讲师二 一 四 年 六 月Object-Orientation and C+C+ is just one of many programming languages in use today. Why are there so many languages? Why do new ones appear every few years? Progr

2、amming languages have evolved to help programmers ease the transition from design to implementation. The first programming languages were very dependent on the underlying machine architecture. Writing programs at this level of detail is very cumbersome. Just as hardware engineers learned how to buil

3、d computer systems out of other components, language designers also realized that programs could be written at a much higher level, thereby shielding the programmer from the details of the underlying machine. Why are there such a large number of high-level programming languages? There are languages

4、for accessing large inventory databases, formatting financial reports, controlling robots on the factory floor, processing lists, controlling satellites in real time, simulating a nuclear reactor, predicting changing atmospheric conditions, playing chess, and drawing circuit boards. Each of these pr

5、oblems requires different sets of data structures and algorithms. Programming languages are tools to help us solve problems. However, there is not one programming language that is best for every type of problem. New programming languages are often developed to provide better tools for solving a part

6、icular class of problems. Other languages are intended to be useful for a variety of problem domains and are more general purpose. Each programming language imparts a particular programming style or design philosophy on its programmers. With the multitude of programming languages available today, a

7、number of such design philosophies have emerged. These design philosophies, called programming paradigms, help us to think about problems and formulate solutions.1.Software Design through ParadigmsWhen designing small computer programs or large software systems, we often have a mental model of the p

8、roblem we are trying to solve. How do we devise a mental model of a software system? Programming paradigms offer many different ways of designing and thinking about software systems. A paradigm can be thought of as a mental model or as a framework for designing and describing a software systems stru

9、cture. The model helps us think about and formulate solutions. We can use the mental model of a paradigm independently from the programming language chosen for implementation. However, when the chosen language provides constructs and mechanisms that are similar to those that are found in the paradig

10、m, the implementation will be more straightforward. Usually, there are several languages that belong to a paradigm. For this reason, a programming paradigm is also considered a class of languages. A language does not have to fit into just one paradigm. More often, languages provide features or chara

11、cteristics from several paradigms. Hybrid languages, such as C+, combine characteristics from two or more paradigms. C+ includes characteristics from the imperative and procedural paradigms - just like its predecessor language, C - and the object-oriented paradigm.THE IMPERATIVE PARADIGM. The impera

12、tive paradigm is characterized by an abstract model of a computer with a large memory store. This is the classic von Neumann model of computer architecture. Computations, which consist of a sequence of commands, are stored as encoding within the store. Commands enable the machine to find solutions u

13、sing assignment to modify the store, variables to read the store, arithmetic and logic to evaluate expressions, and conditional branching to control the flow of execution. THE PROCEDURAL PARADIGM. The procedural paradigm includes the imperative paradigm, but extends it with an abstraction mechanism

14、for generalizing commands and expressions into procedures. Parameters, which are essentially aliases for a portion of the store, were also introduced by this paradigm. Other features include iteration, recursion, and selection. Most mainstreams programming today is done in a procedural language. The

15、 procedural paradigm was the first paradigm to introduce the notion of abstraction into program design. The purpose of abstraction in programming is to separate behavior from implementation. Procedures are a form of abstraction. The procedure performs some task or function. Other parts of the progra

16、m call the procedure, knowing that it will perform the task correctly and efficiently, but without knowing exactly how the procedure is implemented. THE PROCEDURAL PARADIGM WITH ADTs. DATA ABSTRACTION is concerned with separating the behavior of a data object from its representation or implementation. For example, a stack contains the

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 经济/贸易/财会 > 经济学

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号