外文翻译computerprogram英文.doc

合集下载

计算机专业英语二Computer Program

计算机专业英语二Computer Program
两种情况无论是哪一种,都要调用其他系统程序,以事实 上完成结果的显示或对盘上文件的访问。
12/56
Computer Program-Program Function
When the application reaches completion or is prompted to quit, it makes further system calls to make sure that all data that needs to be saved has been written back to disk. It then makes a final system call to the operating system indicating that it is finished.
I. 引言 计算机程序是指挥计算机执行某种处理功能或功能 组合的一套指令。要使指令得到执行,计算机必须执行程序, 也就是说,计算机要读取程序,然后按准确的顺序实施程序中 编码的步骤,直至程序结束.
3/56
Computer Program-Introduction
A program can be executed many different times, with each execution yielding a potentially different result depending upon the options and data that the user gives the computer.Yield: vt. 生产,释放,让步
操作系统管理计算机以及与之相连的各种资源和设备,如随机 存储器、硬盘驱动器、监视器、键盘、打印机和调制解调器, 以便其他程序可以使用它们。操作系统的例子包括:DOS、 Windows 95、OS/2和UNIX。

外文翻译computerprogram英文.doc

外文翻译computerprogram英文.doc

Computer Program1IntroductionComputer Program, set of instructions that directs a computer to perform some processing function or combination of functions. For the instructions to be carried out, a computer must execute a program, that is, the computer reads the program, and then follow the steps encoded in the program in a precise order until completion. A program can be executed many different times, with each execution yielding a potentially different result depending upon the options and data that the user gives the computer.Programs fall into two major classes: application programs and operating systems. An application program is one that carries out some function directly for a user, such as word processing or game-playing. An operating system is a program that manages the computer and the various resources and devices connected to it, such as RAM, hard drives, monitors, keyboards, printers, and modems, so that they may be used by other programs. Examples of operating systems are DOS, Windows 95, OS\2, and UNIX.2Program DevelopmentSoftware designers create new programs by using special applications programs, often called utility programs ordevelopment programs. A programmer uses another type of program called a text editor to write the new program in a special notation called a programming language. With the text editor, the programmer creates a text file, which is an ordered list of instructions, also called the program source file. The individual instructions that make up the program source file are called source code. At this point, a special applications program translates the source code into machine language, or object code—a format that the operating system will recognize as a proper program and be able to execute.Three types of applications programs translate from source code to object code: compilers, interpreters, and assemblers. The three operate differently and on different types of programming languages, but they serve the same purpose of translating from a programming language into machine language.A compiler translates text files written in a high-level programming language--such as FORTRAN, C, or Pascal—from the source code to the object code all at once. This differs from the approach taken by interpreted languages such as BASIC, APL and LISP, in which a program is translated into object code statement by statement as each instruction is executed. The advantage to interpreted languages is that they can beginexecuting the program immediately instead of having to wait for all of the source code to be compiled. Changes can also be made to the program fairly quickly without having to wait for it to be compiled again. The disadvantage of interpreted languages is that they are slow to execute, since the entire program must be translated one instruction at a time, each time the program is run. On the other hand, compiled languages are compiled only once and thus can be executed by the computer much more quickly than interpreted languages. For this reason, compiled languages are more common and are almost always used in professional and scientific applications.Another type of translator is the assembler, which is used for programs or parts of programs written in assembly language. Assembly language is another programming language, but it is much more similar to machine language than other types of high-level languages. In assembly language, a single statement can usually be translated into a single instruction of machine language. Today, assembly language is rarely used to write an entire program, but is instead most often used when the programmer needs to directly control some aspect of the computer’s function.Programs are often written as a set of smaller pieces, with eachpiece representing some aspect of the overall application program. After each piece has been compiled separately, a program called a linker combines all of the translated pieces into a single executable program.Programs seldom work correctly the first time, so a program called a debugger is often used to help find problems called bugs. Debugging programs usually detect an event in the executing program and point the programmer back to the origin of the event in the program code.Recent programming systems, such as Java, use a combination of approaches to create and execute programs. A compiler takes a Java source program and translates it into an intermediate form. Such intermediate programs are then transferred over the Internet into computers where an interpreter program then executes the intermediate form as an application program.3Program ElementsMost programs are built from just a few kinds of steps that are repeated many times in different contexts and in different combinations throughout the program. The most common step performs some computation, and then proceeds to the next step in the program, in the order specified by the programmer. Programs often need to repeat a short series of steps many times,for instance in looking through a list of game scores and finding the highest score. Such repetitive sequences of code are called loops.One of the capabilities that makes computer so useful is their ability to make conditional decisions and perform different instructions based on the values of data being processed. If-then-else statements implement this function by testing some piece of data and then selecting one of two sequences of instructions on the basis of the result. One of the instructions in these alternatives may be a goto statement that directs the computer to select its next instruction from a different part of the program. For example, a program might compare two numbers and branch to a different part of the program depending on the result of the comparison:If x is greater than yThenGoto instruction # 10Else continueProgram often use a specific sequence of steps more than once. Such a sequence of steps can be grouped together into a subroutine, which can then be called, or accessed, as needed in different parts of the main program. Each time a subroutineis called, the computer remembers where it was in the program when the call was made, so that it can return there upon completion of the subroutine, allowing a very general piece of code to be written once and used in multiple ways.Most programs use several varieties of subroutines. The most common of these are functions, procedures, library routines, system routines, and device drivers. Functions are short subroutines that compute some value, such as computations of angles, which the computer cannot compute with a single basic instruction. Procedures perform a more complex function, such as sorting a set of names. Library routines are subroutines that are written for use by many different programs. System routines are similar to library routines but are actually found in the operating system. They provide some service for the application programs, such as printing a line of text. Device drivers are system routines that are added to an operating system to allow the computer to communicate with a new device, such as a scanner, modem, or printer. Device drivers often have features that can be executed directly as applications programs. This allows the user to directly control the device, which is useful if, for instance, a color printer needs to be realigned to attain the best printing quality after changing an ink cartridge.4Program FunctionModern computers usually store programs on some form of magnetic storage media that can be accessed randomly by the computer, such as the hard drive disk permanently located in the computer, or a portable floppy disk. Additional information on such disks, called directories, indicate the names of the various program begins on the disk media. When a user directs the computer to execute a particular application program, the operating system looks through these directories, locates the program, and reads a copy into RAM. The operating system then directs the CPU to start executing the instructions at the beginning of the program. Instructions at the beginning of the program prepare the computer to process information by locating free memory locations in RAM to hold working data, retrieving copies of the standard options and defaults the user has indicated from a disk, and drawing initial displays on the monitor.The application program requests copy of any information the user enters by making a call to a system routine. The operating system converts any data so entered into a standard internal form. The application then uses this information to decide what to do next---for example, perform some desired processingfunction such as reformatting a page of text, or obtain some additional information from another file on a disk. In either case, calls to other system routines are used to actually carry out the display of the results or the accessing of the file from the disk.When the application reaches completion or is prompted to quit, it makes further system calls to make sure that all data that needs to be saved has been written back to disk. It then makes a final system call to the operating system indicating that it is finished. The operating system then frees up the RAM and any device that the application was using and awaits a command from the user to start another program.5 HistoryPeople have been storing sequences of instructions in the form of a program for several centuries. Music boxes of the 18th century and player pianos of the late 19th and early 20th centuries played musical programs stored as series if metal pins, or holes in paper, with each line representing when a note was to be played, and the pin or hole indicating what note was to be played at that time. More elaborate control of physical devices became common in the early 1800s with French inventor Joseph Marie Jacquard’s invention of the punch-cardcontrolled weaving loom. In the process of weaving a particular pattern, various parts of the loom had to be mechanically positioned. To automate this process, Jacquard used a single paper card to represent each positioning of the loom, with hole in the card to indicate which loom actions should be done. An entire tapestry could be encoded onto a deck of such cards, with the same deck yielding the same tapestry design each time it was used. Programs of over 24,000 card were developed and used. The world’s first programmable machine was designed---although never fully built---by the English mathematician and inventor, Charles Babbage. This machine, called the Analytical Engine, used punch cards similar to those used in the Jacquard loom to select the specific arithmetic operation to apply at each step. Inserting a different set of cards changed the computations the machine performed. This machine had counterparts for almost everything found in modern computers, although it was mechanical rather than electrical. Construction of the Analytical Engine was never completed because the technology required to build it did not exist at the time.The first card deck programs for the Analytical Engine were developed by British mathematician Countess Augusta AdaLovelace, daughter of the poet Lord Byron. For this reason she is recognized as the world’s first programmer.The modern concept of an internally stored computer program was first proposed by Hungarian-American mathematician John von Neumann in 1945. Von Neumann’s idea was to use the computer’s memory to store the program as well as the data. In this way, programs can be viewed as data and can be processed like data by other programs. This idea greatly simplifies the role of program storage and execution in computers.6 The FutureThe field of computer science has grown rapidly since the 1950s due to the increase in their use. Computer programs have undergone many changes during this time in response to user need and advances in technology. Newer ideas in computing such as parallel computing, distributed computing, and artificial intelligence, have radically altered the traditional concepts that once determined program form and function.Computer scientists working in the field of parallel computing, in which multiple CPUs cooperate on the same problem at the same time, have introduced a number of new program models. In parallel computing parts of a problem are worked on simultaneously by different processors, and this speeds up thesolution of the problem. Many challenges face scientists and engineers who design programs for parallel processing computers, because of the extreme complexity of the systems and the difficulty involved in making them operate as effectively as possible.Another type of parallel computing called distributed computing uses CPUs from many interconnected computers to solve problems. Often the computers used to process information in a distributed computing application are connected over the Internet. Internet applications are becoming a particularly useful form of distributed computing, especially with programming languages such as Java. In such applications, a user logs onto a web site and downloads a Java program onto their computer. When the Java program is run, it communicates with other programs at its home Web site, and may also communicate with other programs running on different computers or Web sites.Research into artificial intelligence has led to several other new styles of programming. Logic programs, for example, do not consist of individual instructions for the computer to follow blindly, but instead consist of sets of rules: if x happens then do y. A special program called an inference engine uses theserules to “reason”its way to a conclusion when presented with a new problem. Applications of logic programs include automatic monitoring of complex systems, and proving mathematical theorems.A radically different approach to computing in which there is no program in the conventional sense is called a neural network.A neural network is a group of highly interconnected simple processing elements, designed to mimic the brain. Instead of having a program direct the information processing in the way that a traditional computer does, a neural network processes information depending upon the way that its processing elements are connected. Programming a neural network is accomplished by presenting it with known patterns of input and output data and adjusting the relative importance of the interconnections between the processing elements until the desired pattern matching is accomplished. Neural networks are usually simulated on traditional computers, but unlike traditional computer programs, neural networks are able to learn from their experience.。

