《计算机专业英语》_第1页
《计算机专业英语》_第2页
《计算机专业英语》_第3页
《计算机专业英语》_第4页
《计算机专业英语》_第5页
已阅读5页,还剩130页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、 计算机专业英语计算机专业英语 第1篇计算机专业英语本课程知识结构本课程知识结构第2篇第3篇第4篇 第第1 1篇篇 基础篇基础篇Chapter 1Architecture of Computer Systems TextText Any discussion of computer architectures Any discussion of computer architectures,of how of how computers and computer systems are organizedcomputers and computer systems are organized,

2、designeddesigned,and and implementedimplemented,will inevitably make reference to the “von will inevitably make reference to the “von Neumann architecture” as a basis for comparisonNeumann architecture” as a basis for comparison,because because virtually every electronic computer ever built has been

3、 virtually every electronic computer ever built has been rooted in this architecture.rooted in this architecture.1 1 返返回回 第第1 1篇篇 基础篇基础篇 We have strong intuitive feelings about the “von We have strong intuitive feelings about the “von Neumann architecture”Neumann architecture”, because this is what

4、we have always because this is what we have always used.This is “the way computers work”.To comprehend how used.This is “the way computers work”.To comprehend how computer designers conceivecomputer designers conceive,or to appreciate what new or to appreciate what new choices must be foundchoices m

5、ust be found,it is necessary to have a definitive it is necessary to have a definitive understanding of what the von Neumann architecture is and is understanding of what the von Neumann architecture is and is not and what its implications are.not and what its implications are. The von Neumann archit

6、ecture based on three ideas The von Neumann architecture based on three ideas:four four subsystemssubsystems,stored program concept and sequential execution stored program concept and sequential execution of instructions.of instructions.2 2 第第1 1篇篇 基础篇基础篇Four SubsystemsFour Subsystems According to V

7、on Neumanns preliminary discussion According to Von Neumanns preliminary discussion,the generalthe generalpurpose computing machine contains four purpose computing machine contains four main “organs”.These are identified as relating to main “organs”.These are identified as relating to arithmeticarit

8、hmetic,memorymemory,controlcontrol,and connection with the and connection with the human operator.In other wordshuman operator.In other words,they are the arithmetic they are the arithmetic logic unitlogic unit,the control unitthe control unit, the memorythe memory,and the inputand the inputoutput d

9、evices that we see in the classical model of output devices that we see in the classical model of what a computer “looks like”. The control unitwhat a computer “looks like”. The control unit(CUCU),),arithmetic logic unitarithmetic logic unit(ALUALU) and register constitute the and register constitut

10、e the central processing unitcentral processing unit(CPUCPU) 第第1 1篇篇 基础篇基础篇Four SubsystemsFour Subsystems According to Von Neumanns preliminary discussion According to Von Neumanns preliminary discussion,the generalthe generalpurpose computing machine contains four purpose computing machine contains

11、 four main “organs”.These are identified as relating to main “organs”.These are identified as relating to arithmeticarithmetic,memorymemory,controlcontrol,and connection with the and connection with the human operator.In other wordshuman operator.In other words,they are the arithmetic they are the a

12、rithmetic logic unitlogic unit,the control unitthe control unit, the memorythe memory,and the inputand the inputoutput devices that we see in the classical model of output devices that we see in the classical model of what a computer “looks like”. The control unitwhat a computer “looks like”. The co

13、ntrol unit(CUCU),),arithmetic logic unitarithmetic logic unit(ALUALU) and register constitute the and register constitute the central processing unitcentral processing unit(CPUCPU) 第第1 1篇篇 基础篇基础篇Stored Program ConceptStored Program Concept To Von Neumann To Von Neumann,the key to building a generalt

14、he key to building a generalpurpose purpose device lies in its ability to store not only its data and the device lies in its ability to store not only its data and the intermediate results of computationintermediate results of computation,but also to store the but also to store the instructionsinstr

