计算机专业英语第3章ppt课件.pptx

上传人:小飞机 文档编号:1362629 上传时间:2022-11-14 格式:PPTX 页数:55 大小:124.14KB
返回 下载 相关 举报
计算机专业英语第3章ppt课件.pptx_第1页
第1页 / 共55页
计算机专业英语第3章ppt课件.pptx_第2页
第2页 / 共55页
计算机专业英语第3章ppt课件.pptx_第3页
第3页 / 共55页
计算机专业英语第3章ppt课件.pptx_第4页
第4页 / 共55页
计算机专业英语第3章ppt课件.pptx_第5页
第5页 / 共55页
点击查看更多>>
资源描述

《计算机专业英语第3章ppt课件.pptx》由会员分享,可在线阅读,更多相关《计算机专业英语第3章ppt课件.pptx(55页珍藏版)》请在三一办公上搜索。

1、1,第3章 Software Knowledge,3.1 Operating System3.2 Data Structures3.3 Programming Language3.4 专业英语应用模块,2,3.1 Operating System,What exactly does an operating system do? Basically, it performs a number of support functions. All modern operating systems are multitasking and can run several processes simu

2、ltaneously. In most computers there is only one CPU, so a multitasking operating system creates the illusion of several processes running simultaneously on the CPU. Operating systems can use virtual memory to run processes that require more main memory than is actually available. With this technique

3、, space on the hard drive is used to mimic the extra memory needed.,3,Main Contents of the Text,Introduction Resource allocation and related functions Control of I/O Operations OS structure,Resource allocation criteria depend on whether a resource is a system resource or a user-created resource.Two

4、popular strategies for resource allocation are:Partitioning of resources;Allocation from a pool.,4,5,To facilitate execution of I/O operations, most operating systems have a standard set of control instructions to handle the processing of all input and output instructions. These standard instruction

5、s, referred to as the Input/Output Control System (IOCS), are an integral part of most operating systems. They simplify the means by which all programs being processed may undertake I/O operations.,6,OS design strongly depends on two factors: architectural features of the computer on which it operat

6、es, and features of its application domain. The dependence on these two factors poses obvious difficulties in using an OS on computers with different architectures and different application domains.,7,In early operating systems, this approach faced several difficulties due to the monolithic structur

7、e of the OS. Thus, operating systems did not provide clean interfaces between the architecture specific and architecture independent parts of their code. Hence the total porting effort was determined by the total size of OS code, rather than by the size of its architecture specific part.,8,Key Words

8、,allot 分配concurrently 同时发生地considerable 相当的,重要的constraint 强制,约束criteria 标准critical 批评的,临界的domain 领域,范围embody 使具体化entrust 信托,委托illusion 幻影,幻想integral 整体的mechanism 机制,机理,9,Key Words,mimic 模拟,模仿monolithic 整体的,完全统一的partition 分割perceive 感知,认知perceptible 可察觉的,感觉得到的primitive 原始的,基本的privilege 特权suspend 暂停,挂

9、起undergo 经历utilization 利用,10,Notes,1 The most common mechanism used to create this illusion is time slice multitasking, whereby each process is run individually for a fixed period of time.译文:产生这种错觉的最常用机制是时间分割多任务处理,以每个过程各自运行固定的一段时间的方式来实现的。过去分词短语used to create this illusion作定语,修饰mechanism;由whereby引导的是

10、非限制性定语从句。whereby:by means of which,以方式;凭借。,11,Notes,2 The processes appear to run simultaneously because the users sense of time is much slower than the processing speed of the computer.译文:由于用户的时间感觉比计算机的处理速度要慢得多,所以几个程序看起来是同时执行的。本句中由“because”引导原因状语从句,“much slower than”是比较结构。,12,Notes,3 Operating syst

11、ems can use virtual memory to run processes that require more main memory than is actually available.译文:实际可用空间不够时,为了运行那些需要更多主存储空间的程序,操作系统可以利用虚拟存储器。本句中,to run processes到句末为目的状语;由that引导的定语从句修饰和限定processes;than后面省略了主语that (that意指main memory)。,13,Notes,4 Both the partitioning and the pool-based allocati