计算机专业英语chapter 2 programming language

计算机专业英语chapter 2 programming language

A program can be executed many different times, with each execution yielding a potentially different result depending upon the options and data that the user gives the computer.
With the text editor, the programmer creates a text file, which is an ordered list of instructions, also called the program source file. The individual instructions that make up the program source file are called source code.
Ⅰ. Program Development
Software designers create new programs by using special applications programs, often called utility programs or development programs. A programmer uses another type of program called a text editor to write the new program in a special notation called a programming language.
purpose of translating from a programming language into machine language.

计算机专业英语翻译

计算机专业英语翻译

11.A computer is a fast and accurate system that is organizedto accept, store and process data, and produce ~program.计算机是快速而精准的系统,他用来接收、存储和处理数据,并在已存储的程序的指引下输出结果。

2.When people use the term “memory” in reference to computer~which is comprised of chips attached to the motherboard.当人们谈及计算机用到内存这个术语时,他们几乎总是在指被称为随机存储器RAM的计算机的主存储器,它是由固定在主板上的芯片构成的。

3.Inside the hard disk ~are many tracks.在硬盘驱动器的盒子里,有一张或多张圆形的金属盘,金属盘上有许多磁道。

4.Clarity is indicated by its resolution, which~ pixes , theclearer, the clearer the images.清晰度通过分辨率显示,而分辨率又由像素决定。