15、uctions,or ordersor orders, which bring about the computation.which bring about the computation.3 3In a generalIn a generalpurpose one, the instructions must be as purpose one, the instructions must be as changeable as the numbers they acted upon. Thereforechangeable as the numbers they acted upon.

16、Therefore, why not why not encode the instructions into numeric form and store encode the instructions into numeric form and store instructions and data in the same memory? Von Neumann proposes instructions and data in the same memory? Von Neumann proposes that programs and data should be stored in

17、the same binarythat programs and data should be stored in the same binarynumber format in the memory device.number format in the memory device.4 4 第第1 1篇篇 基础篇基础篇UsuallyUsually,this is viewed as the principal contribution this is viewed as the principal contribution provided by Von Neumanns insight i

18、nto the nature of what a provided by Von Neumanns insight into the nature of what a computer should becomputer should be,which brings the significant which brings the significant breakthrough in the development of the generalbreakthrough in the development of the generalpurpose purpose electronic co

19、mputer used today. That is what we all knowelectronic computer used today. That is what we all knowthe concept of a stored program. the concept of a stored program. 第第1 1篇篇 基础篇基础篇 Sequential Execution of InstructionsSequential Execution of Instructions Based on the stored program concept Based on th

20、e stored program concept, computers store computers store programs and data in a slowprograms and data in a slowtotoaccess storage mediumaccess storage medium(such as such as a hard diska hard disk) and work on them in a fastand work on them in a fastaccessaccess, volatile volatile storage medium st

21、orage medium (RAMRAM). .5 5HoweverHowever, this concept has a this concept has a perceived bottleperceived bottleneckneck:it is designed to process instructions it is designed to process instructions one after another instead of using faster parallel processing.one after another instead of using fas

22、ter parallel processing.6 6When the program executesWhen the program executes,the message seems to appear all the message seems to appear all at onceat once,but the speed of the computer has deceived you. In but the speed of the computer has deceived you. In factfact, one instruction executes in seq

23、uenceone instruction executes in sequence,that is at a timethat is at a time:fetching one instruction from memoryfetching one instruction from memory,interpreting interpreting (decodingdecoding) it and executing it. The computer does not go on to the next it and executing it. The computer does not g

24、o on to the next instruction until the one it is working on is completed.instruction until the one it is working on is completed. according to according to 依照依照architecture architecture 体系结构体系结构breakthrough breakthrough 突破突破constitute constitute 组成组成decode decode 译码,解码译码,解码encode encode 编码编码fetch fe

25、tch 获取获取implication implication 含义含义instruction instruction 指令指令intuitive intuitive 直觉直觉in sequence in sequence 顺次,依次顺次,依次parallel processing parallel processing 并行处理并行处理preliminary preliminary 初步的,最初的初步的,最初的stored program concept stored program concept 存储程序概念存储程序概念sequential sequential 顺序的顺序的subsys

26、tem subsystem 子系统子系统第第1 1篇篇 基础篇基础篇Key Words & TermsKey Words & Terms 第第1 1篇篇 基础篇基础篇 TextText In computer science In computer science,the way information is organized in the way information is organized in the memory of a computer is called a data structure.the memory of a computer is called a data s

27、tructure.1 1 Its a data type whose values are composed of component Its a data type whose values are composed of component elements that are related by some structure.elements that are related by some structure. Much of programming involves the storage and retrieval of Much of programming involves t

28、he storage and retrieval of data. Many of the most efficient algorithms for important data. Many of the most efficient algorithms for important problems are based on the use of specific data structuresproblems are based on the use of specific data structures;the the efficiency of the algorithm depen

29、ds on the efficiency of the efficiency of the algorithm depends on the efficiency of the underlying data structure.underlying data structure.2 2Software design often involves Software design often involves the choice of appropriate data structures. the choice of appropriate data structures. Chapter

30、2Data Structure返返回回 第第1 1篇篇 基础篇基础篇 For exampleFor example, imagine that you are asked to create a imagine that you are asked to create a database of names with ABC companys management and employees. database of names with ABC companys management and employees. To start your workTo start your work,yo

