欢迎来到毕设资料网! | 帮助中心 毕设资料交流与分享平台
毕设资料网
全部分类
  • 毕业设计>
  • 毕业论文>
  • 外文翻译>
  • 课程设计>
  • 实习报告>
  • 相关资料>
  • ImageVerifierCode 换一换
    首页 毕设资料网 > 资源分类 > DOCX文档下载
    分享到微信 分享到微博 分享到QQ空间

    编程语言外文翻译

    • 资源ID:125899       资源大小:27.01KB        全文页数:4页
    • 资源格式: DOCX        下载积分:100金币
    快捷下载 游客一键下载
    账号登录下载
    三方登录下载: QQ登录
    下载资源需要100金币
    邮箱/手机:
    温馨提示:
    快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。
    如填写123,账号就是123,密码也是123。
    支付方式: 支付宝   
    验证码:   换一换

     
    账号:
    密码:
    验证码:   换一换
      忘记密码?
        
    友情提示
    2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
    3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
    4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。

    编程语言外文翻译

    1、附件 A 编程语言 编写计算机程序有两种常用方法:面向过程的程序设计和面向对象的程序设计。 面向对象的程序设计是面向过程程序设计的一种扩展,在编写程序时采用的方法有一些不同,用面向对象的方法考虑问题,首先把程序元素看成是与现实世界中的具体对象相似的对象,然后对这些对象进行操作以得到期望的结果。编写面向对象的程序包括创建对象和创建使用这些对象的应用程序。 机器语言 能被计算机操作系统直接运行的计算机程序称为可执行程序。可执行程序是以机器码的形势表示的一系列非常简单的指令。这些指令对于不同计算机的 CPU而言是特定的,它们与硬件有关。例如,英特尔“奔腾”处理器和 Power PC 微处理器芯片各自

    2、有不同的机器语言,要求用不同的代码集来完成相同的任务。机器码指令是从存储单元取数据,或将两个存储单元的内容相加(通常在 CPU 的寄存器中进行)。机器码指令是二进制的 比特序列( 0 和 1)。由于这些数字令人难以理解,所以计算机指令通常不是用机器码来写的。 汇编语言 与机器语言指令相比,汇 编语言使用的命令较容易为程序员理解。每条机器语言指令在汇编语言中有等价的命令。例如,在汇编语言中,语句“ MOV A,B”命令表示计算机把数据从一个单元复制到另一个单元,而及其代码中同样的指令是有一串 16 位的 0 和 1 组成的。一旦汇编语言程序编写完毕,它就由另一个称之为汇编起的程序转换成机器语言程

    3、序。相对于机器语言而言,汇编语言速度快,功能强。可它仍然难以利用,因为汇编语言指令是有一系列抽象代码组成的。另外,不同的 CPU 使用不同的机器语言,因此需要不同的汇编语言(程序)。有时为了执行特殊的硬件任务,或者为了加快高 级语言程序的速度,汇编语言被插入到高级语言程序中。 高级语言 从机器语言进步到汇编语言,是语言达到了更先进的阶段。同样也正是这种进步导致了高级语言的发展。如果计算机能把简便的符号翻译成基本操作,为什么它就不能完成其他文字类型的编码功能呢? 现在让我们来看看所期望的高级语言应有的特点,以及怎样将它们与机器码和汇编语言进行比较。高级程序语言是这样一种编程手段,它用规范化的术语

    4、来写出一步步的程序步骤,执行这些步骤时会用唯一确定的方式处理工作。高级语言经常针对某类特殊的处理问题而设计,例如,一些语言设计成适宜处理科 学计算问题,另一些语言则更侧重于文件处理的应用。 面向对象编程语言 像 C+这样的面向对象程序语言( OOP)是以传统的高级语言为基础,但是它们能使程序员按照组合对象集方式而不是指令列表方式来进行思考。对象有许多性质,以圆为例,就有圆的半径以及把圆画到计算机屏幕上的命令。对象的类可以从其他对象类那里继承属性。例如,一个定义正方形的类能从定义长方形的类那里继承诸如直角这样的属性。程序类的这种关系简化了程序员的工作,从而导致更多既可靠又高效的程序产生。 附件

    5、B Programming Language There are two popular approaches to writing computer programs: procedural programming(面向过程的程序设计) and object-oriented programming(面向对象的程序设计) . Machine Language Computer programs that can be run by a computer s operating system are called executables(可执行程序) . An executable progr

    6、am is a sequence(序列) of(一系列的) extremely(非常地) simple instructions known as machine code. These instructions are specific to the individual computers CPU and associated(相关的) hardware; for example, Intel Pentium and Power PC microprocessor chips each have different machine languages and require differe

    7、nt sets of codes to perform the same task. Machine code instructions are few in number(roughly 概略的 20 to 200,depending on the computer and the CPU).Typical(典型的) instructions are for copying data from a memory location or for adding the contents of two memory locations (usually registers in the CPU).

    8、 Machine code instructions are binary二进制 _that is, sequences of bits (0s and 1s). Because these numbers are not understood easily by humans, computer instructions usually are not written in machine code. Assembly Language 汇编语言 Assembly language uses commands that are easier for programmers to unders

    9、tand than machine-language commands. Each machine language instruction has an equivalent(等价的) command in assembly language. For example, in assembly language, the statement “ MOV A,B” instructs(命令) the computer to copy data from one location to another. The same instruction in machine code is a stri

    10、ng of (一串) 16 0s and 1s. Once an assembly-language program is written, it is converted to a machine-language program by another program called an assembler(汇编器) . Assembly language is fast and powerful because of its correspondence with machine language. It is still difficult to use, however, becaus

    11、e assembly-language instructions are a series of abstract(抽象的) codes. In addition, different CPUs use different machine languages and therefore require different assembly languages. Assembly language is sometimes inserted into a high-level program. High-Level Languages The improvement of machine lan

    12、guage to assembly language set the stage for further advances. It was this improvement that led, in turn, to the development of high-level languages. If the computer could translate convenient symbols into basic operations, why couldn t it also perform other clerical coding functions? Let us now loo

    13、k at the features we would expect to find in a high-level language and how they compare with machine code and assembly language.3 A high-level programming language is a means of data in a uniquely defined way. It may bear no relation to any given computer but does assume that a computer is going to

    14、be used. The high-level languagees are often oriented toward a particular class of processing problems. For example, a number of languages have been designed to process problems of a scientific_mathematic nature, and other languages have appered that emphasize file processing applications. Object-Or

    15、iented Programming Languages Object-oriented programming(OOP)languages like C+ are based on traditional high-level languages, but they enable a programmer to think in terms of collections of cooperating objects instead of lists of commands. Objects, such as a circle, have properties such as the radius of the circle and the command that draws it on the computer screen.4 Classes of objects can inherit features such as right angles from a class edfining rectangles. This set of programming classes simplifies the


    注意事项

    本文(编程语言外文翻译)为本站会员(泛舟)主动上传,毕设资料网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请联系网站客服QQ:540560583,我们立即给予删除!




    关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们
    本站所有资料均属于原创者所有,仅提供参考和学习交流之用,请勿用做其他用途,转载必究!如有侵犯您的权利请联系本站,一经查实我们会立即删除相关内容!
    copyright@ 2008-2025 毕设资料网所有
    联系QQ:540560583