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





《计算机专业英语第3章ppt课件.pptx》由会员分享,可在线阅读,更多相关《计算机专业英语第3章ppt课件.pptx(55页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、1第3章 Software Knowledge 3.1 Operating System3.2 Data Structures3.3 Programming Language3.4 专业英语应用模块23.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 simultaneo
2、usly.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,space on
3、the hard drive is used to mimic the extra memory needed.3Main Contents of the Text Introduction Resource allocation and related functions Control of I/O Operations OS structure nResource allocation criteria depend on whether a resource is a system resource or a user-created resource.nTwo popular str
4、ategies for resource allocation are:Partitioning of resources;Allocation from a pool.45nTo 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.nThese standard instructions,referred to
5、as the Input/Output Control System(IOCS),are an integral part of most operating systems.nThey simplify the means by which all programs being processed may undertake I/O operations.6nOS design strongly depends on two factors:architectural features of the computer on which it operates,and features of
6、its application domain.nThe dependence on these two factors poses obvious difficulties in using an OS on computers with different architectures and different application domains.7nIn early operating systems,this approach faced several difficulties due to the monolithic structure of the OS.nThus,oper
7、ating 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.8Key Words allot 分配concurrently 同时发生地
8、considerable 相当的,重要的constraint 强制,约束criteria 标准critical 批评的,临界的domain 领域,范围embody 使具体化entrust 信托,委托illusion 幻影,幻想integral 整体的mechanism 机制,机理9Key Words mimic 模拟,模仿monolithic 整体的,完全统一的partition 分割perceive 感知,认知perceptible 可察觉的,感觉得到的primitive 原始的,基本的privilege 特权suspend 暂停,挂起undergo 经历utilization 利用10No
9、tes 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引 导 的 是 非 限 制 性 定 语 从 句。whereby:by
10、means of which,以方式;凭借。11Notes 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”是比较结构。12Notes 3 Operating systems can use virtual memo
11、ry to run processes that require more main memory than is actually available.译文:实际可用空间不够时,为了运行那些需要更多主存储空间的程序,操作系统可以利用虚拟存储器。本句中,to run processes到句末为目的状语;由that引导的定语从句修饰和限定processes;than后面省略了主语that(that意指main memory)。13Notes 4 Both the partitioning and the pool-based allocation approaches can be used t
12、o manage the memory resource.译文:资源分区和基于资源池的分配方式都适用于存储器资源管理。本句的主语是由并列的两部分组成,即“Both the partitioning and the pool-based allocation approaches”,并且用被动态表示客观性。14Notes 5 Taking advantage of this facility,data read from one location may be distributed throughout computerized system.译文:利用这一功能,读自某一设备的数据可以分布贯穿
13、整个计算机处理系统。现在分词短语Taking做伴随状语;过去分词短语read from one location作定语,修饰主语data。15Reading Material Linux Operating System nLinux is an operating system that was initially created as a hobby by a young student,Linus Torvaids,at the University of Helsinki in Finland.nLinux is an implementation of the Unix design
14、 philosophy,which means that it is a multi-user system.nLinux is open.This means that all programmers and users can have access to the source code as well as the right to modify it.16Reading Material Linux Operating SystemnLinux is available in several formats.nIn order to get a better understanding
15、 of the way your Linux system works,or how to customize it to suit your needs,you should read the HOWTO documents.nLinux is one of the more stable operating systems available today.173.2 Data Structures Data structures organize data in ways that make algorithms more efficient.For example,consider so
16、me 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-free.They are modular because each has a prescrib
17、ed interface through which access to data stored in the data structure is restricted.18Main Contents of the Text An introduction to data structures Data structures and algorithms Data type 19nAny data structure is designed to organize data to suit a specific purpose so that it can be accessed and wo
18、rked with in appropriate ways.nIn computer programming,a data structure may be selected or designed to store data for the purpose of working on it with various algorithms.20nAlgorithms and data structures can be specified in any adequately precise language.nEnglish and other natural languages are sa
19、tisfactory if used with care to avoid ambiguity but more precise mathematical languages and programming languages are generally preferred.21nIf we provide a set of possible data values and a set of operations that act on the values,we can think of the combination as a data type.nLet us look at two c
20、lasses of data types.nWe 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.22nWe will call any data type whose values are composed of component elements that are related by some structure a structured data type,or
21、data structure.nIn 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 typesnAtomic data types(values are not decomposable).nData Structures(values are decomposable).(2)Data StructureA data type whose valuesnC
22、an be decomposed into a set of component data elements each of which is either atomic or another data structure.nInclude a set of associations or relationships(structure)involving the component elements.24Key Words Abstraction 抽象,摘要adequately 足够地,适当地arithmetic 算术,算法attribute 属性considerably非常地,很decom
23、pose分解equivalent相等的,同等的essential 重要的,本质的gracefully优美地heap 堆ingredient 组成,成分25Key Words irrelevant不恰当的,不相干的modular 有标准组件的property性质,属性recipe 食谱reusability可再使用地seemingly外观上地,表面上地simplistic过分简单化的superfluous多余的,过剩的terminate结束,终止26Notes 1 Data structures are context-free because they can be used with any
24、 type of data and in a variety of situations or contexts.译文:因为数据结构能用于任何类型的数据,并用于多种环境中,所以数据结构与使用环境无关。本句中的“because”引导原因状语从句。27Notes 2 General data structure types include the array,the file,the record,the table,the tree,and so on.译文:一般的数据结构类型包括数组、文件、记录、表、树等。本句中的“the array,the file,the record,the table
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 计算机专业 英语 ppt 课件

限制150内