31、u make a list of everyone in the company you make a list of everyone in the company along with their position, as shown in Table 2-1.along with their position, as shown in Table 2-1. 第第1 1篇篇 基础篇基础篇 Although this list contains both name and positionAlthough this list contains both name and position,i

32、t does it does not tell you which managers are responsible for which workers not tell you which managers are responsible for which workers and so on. If you want your database to represent the and so on. If you want your database to represent the relationships between management and employees at ABC

33、relationships between management and employees at ABC,a tree a tree diagram depicted Figure 2-1 is a much better structure for diagram depicted Figure 2-1 is a much better structure for showing the work relationship at ABC.showing the work relationship at ABC. 第第1 1篇篇 基础篇基础篇 These two diagrams are e

34、xamples of different data These two diagrams are examples of different data structures. If you want to locate the employees record very structures. If you want to locate the employees record very quicklyquickly,you can use the list that keeps the names of the you can use the list that keeps the name

35、s of the employees in alphabetical orderemployees in alphabetical order;If you want to see If you want to see relationships between employeesrelationships between employees, the tree structure is much the tree structure is much better. better. There are many different data structures that programmer

36、s There are many different data structures that programmers use to organize data in computers. Each data structure has use to organize data in computers. Each data structure has certain operations that naturally fit with data structure. certain operations that naturally fit with data structure. Ofte

37、n these operations are bundled with the data structure and Often these operations are bundled with the data structure and together they are called a data type. An example of several together they are called a data type. An example of several common data structures are arraycommon data structures are

38、 array,linked listlinked list,stackstack,queuequeue,binary treebinary tree,and hash table. and hash table. 第第1 1篇篇 基础篇基础篇 ListList A collection of items accessible one after another A collection of items accessible one after another beginning at the head and ending at the tail. beginning at the head

39、 and ending at the tail. StackStack A collection of items in which only the most recently A collection of items in which only the most recently added item may be removed. The latest added item is at the added item may be removed. The latest added item is at the top. Basic operations are push and pop

40、. Also known as top. Basic operations are push and pop. Also known as “last in“last in, first out” or LIFO. first out” or LIFO. QueueQueue A collection of items in which only the earliest added A collection of items in which only the earliest added item may be accessed. Basic operations are add item

41、 may be accessed. Basic operations are add (to the to the tailtail) or enqueue and delete or enqueue and delete (from the headfrom the head) or dequeue. or dequeue. Delete returns the item removed. Also known as “first inDelete returns the item removed. Also known as “first in, first out” or FIFO. f

42、irst out” or FIFO. 第第1 1篇篇 基础篇基础篇 ListList A collection of items accessible one after another A collection of items accessible one after another beginning at the head and ending at the tail. beginning at the head and ending at the tail. StackStack A collection of items in which only the most recentl

43、y A collection of items in which only the most recently added item may be removed. The latest added item is at the added item may be removed. The latest added item is at the top. Basic operations are push and pop. Also known as top. Basic operations are push and pop. Also known as “last in“last in,

44、first out” or LIFO. first out” or LIFO. QueueQueue A collection of items in which only the earliest added A collection of items in which only the earliest added item may be accessed. Basic operations are add item may be accessed. Basic operations are add (to the to the tailtail) or enqueue and delet

45、e or enqueue and delete (from the headfrom the head) or dequeue. or dequeue. Delete returns the item removed. Also known as “first inDelete returns the item removed. Also known as “first in, first out” or FIFO. first out” or FIFO. 第第1 1篇篇 基础篇基础篇 TreeTree A data structure accessed beginning at the ro

46、ot node. A data structure accessed beginning at the root node. Each node is either a leaf or an internal node. An internal Each node is either a leaf or an internal node. An internal node has one or more child nodes and is called the parent of node has one or more child nodes and is called the paren