在显示器尺寸不变的情况下,像素越多,图像越清晰。

5.A monitor is a hardware with a television-like viewing screen.显示器是指具有类似电视机的显像屏幕的硬件。

6.Input devices translate data and ~ that computer can process.输入设备能够将人类理解的数据和程序指令转化成计算机能处理的形式。

7.Most scanners are of the flatbed,~ are the most popular.扫描仪可以分为平板式、馈纸式、滚筒式和手持式,其中,以平板式和手持式两款最为流行。

外文翻译computerprogram英文

外文翻译computerprogram英文

Computer Program1IntroductionComputer Program, set of instructions that directs a computer to perform some processing function or combination of functions. For the instructions to be carried out, a computer must execute a program, that is, the computer reads the program, and then follow the steps encoded in the program in a precise order until completion.A program can be executed many different times, with each execution yielding a potentially different result depending upon the options and data that the user gives the computer.Programs fall into two major classes: application programs and operating systems. An application program is one that carries out some function directly for a user, such as word processing or game-playing. An operating system is a program that manages the computer and the various resources and devices connected to it, such as RAM, hard drives, monitors, keyboards, printers, and modems, so thatthey may be used by other programs. Examples of operating systems are DOS, Windows 95, OS\2, and UNIX.2Program DevelopmentSoftware designers create new programs by using special applications programs, often called utility programs or development programs. A programmer uses another type of program called a text editor to write the new program in a special notation called a programming language. With the text editor, the programmer creates a text file, which is an ordered list of instructions, also called the program source file. The individual instructions that make up the program source file are called source code. At this point, a special applications program translates the source code into machine language, or object code—a format that the operating system will recognize as a proper program and be able to execute.Three types of applications programs translate from source code to object code: compilers, interpreters, and assemblers. The three operate differently and on differenttypes of programming languages, but they serve the same purpose of translating from a programming language into machine language.A compiler translates text files written in a high-level programming language--such as FORTRAN, C, or Pascal—from the source code to the object code all at once. This differs from the approach taken by interpreted languages such as BASIC, APL and LISP, in which a program is translated into object code statement by statement as each instruction is executed. The advantage to interpreted languages is that they can begin executing the program immediately instead of having to wait for all of the source code to be compiled. Changes can also be made to the program fairly quickly without having to wait for it to be compiled again. The disadvantage of interpreted languages is that they are slow to execute, since the entire program must be translated one instruction at a time, each time the program is run. On the other hand, compiled languages are compiled only once and thus can be executed by the computer much morequickly than interpreted languages. For this reason, compiled languages are more common and are almost always used in professional and scientific applications.Another type of translator is the assembler, which is used for programs or parts of programs written in assembly language. Assembly language is another programming language, but it is much more similar to machine language than other types of high-level languages. In assembly language, a single statement can usually be translated into a single instruction of machine language. Today, assembly language is rarely used to write an entire program, but is instead most often used when the programmer needs to directly control some aspect of the computer’s function.Programs are often written as a set of smaller pieces, with each piece representing some aspect of the overall application program. After each piece has been compiled separately, a program called a linker combines all of the translated pieces into a single executable program.Programs seldom work correctly the first time, so aprogram called a debugger is often used to help find problems called bugs. Debugging programs usually detect an event in the executing program and point the programmer back to the origin of the event in the program code.Recent programming systems, such as Java, use a combination of approaches to create and execute programs.A compiler takes a Java source program and translates it into an intermediate form. Such intermediate programs are then transferred over the Internet into computers where an interpreter program then executes the intermediate form as an application program.3Program ElementsMost programs are built from just a few kinds of steps that are repeated many times in different contexts and in different combinations throughout the program. The most common step performs some computation, and then proceeds to the next step in the program, in the order specified by the programmer.Programs often need to repeat a short series of stepsmany times, for instance in looking through a list of game scores and finding the highest score. Such repetitive sequences of code are called loops.One of the capabilities that makes computer so useful is their ability to make conditional decisions and perform different instructions based on the values of data being processed. If-then-else statements implement this function by testing some piece of data and then selecting one of two sequences of instructions on the basis of the result. One of the instructions in these alternatives may be a goto statement that directs the computer to select its next instruction from a different part of the program. For example, a program might compare two numbers and branch to a different part of the program depending on the result of the comparison:If x is greater than yThenGoto instruction # 10Else continue。