12、on approaches can be used to manage the memory resource.译文:资源分区和基于资源池的分配方式都适用于存储器资源管理。本句的主语是由并列的两部分组成,即“Both the partitioning and the pool-based allocation approaches”,并且用被动态表示客观性。,14,Notes,5 Taking advantage of this facility, data read from one location may be distributed throughout computerized sy

13、stem.译文:利用这一功能,读自某一设备的数据可以分布贯穿整个计算机处理系统。现在分词短语Taking做伴随状语;过去分词短语read from one location作定语,修饰主语data。,15,Reading Material Linux Operating System,Linux is an operating system that was initially created as a hobby by a young student, Linus Torvaids, at the University of Helsinki in Finland. Linux is an

14、implementation of the Unix design philosophy, which means that it is a multi-user system. Linux is open. This means that all programmers and users can have access to the source code as well as the right to modify it.,16,Reading Material Linux Operating System,Linux is available in several formats. I

15、n order to get a better understanding of the way your Linux system works, or how to customize it to suit your needs, you should read the HOWTO documents. Linux is one of the more stable operating systems available today.,17,3.2 Data Structures,Data structures organize data in ways that make algorith

16、ms more efficient. For example, consider some of the ways we can organize data for searching it. Data structures provide a more understandable way to look at data; thus, they offer a level of abstraction in solving problems. Data structures are reusable because they tend to be modular and context-fr

17、ee. They are modular because each has a prescribed interface through which access to data stored in the data structure is restricted.,18,Main Contents of the Text,An introduction to data structures Data structures and algorithms Data type,19,Any data structure is designed to organize data to suit a

18、specific purpose so that it can be accessed and worked with in appropriate ways. In computer programming, a data structure may be selected or designed to store data for the purpose of working on it with various algorithms.,20,Algorithms and data structures can be specified in any adequately precise

19、language. English and other natural languages are satisfactory if used with care to avoid ambiguity but more precise mathematical languages and programming languages are generally preferred.,21,If we provide a set of possible data values and a set of operations that act on the values, we can think o

20、f the combination as a data type.Let us look at two classes of data types. We will call any data type whose values we choose to consider atomic an atomic data type. Often we choose to consider integers to be atomic.,22,We will call any data type whose values are composed of component elements that a

21、re related by some structure a structured data type, or data structure. In other words, the values of these data types are decomposable, and we must therefore be aware of their internal construction.,23,(1)Classes of data typesAtomic data types (values are not decomposable).Data Structures (values a

22、re decomposable).(2)Data StructureA data type whose valuesCan be decomposed into a set of component data elements each of which is either atomic or another data structure.Include a set of associations or relationships (structure) involving the component elements.,24,Key Words,Abstraction 抽象,摘要adequa

23、tely 足够地,适当地arithmetic 算术,算法attribute 属性considerably非常地,很decompose分解equivalent相等的,同等的essential 重要的,本质的gracefully优美地heap 堆ingredient 组成,成分,25,Key Words,irrelevant不恰当的,不相干的modular 有标准组件的property性质,属性recipe 食谱reusability可再使用地seemingly外观上地,表面上地simplistic过分简单化的superfluous多余的,过剩的terminate结束,终止,26,Notes,1

24、Data structures are context-free because they can be used with any type of data and in a variety of situations or contexts.译文:因为数据结构能用于任何类型的数据,并用于多种环境中,所以数据结构与使用环境无关。本句中的“because”引导原因状语从句。,27,Notes,2 General data structure types include the array, the file, the record, the table, the tree, and so on

25、.译文:一般的数据结构类型包括数组、文件、记录、表、树等。本句中的“the array, the file, the record, the table, the tree, and so on”是宾语,其中包含若干项并列部分。,28,Notes,3 One of the arts of computer programming is to suppress unnecessary detail of the problem and of the computer used.译文:计算机程序设计的艺术之一就是消除一个问题中和所用计算机不必要的细节。本句中的表语是不定式结构,“of the pr

26、oblem and of the computer used”是定语,修饰“detail”。,29,Notes,4 The essence of a data type is that it attempts to identify qualities common to a group of individuals or objects that distinguish it as an identifiable class or kind.译文:数据类型的本质是标识一组个体或目标所共有的特性,这些特性把该组个体作为可识别的种类。本句由两个复合句构成,均由“that”引导。第一个“that”