47、t of its child nodes.its child nodes.3 3All children of the same node are siblings. All children of the same node are siblings. Contrary to a physical treeContrary to a physical tree,the root is usually depicted at the root is usually depicted at the top of the structurethe top of the structure, and

48、 the leaves are depicted at the and the leaves are depicted at the bottom. bottom. algorithm algorithm 算法算法alphabetical alphabetical 按字母顺序的按字母顺序的appropriate appropriate 适当的适当的array array 数组数组depict depict 描述描述dequeue dequeue 出队出队diagram diagram 图表图表enqueue enqueue 入队入队hash table hash table 哈希表哈希表que

49、ue queue 队列队列retrieval retrieval 检索检索sibling sibling 兄弟姐妹,同胞兄弟姐妹,同胞stack stack 堆栈堆栈第第1 1篇篇 基础篇基础篇Key Words & TermsKey Words & Terms FIFOFIFO(First In First OutFirst In First Out) 先进先出先进先出FIFOFIFO(Last In First OutLast In First Out) 后进先出后进先出第第1 1篇篇 基础篇基础篇AbbreviationsAbbreviations 第第1 1篇篇 基础篇基础篇Chapt

50、er 3File FormatTextText In general terms In general terms,a file format in the PC world signifies a file format in the PC world signifies what type of information is contained in a particular file. what type of information is contained in a particular file. These are usually designated by the one to

51、 four These are usually designated by the one to four (usually usually threethree) characterscharacters(the extensionsthe extensions) after the period in a after the period in a filename.filename.1 1 返返回回 TXTTXT A file ending in “.TXT” usually designates that the file A file ending in “.TXT” usually

52、 designates that the file is a plainis a plaintext file. This can contain virtually any type of text file. This can contain virtually any type of text a recipetext a recipe,documentation for softwaredocumentation for software,a book report a book report draftdraft,or whatever. When a file ending in

53、“.TXT” is doubleor whatever. When a file ending in “.TXT” is doubleclickedclicked,a text editora text editor,such as notepadsuch as notepad,should appearshould appear,allowing you to view and/or edit the contents of the file. allowing you to view and/or edit the contents of the file. 第第1 1篇篇 基础篇基础篇

54、PDFPDF If a file has the extension .pdf If a file has the extension .pdf,then it most likely is in then it most likely is in the Portable Document Format the Portable Document Format (PDFPDF),),developed by Adobe Systemsdeveloped by Adobe Systems,Inc. PDF maintains the original document formatting f

55、or both Inc. PDF maintains the original document formatting for both printing and viewing on a multiple computing platformsprinting and viewing on a multiple computing platforms, including Windowsincluding Windows,UNIX and Mac. Although they contain the UNIX and Mac. Although they contain the comple

56、te formatting of the original documentcomplete formatting of the original document,including fonts including fonts and imagesand images, PDF files are highly compressedPDF files are highly compressed, allowing complex allowing complex information to be downloaded rmation to be downlo

57、aded efficiently.2 2 To view PDF filesTo view PDF files, you must download the Adobe Acrobat Readeryou must download the Adobe Acrobat Reader,which is free which is free software for viewing and printing Adobe Portable Document Format software for viewing and printing Adobe Portable Document Format

58、(PDFPDF) files on major hardware and operating system platforms. files on major hardware and operating system platforms. 第第1 1篇篇 基础篇基础篇 For storing digital imagesFor storing digital images,there is a large number of there is a large number of formats too. Most formats were developed for particular f

59、ormats too. Most formats were developed for particular programsprograms,some have become the standardssome have become the standards,and a few formats and a few formats were developed specifically for interchanging files between were developed specifically for interchanging files between different p

60、rograms and computers.different programs and computers.3 3 Following are some of the formats most commonly used. Following are some of the formats most commonly used. 第第1 1篇篇 基础篇基础篇 BMPBMP BMP is the native bitmap file format of the Microsoft BMP is the native bitmap file format of the Microsoft Win

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论