外文翻译computerprogram英文

外文翻译computerprogram英文

Computer Program1IntroductionComputer Program, set of instructions that directs a computer to perform some processing function or combination of functions. For the instructions to be carried out, a computer must execute a program, that is, the computer reads the program, and then follow the steps encoded in the program in a precise order until completion. A program can be executed many different times, with each execution yielding a potentially different result depending upon the options and data that the user gives the computer.Programs fall into two major classes: application programs and operating systems. An application program is one that carries out some function directly for a user, such as word processing or game-playing. An operating system is a program that manages the computer and the various resources and devices connected to it, such as RAM, hard drives, monitors, keyboards, printers, and modems, so that they may be used by other programs. Examples of operating systems are DOS, Windows 95, OS\2, and UNIX.2Program DevelopmentSoftware designers create new programs by using special applications programs, often called utility programs ordevelopment programs. A programmer uses another type of program called a text editor to write the new program in a special notation called a programming language. With the text editor, the programmer creates a text file, which is an ordered list of instructions, also called the program source file. The individual instructions that make up the program source file are called source code. At this point, a special applications program translates the source code into machine language, or object code—a format that the operating system will recognize as a proper program and be able to execute.Three types of applications programs translate from source code to object code: compilers, interpreters, and assemblers. The three operate differently and on different types of programming languages, but they serve the same purpose of translating from a programming language into machine language.A compiler translates text files written in a high-level programming language--such as FORTRAN, C, or Pascal—from the source code to the object code all at once. This differs from the approach taken by interpreted languages such as BASIC, APL and LISP, in which a program is translated into object code statement by statement as each instruction is executed. The advantage to interpreted languages is that they can beginexecuting the program immediately instead of having to wait for all of the source code to be compiled. Changes can also be made to the program fairly quickly without having to wait for it to be compiled again. The disadvantage of interpreted languages is that they are slow to execute, since the entire program must be translated one instruction at a time, each time the program is run. On the other hand, compiled languages are compiled only once and thus can be executed by the computer much more quickly than interpreted languages. For this reason, compiled languages are more common and are almost always used in professional and scientific applications.Another type of translator is the assembler, which is used for programs or parts of programs written in assembly language. Assembly language is another programming language, but it is much more similar to machine language than other types of high-level languages. In assembly language, a single statement can usually be translated into a single instruction of machine language. Today, assembly language is rarely used to write an entire program, but is instead most often used when the programmer needs to directly control some aspect of the computer’s function.Programs are often written as a set of smaller pieces, with eachpiece representing some aspect of the overall application program. After each piece has been compiled separately, a program called a linker combines all of the translated pieces into a single executable program.Programs seldom work correctly the first time, so a program called a debugger is often used to help find problems called bugs. Debugging programs usually detect an event in the executing program and point the programmer back to the origin of the event in the program code.Recent programming systems, such as Java, use a combination of approaches to create and execute programs. A compiler takes a Java source program and translates it into an intermediate form. Such intermediate programs are then transferred over the Internet into computers where an interpreter program then executes the intermediate form as an application program.3Program ElementsMost programs are built from just a few kinds of steps that are repeated many times in different contexts and in different combinations throughout the program. The most common step performs some computation, and then proceeds to the next step in the program, in the order specified by the programmer. Programs often need to repeat a short series of steps many times,for instance in looking through a list of game scores and finding the highest score. Such repetitive sequences of code are called loops.One of the capabilities that makes computer so useful is their ability to make conditional decisions and perform different instructions based on the values of data being processed. If-then-else statements implement this function by testing some piece of data and then selecting one of two sequences of instructions on the basis of the result. One of the instructions in these alternatives may be a goto statement that directs the computer to select its next instruction from a different part of the program. For example, a program might compare two numbers and branch to a different part of the program depending on the result of the comparison:If x is greater than yThenGoto instruction # 10Else continueProgram often use a specific sequence of steps more than once. Such a sequence of steps can be grouped together into a subroutine, which can then be called, or accessed, as needed in different parts of the main program. Each time a subroutineis called, the computer remembers where it was in the program when the call was made, so that it can return there upon completion of the subroutine, allowing a very general piece of code to be written once and used in multiple ways.Most programs use several varieties of subroutines. The most common of these are functions, procedures, library routines, system routines, and device drivers. Functions are short subroutines that compute some value, such as computations of angles, which the computer cannot compute with a single basic instruction. Procedures perform a more complex function, such as sorting a set of names. Library routines are subroutines that are written for use by many different programs. System routines are similar to library routines but are actually found in the operating system. They provide some service for the application programs, such as printing a line of text. Device drivers are system routines that are added to an operating system to allow the computer to communicate with a new device, such as a scanner, modem, or printer. Device drivers often have features that can be executed directly as applications programs. This allows the user to directly control the device, which is useful if, for instance, a color printer needs to be realigned to attain the best printing quality after changing an ink cartridge.4Program FunctionModern computers usually store programs on some form of magnetic storage media that can be accessed randomly by the computer, such as the hard drive disk permanently located in the computer, or a portable floppy disk. Additional information on such disks, called directories, indicate the names of the various program begins on the disk media. When a user directs the computer to execute a particular application program, the operating system looks through these directories, locates the program, and reads a copy into RAM. The operating system then directs the CPU to start executing the instructions at the beginning of the program. Instructions at the beginning of the program prepare the computer to process information by locating free memory locations in RAM to hold working data, retrieving copies of the standard options and defaults the user has indicated from a disk, and drawing initial displays on the monitor.The application program requests copy of any information the user enters by making a call to a system routine. The operating system converts any data so entered into a standard internal form. The application then uses this information to decide what to do next---for example, perform some desired processingfunction such as reformatting a page of text, or obtain some additional information from another file on a disk. In either case, calls to other system routines are used to actually carry out the display of the results or the accessing of the file from the disk.When the application reaches completion or is prompted to quit, it makes further system calls to make sure that all data that needs to be saved has been written back to disk. It then makes a final system call to the operating system indicating that it is finished. The operating system then frees up the RAM and any device that the application was using and awaits a command from the user to start another program.5 HistoryPeople have been storing sequences of instructions in the form of a program for several centuries. Music boxes of the 18th century and player pianos of the late 19th and early 20th centuries played musical programs stored as series if metal pins, or holes in paper, with each line representing when a note was to be played, and the pin or hole indicating what note was to be played at that time. More elaborate control of physical devices became common in the early 1800s with French inventor Joseph Marie Jacquard’s invention of the punch-cardcontrolled weaving loom. In the process of weaving a particular pattern, various parts of the loom had to be mechanically positioned. To automate this process, Jacquard used a single paper card to represent each positioning of the loom, with hole in the card to indicate which loom actions should be done. An entire tapestry could be encoded onto a deck of such cards, with the same deck yielding the same tapestry design each time it was used. Programs of over 24,000 card were developed and used. The world’s first programmable machine was designed---although never fully built---by the English mathematician and inventor, Charles Babbage. This machine, called the Analytical Engine, used punch cards similar to those used in the Jacquard loom to select the specific arithmetic operation to apply at each step. Inserting a different set of cards changed the computations the machine performed. This machine had counterparts for almost everything found in modern computers, although it was mechanical rather than electrical. Construction of the Analytical Engine was never completed because the technology required to build it did not exist at the time.The first card deck programs for the Analytical Engine were developed by British mathematician Countess Augusta AdaLovelace, daughter of the poet Lord Byron. For this reason she is recognized as the world’s first programmer.The modern concept of an internally stored computer program was first proposed by Hungarian-American mathematician John von Neumann in 1945. Von Neumann’s idea was to use the computer’s memory to store the program as well as the data. In this way, programs can be viewed as data and can be processed like data by other programs. This idea greatly simplifies the role of program storage and execution in computers.6 The FutureThe field of computer science has grown rapidly since the 1950s due to the increase in their use. Computer programs have undergone many changes during this time in response to user need and advances in technology. Newer ideas in computing such as parallel computing, distributed computing, and artificial intelligence, have radically altered the traditional concepts that once determined program form and function.Computer scientists working in the field of parallel computing, in which multiple CPUs cooperate on the same problem at the same time, have introduced a number of new program models. In parallel computing parts of a problem are worked on simultaneously by different processors, and this speeds up thesolution of the problem. Many challenges face scientists and engineers who design programs for parallel processing computers, because of the extreme complexity of the systems and the difficulty involved in making them operate as effectively as possible.Another type of parallel computing called distributed computing uses CPUs from many interconnected computers to solve problems. Often the computers used to process information in a distributed computing application are connected over the Internet. Internet applications are becoming a particularly useful form of distributed computing, especially with programming languages such as Java. In such applications, a user logs onto a web site and downloads a Java program onto their computer. When the Java program is run, it communicates with other programs at its home Web site, and may also communicate with other programs running on different computers or Web sites.Research into artificial intelligence has led to several other new styles of programming. Logic programs, for example, do not consist of individual instructions for the computer to follow blindly, but instead consist of sets of rules: if x happens then do y. A special program called an inference engine uses theserules to “reason”its way to a conclusion when presented with a new problem. Applications of logic programs include automatic monitoring of complex systems, and proving mathematical theorems.A radically different approach to computing in which there is no program in the conventional sense is called a neural network.A neural network is a group of highly interconnected simple processing elements, designed to mimic the brain. Instead of having a program direct the information processing in the way that a traditional computer does, a neural network processes information depending upon the way that its processing elements are connected. Programming a neural network is accomplished by presenting it with known patterns of input and output data and adjusting the relative importance of the interconnections between the processing elements until the desired pattern matching is accomplished. Neural networks are usually simulated on traditional computers, but unlike traditional computer programs, neural networks are able to learn from their experience.。

