15
Computer English Computer English Unit 13 What is Object- Unit 13 What is Object- Oriented Software? Oriented Software?

Computer English

  • Upload
    doctor

  • View
    85

  • Download
    9

Embed Size (px)

DESCRIPTION

Computer English. Unit 13 What is Object-Oriented Software?. Key points: useful terms of Object-Oriented Software Difficult points: describing the Object-Oriented Software. adage n. 谚语 , 格言. argument n. 主目 , 论点 , 实参 parameter 形参. allocate n. 分配. buzzword n. 时髦的行话 - PowerPoint PPT Presentation

Citation preview

Page 1: Computer  English

Computer English Computer English Computer English Computer English

Unit 13 What is Object-Oriented Unit 13 What is Object-Oriented Software?Software?

Page 2: Computer  English

Key points:Key points: useful terms of Object-Oriented Softwareuseful terms of Object-Oriented Software

Difficult points:Difficult points: describing thedescribing the Object-Oriented SoftwareObject-Oriented Software

Page 3: Computer  English

buzzword n. 时髦的行话

bug n. 缺陷

adage n. 谚语 , 格言

argument n. 主目 , 论点 , 实参

parameter 形参

allocate n. 分配

Page 4: Computer  English

fido n. 错币 , 业余爱好者网络

function n. 函数

indivisible adj. 不能分割的

bytecode n. 字节码

compiler n. 编译器

conversely adv. 相反 , 倒过来

Page 5: Computer  English

metaphor n. 隐喻

object-oriented 面向对象的

pointer 指示器 , 指针

inherit vt. 继承

inheritance n. 遗传 , 遗产

intranet n. 内部网 , 内联网

Page 6: Computer  English

black box 黑匣子

garbage collection 碎片收集

syntax n. 语法 , 格式

structure n. 结构

variable n. 变量

Page 7: Computer  English

面向对象 (Object Oriented,OO) 是当前计算机界关心的重点,它是 90 年代软件开发方法的主流。面向对象的概念和应用已超越了程序设计和软件开发,扩展到很宽的范围。如数据库系统、交互式界面、应用结构、应用平台、分布式系统、网络管理结构、 CAD 技术、人工智能等领域。

Page 8: Computer  English

面向对象的思想已经涉及到软件开发的各个方面。如,面向对象的分析( OOA , Object Oriented Analysis ),面向对象的设计( OOD , Object Oriented Design )、以及我们经常说的面向对象的编程实现( OOP , Object Oriented Programming )。

Page 9: Computer  English

基本概念 :(1) 对象。

  对象是人们要进行研究的任何事物,从最简单的整数到复杂的飞机等均可看作对象,它不仅能表示具体的事物,还能表示抽象的规则、计划或事件。

(2) 对象的状态和行为。

•   对象具有状态,一个对象用数据值来描述它的状态。

•   对象还有操作,用于改变对象的状态,对象及其操作就是对象的行为。

•   对象实现了数据和操作的结合,使数据和操作封装于对象的统一体中

(3) 类。

  具有相同或相似性质的对象的抽象就是类。因此,对象的抽象是类,类的具体化就是对象,也可以说类的实例是对象。

  类具有属性,它是对象的状态的抽象,用数据结构来描述类的属性。

 类具有操作,它是对象的行为的抽象,用操作名和实现该操作的方法来描述。

 

Page 10: Computer  English

•   (4) 类的结构。

•   在客观世界中有若干类,这些类之间有一定的结构关系。通常有两种主要的结构关系,即一般 -- 具体结构关系,整体 -- 部分结构关系。

•   ①一般——具体结构称为分类结构,也可以说是“或”关系,或者是“ is a” 关系。

•   ②整体——部分结构称为组装结构,它们之间的关系是一种“与”关系,或者是“ has a” 关系。

•    (5) 消息和方法。

•   对象之间进行通信的结构叫做消息。在对象的操作中,当一个消息发送给某个对象时,消息包含接收对象去执行某种操作的信息。发送一条消息至少要包括说明接受消息的对象名、发送给该对象的消息名(即对象名、方法名)。一般还要对参数加以说明,参数可以是认识该消息的对象所知道的变量名,或者是所有对象都知道的全局变量名。

•   类中操作的实现过程叫做方法,一个方法有方法名、参数、方法体。

Page 11: Computer  English

1.   What is the “black box”?

2. Why shouldn't you need to look inside an object?

3. How are objects defined?

4. Tell us some object-oriented languages.

Page 12: Computer  English

简要回顾计算机的发展几个专业词汇:• ENIAC ( electrical numerical integrator an

d calculator )• Computer capacity• The first generation of modern programme

d computers• VLSI ( very large scale integration )

Page 13: Computer  English
Page 14: Computer  English

英语口语练习材料英语口语练习材料 1. 世界真小

It is a small world Small world! You never know whom you will bump into

2. 既然如此,你自己来吧 Do it yourself ,then 3. 这才像话 That is more like it 4. 太过分了 That is going too far 5. 我老早就告诉过你了 See I told you (so) 6. 那又怎样? So what? 7. 就指望你了 I'm counting on you You're my only hope 8.想想办法吧!(别老是坐在那里) Do something (about it).

Don't just sit there. 9.别装傻了 Stop playing the food Don't act stupid 10. 你有何不满? Any complaint ? Do you have anything to s

ay?

Page 15: Computer  English

英语口语练习材料英语口语练习材料 11.船到桥头自然直 Thing will work out. /It will work out ./

Everything will be fine .12.( 小辫子 )被抓到了 you caught me 13. 我早就知道了 I'm fully (well) aware of that You don't have to tell me / I wasn't born yesterday 14. 我认输了 Beats me /You got me /You got that right /I ca

n't hack this (hack 是完成任务的俗语 ) 15. 你到底要说什么 Don't beat around the bush /Get to the

point What are you trying to say?

16. 你以为你是谁? who do you think you are?