27、引导表语从句;第二个“that”引导限定性定语从句,修饰“qualities”,“it”代表“a group of individuals or objects”。,30,Notes,5 A data structure is a data type whose values are composed of component elements that are related by some structure.译文:数据结构是一种数据类型,其值是由与某些结构有关的组成元素所构成的。由“whose”引导的限定性定语从句修饰“a data type”,“that”引导的限定性定语从句修饰“co

28、mponent elements”。,31,Reading Material Stacks and Queues,The end of a stack at which entries are inserted and deleted is called the top of the stack. The other end is sometimes called the stacks base. To reflect the fact that access to a stack is restricted to the topmost entry, we use special termi

29、nology when referring to the insertion and deletion operations. The process of inserting an object on the stack is called a push operation, and the process of deleting an object is called a pop operation. Thus we speak of pushing an entry onto a stack and popping an entry off a stack.,32,Reading Mat

30、erial Stacks and Queues,Queues occur frequently in everyday life and are therefore familiar to us. There are many applications of the first-in/first-out (FIFO) protocol of queues in computing. For example, the line of input/output (I/O) requests waiting for access to a disk drive in a multi-user tim

31、e-sharing system might be a queue. The line of computing jobs waiting to be run on a computer system might also be a queue. The jobs and I/O requests are serviced in order of their arrival, that is, the first in is the first out.,33,3.3 Programming Language,A programming language represents a specia

32、l vocabulary and a set of grammatical rules for instructing a computer to perform specific tasks. Broadly speaking, it consists of a set of statements or expressions understandable to both people and computers.,34,Main Contents of the Text,Machine Language Assembly Language High-Level Languages C+ a

33、nd Object-Oriented Programming Encapsulation and Data hiding Inheritance and Reuse Polymorphism,35,An executable program is a sequence of extremely simple instructions known as machine code. Machine code instructions are binarythat is, sequences of bits (0s and 1s).,36,Lying between machine language

34、s and high-level languages are assembly languages, which are directly related to a computers machine language. In other words, it takes one assembly command to generate each machine language command. Machine languages consist entirely of numbers and are almost impossible for humans to read and write

35、.,37,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.,38,A high-level programming language is a means of writing down, in for

36、mal terms, the steps that must be performed to process a given set of data in a uniquely defined way. The high-level languages are often oriented toward a particular class of processing problems.,39,In a high-level language we would expect to find facilities to do the following:structure the program

37、;define data elements, give them a name, size and types;process data elements (arithmetic / Boolean / transfer);control flow of program (test, branch);allow commonly used program to be used repeatedly (loops, subroutines, procedures);allow input/output of data.,40,C+ is a highly portable language, a

38、nd translators for it exist on many different machines and systems. C+ compilers are highly compatible with existing C programs because maintaining such compatibility was a design objective.C+ fully supports object-oriented programming, including the four pillars of object-oriented development: enca

39、psulation, data hiding, inheritance, and polymorphism.,41,Key Words,accelerator 加速器assembler 汇编程序,汇编器carburetor 化油器,汽化器encapsulation 封装executable 可执行的,可实行的facility 容易,便利,工具inheritance 继承injection 注满,充满,42,Key Words,morph 变种,形态orthogonal 正交的,互相垂直的pillar 台柱,栋梁polymorphism 多态性,多形性roughly 粗略地scratch 凑合的

40、,随意的subclass 子类subroutine 子程序terseness 简洁,简练turbocharger 涡轮增压器,43,Notes,1 Because these numbers are not understood easily by humans, computer instructions usually are not written in machine code.译文:由于这些数字令人难以理解,所以计算机指令通常不是用机器码来写的。本句中由“Because”引导原因状语从句,主句用被动语态。,44,Notes,2 It is a general-purpose and

41、more comprehensive applications programming language developed by Ejarne Stroustrup at Bell Laboratory.译文:它是由贝尔实验室的Ejarne Stroustrup开发的一种通用的、更完整的应用程序设计语言。本句中的“It”指C语言,表语是并列的两部分,“developed by”是过去分词短语作定语,修饰“language”。,45,Notes,3 Unlike other object-oriented languages, such as Smalltalk, C+ is an exten