Computer Programming 计算机系统概论(双语课件)专业英语课件

Computer Programming 计算机系统概论(双语课件)专业英语课件
➢Sequence controls ➢Selection controls ➢Repetition controls
Sequence controls
• A sequence control structure changes the sequence, or order, in which instructions are executed by directing the computer to execute an instruction elsewhere in the program.
Computer Programming
Page No : 666
Problem Statement
• A Good problem statement for a computer program has three characteristics
➢It specifies any assumptions that define the scope of the problem
• Example : if.. Then… else
Repetition control
• A repetition control structure also referred to as
• Control structures are instructions that specifies the sequence in which a program is executed.
Types of control structures
• There are three types of control tures.
Selection control
• A selection control structure also referred as “decision structure” or “branch” tells a computer what to do, based on whether a condition is true or false.

《计算机专业英语》(中英文对照)

《计算机专业英语》(中英文对照)

vacuum tubes 真空管
Census Bureau 人口普查局
thousands of 成千上万的
known as 通常所说的,以……著称
Abbreviations:
ENIAC(Electronic Numerical Integrator and Computer) 电子数字积分计算机,ENIAC计算机 EDSAC (Electronic Delay Storage Automatic Computer) 延迟存储电子自动计算机 BINAC (Binary Automatic Computer) 二进制自动计算机
计算机专业英语
1-2
Chapter 1 The History and Future of Computers
Requirements:
1. The trends of computer hardware and software 2. Basic characteristics of modern computers 3. Major characteristics of the four generations of modern computers
很难确切地说现代计算机是什么时候发明的。从20世纪30年代到40年 代,制造了许多类似计算机的机器。但是这些机器大部分没有今天我们所 说的计算机的所有特征。这些特性是:机器是电子的,具有储存的程序, 而且是通用的。
计算机专业英语
1-5
Chapter 1 The History and Future of Computers
4. 了解科技英语的特点,掌握科技英语翻译要点
计算机专业英语
1-3
Chapter 1 The History and Future of Computers
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

Computer Program1 IntroductionComputer Program, set of instructions that directs a computer to perform someprocessing function or combination of functions.For the instructions to be carried out, a computer must execute a program, that is, the computer reads the program, and then follow the steps encoded in the program in a precise order until completion. A program can be executed many different times, with each execution yielding a potentially different result depending upon the options and data that the user gives the computer.Programs fall into two major classes: application programs and operating systems. An application program is one that carries out somefunction directly for a user, such as word processing or game-playing. An operating system is a program that manages the computer and the various resources and devices connected to it, such as RAM,hard drives, monitors, keyboards, printers, and modems,so that they maybe used by other programs. Examples of operating systems are DOS, Windows 95, OS\2, and UNIX.2 Program DevelopmentSoftware designers create new programs by using special applications programs, often called utility programs or development programs. A programmer uses another type of program called a text editor to write the new program in a special notation called a programming language. With the text editor, the programmer creates a text file, which is an ordered list of instructions, also called the program source file. The individual instructions that make up the program source file are called source code. At this point, a special applications program translates the source code into machine language, or object code— a format that the operating systemwill recognize as a proper program and be able to execute.Three types of applications programs translate from source code to object code: compilers, interpreters, and assemblers. The three operate differently and on different types of programming languages, but they serve the samepurpose of translating from a programming language into machine language.A compiler translates text files written in a high-level programming language--such as FORTRAN, C,or Pascal —from the source code to the object code all at once. This differs from the approach taken by interpreted languages such as BASIC, APL and LISP, in which a program is translated into object code statement by statement as each instruction is executed. The advantage to interpreted languages is that they can beginexecuting the program immediately instead of having to wait forall of the source code to be compiled. Changes can also be madeto the program fairly quickly without having to wait for it tobe compiled again. The disadvantage of interpretedlanguagesis that they are slow to execute, since the entire program mustbe translated one instruction at a time, each time the programis run. On the other hand, compiled languages are compiled onlyonce and thus can be executed by the computer muchmore quicklythan interpreted languages. For this reason, compiled languages are more common and are almost always used in professional and scientificapplications.Another type of translator is the assembler, which is used forprograms or parts of programs written in assembly language.Assembly language is another programming language,but it ismuch more similar to machine language than other types of high-level languages. In assembly language, a single statementcan usually be translated into a single instruction of machinelanguage. Today, assembly language is rarely used towrite anentire program, but is instead most often used when the programmer needs to directly control some aspect of the computer 'sfunction.Programs are often written as a set of smaller pieces, with eachpiece representing some aspect of the overall application program. After each piece has been compiled separately,program called a linker combines all of thetranslated piecesinto a single executableprogram.Programs seldom work correctly the first time, so aprogramcalled a debugger is often used to help findproblems calledbugs. Debugging programs usually detect an event in the executing program and point the programmer back tothe originof the event in the programcode.Recent programming systems, such as Java, use a combination ofapproaches to create and execute programs. A compiler takes aJava source program and translates it into an intermediate form .Such intermediate programs are then transferred over theInternet into computers where an interpreter program thenexecutes the intermediate form as an applicationprogram.3 Program ElementsMost programs are built from just a few kinds of steps that arerepeated many times in different contexts and indifferentcombinations throughout the program. The most common step performs some computation, and then proceeds to thenext stepin the program, in the order specified by theprogrammer.Programs often need to repeat a short series of steps manytimes,through a list of game scores and for instance in lookingfinding the highest score. Such repetitive sequences of code are called loops.One of the capabilities that makes computer so useful istheir ability to make conditional decisions and perform different instructions based on the values of data being processed.If-then-else statements implement this function by testing some piece of data and then selecting one of two sequences of instructions on the basis of the result. Oneof theinstructions in these alternatives may be a goto statement that directs the computer to select its next instruction from a different part of the program. For example, a program might compare two numbers and branch to a different part of the program depending on the result of the comparison:If x is greater than yThenGoto instruction # 10Else continueProgram often use a specific sequence of steps more than once.Such a sequence of steps can be grouped together into a subroutine, which can then be called, or accessed, as needed in different parts of the main program. Each time asubroutineis called, the computer remembers where it was in the program when the call was made, so that it can return there upon completion of the subroutine, allowing a very general piece of code to be written once and used in multiple ways.Most programs use several varieties of subroutines. The most common of these are functions, procedures, library routines, system routines, and device drivers. Functions are short subroutines that compute some value, such as computations ofangles, which the computer cannot compute with a single basic as sorting a set of names. Library routines are subroutines that are written for use by manydifferent programs. System routines are similar to library routines but are actually found in the operating system. They provide someservice for the application programs, such as printing a line of text. Device drivers are system routines that are added to an operating system to allow the computer to communicate with a new device, such as a scanner, modem,or printer. Device drivers often have features that can be executed directly as applications programs. This allows the user to directly control the device, which is useful if, for instance, a color printer needs to be realigned to attain the best printing quality after changing an ink cartridge.instruction. Procedures perform a more complex function, such 4 Program FunctionModern computers usually store programs on some form of magnetic storage media that can be accessed randomly by the computer, such as the hard drive disk permanently located in the computer, or a portable floppy disk. Additional information on such disks, called directories, indicate the names of the various program begins on the disk media. When a user directs the computer to execute a particular application program, the operating system looks through these directories, locates the program, and reads a copy into RAM. The operating system then directs the CPU to start executingthe instructions at the beginning of the program.Instructions at the beginning of the program prepare the computer to process information by locating free memory locations in RAM to hold working data, retrieving copies of the standard options and defaults the user has indicated from a disk, and drawing initial displays on the monitor.The application program requests copy of any information the user enters by making a call to a system routine. The operating system converts any data so entered into a standard internal form. The application then uses this information to decide whatto do next---for example, perform some desired processingfunction such as reformatting a page of text, or obtain some additional information from another file on adisk. In eithercase, calls to other system routines are used to actually carr yout the display of the results or the accessing of the file fromthedisk.Whenthe application reaches completion or is prompted to qui t,it makes further system calls to make sure thatall data thatneeds to be saved has been written back to disk. Itthen makesa final system call to the operating system indicating that itis finished. The operating system then frees up the RAMand anydevice that the application was using and awaits a commandfromthe user to start anotherprogram.5HistoryPeople have been storing sequences of instructions in the formof a program for several centuries. Music boxes of the 18 thcentury and player pianos of the late 19th and early 20thcenturies played musical programs stored as seriesif metalpins, or holes in paper, with each line representing whena notewas to be played, and the pin or hole indicating whatnote wasto be played at that time. More elaborate controlof physicaldevices became common in the early 1800s with French inventorJoseph Marie Jacquard 's invention of the punch-cardcontrolled weaving loom. In the process of weaving a particular pattern, various parts of the loom had to be mechanically positioned. To automate this process, Jacquard used a single paper card to represent each positioning of the loom, with hole in the card to indicate which loom actions should be done. An entire tapestry could be encoded onto a deck of such cards, with the same deck yielding the same tapestry design each time itwas used. Programs of over 24,000 card were developed and used.The world ' s first programmable machine was designed---although never fully built---by the English mathematician and inventor, Charles Babbage. This machine, called the Analytical Engine, used punch cards similar to those used in the Jacquard loom to select the specific arithmetic operation to apply at each step. Inserting a different set of cards changed the computations the machine performed. This machine had counterparts for almost everything found in modern computers, although it was mechanical rather than electrical.Construction of the Analytical Engine was never completed because the technology required to build it did not exist at the time.The first card deck programs for the Analytical Engine were developed by British mathematician Countess Augusta AdaLovelace, daughter of the poet Lord Byron. For this reason sheis recognized as the world ' s firstprogrammer.The modern concept of an internally stored computer program wasfirst proposed by Hungarian-American mathematicianJohn vonNeumannin 1945. Von Neuman'n s idea was to use the computer ' smemory to store the program as well as the data. Inthis way,programs can be viewed as data and can be processedlike databy other programs. This idea greatly simplifiesthe role ofprogram storage and execution incomputers.6 The FutureThe field of computer science has grown rapidly since the 1950sdue to the increase in their use. Computer programs have undergone manychanges during this time in response to user needand advances in technology. Newer ideas in computingsuch asparallel computing, distributed computing, and artificial intelligence, have radically altered thetraditionalconcepts that once determined program form andfunction.Computer scientists working in the field of parallel computing ,in which multiple CPUscooperate on the sameproblem at the sametime, have introduced a number of new program models. In parallel computing parts of a problem are worked onsimultaneously by different processors, and this speeds upthesolution of the problem. Many challenges facescientists andengineers who design programs for parallel processingcomputers, because of the extreme complexity of the systems andthe difficulty involved in making them operate as effectivelyaspossible.Another type of parallel computing called distributed computing uses CPUsfrom manyinterconnected computers to solve problems. Often the computers used to processinformation ina distributed computing application are connectedover theInternet. Internet applications are becoming aparticularlyuseful form of distributed computing, especially with programming languages such as Java. In suchapplications, auser logs onto a website and downloads a Java program onto thei rcomputer. When the Java program is run, itcommunicates withother programs at its home Web site, and may also communicatewith other programs running on different computers or Web sites.Research into artificial intelligence has led to several othernew styles of programming. Logic programs, for example, do notconsist of individual instructions for thecomputer to followblindly, but instead consist of sets of rules: if x happens thendo y. A special program called an inference engineuses theserules to “reason ” its way to a conclusion whenpresented with a newproblem. Applications of logic programs include automatic monitoring of complex systems, and proving mathematical theorems.A radically different approach to computing in which there is no program in the conventional sense is called a neural network.A neural network is a group of highly interconnected simple processing elements, designed to mimic the brain. Instead of having a program direct the information processing in the way that a traditional computer does, a neural network processes information depending upon the waythat its processing elements are connected. Programming a neural network is accomplished by presenting it with known patterns of input and output data and adjusting the relative importance of the interconnections between the processing elements until the desired pattern matching is accomplished. Neural networks are usually simulated on traditional computers, but unlike traditional computer programs, neural networks are able to learn from their experience.。

相关文档
最新文档