42、sion of an existing language widely used on many machines.译文:不像其他的面向对象语言,如Smalltalk语言,C+是现有语言的一种扩展,它广泛地用于很多种机器。本句中的“Unlike other object-oriented languages”是状语,“such as Smalltalk”是同位语。,46,Notes,4 C+ supports the properties of encapsulation and data hiding through the creation of user-defined types, c

43、alled classes.译文:C+通过创建称为类的用户定义类型而支持封装和数据隐藏的属性。本句中的“through the creation of user-defined types”是状语,而“called classes”是同位语。,47,Notes,5 This new subclass is said to derive from the existing type and is sometimes called a derived type.译文:这个新的子类从已存在类派生而来,可称为派生类。这是一个并列句,主语是“This new subclass”,本句使用被动语态。,48

44、,Reading Material Software Engineering,Software engineering is the application of tools, methods, and disciplines to produce and maintain an automated solution to a real-world problem.The overall objective of software engineering is to give the reader a sense of the flow of events in an integrated s

45、ystem and software development effort, and appreciation for and understanding of the software engineers role in the system development process, and a comprehensive preparation for assuming responsibilities of a software engineer.,49,Reading Material Software Engineering,In recent years, software eng

46、ineering techniques have begun to reflect this underlying contradiction as illustrated by the emergence of the incremental model for software development. The incremental model is evidence of the trend in software development toward prototyping in which incomplete versions of the proposed system, ca

47、lled prototypes, are built and evaluated.,50,3.4 专业英语应用模块,3.4.1 Computer Malfunction3.4.2 The Malfunctions of Main Board,51,引起计算机故障的原因:,(1)工作环境引起的故障静电常造成主板上的芯片被击穿,主板遇到电源损坏或电网电压瞬间产生的尖峰脉冲时,往往会损坏主板供电插头附近的芯片,主板上的灰尘也会造成信号短路。(2)人为原因引起的故障带电插拔各种板卡,以及在装板卡及插头时用力不当造成对接口、芯片等的损害。,52,(3)接触不良引起的故障各种芯片、插座、接口因锈蚀、氧化等

48、原因而产生的故障。(4)器件质量问题引起的故障。(5)软硬件不兼容。由于软硬件不兼容,造成系统不能启动或不能开机。(6)短路、断路引起的故障。,53,常见故障:启动计算机时屏幕显示“CMOS Battery Failed”。故障现象:开机时屏幕显示“CMOS Battery Failed”。故障原因:表明CMOS电池失效或电力不足。解决方法:更换CMOS电池。,54,主板无法启动故障故障现象:主板无法正常启动,同时发出“滴滴”警报声。故障原因:出现这种现象的可能原因是,主板内存插槽质量低劣,内存条上的金手指与插槽簧片接触不良;也有可能是内存条上的金手指表面的镀金效果不好,在长时间工作中,镀金表

49、面出现了很厚的氧化层;还有可能是,内存条生产工艺不够标准。解决方法:将计算机机箱打开,断开电源,取出内存条,将出现在内存条上的灰尘或氧化层用橡皮擦干净,然后重新插入到内存插槽中即可。确保内存条不会左右晃动,这样也能有效避免金手指被氧化。要是上面的方法无法解决故障,可以更换新的内存条试试。,55,主板散热不良故障故障现象:电脑频繁死机,在进行CMOS设置时也会出现死机现象。故障原因:这种故障一般是主板散热不良或主板Cache(缓存)有问题引起的。解决方法:如果因主板散热不够好而导致该故障,可以在死机后触摸CPU周围主板元件,会发现其温度非常高,在更换大功率风扇之后,死机故障即可解决。如果是Cache有问题造成的,则可以进入CMOS设置,将Cache禁止后即可。当然,Cache禁止后,机器速度肯定会受到影响。如果仍不能解决故障,只有更换主板或CPU了。,

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 生活休闲 > 在线阅读


备案号:宁ICP备20000045号-2

经营许可证:宁B2-20210002

宁公网安备 64010402000987号