Danh mục

Giáo trình Tiếng Anh chuyên ngành tin học - English for computing: Phần 2

Số trang: 141      Loại file: pdf      Dung lượng: 2.74 MB      Lượt xem: 21      Lượt tải: 0    
tailieu_vip

Phí tải xuống: 1,000 VND Tải xuống file đầy đủ (141 trang) 0
Xem trước 10 trang đầu tiên của tài liệu này:

Thông tin tài liệu:

The primary goal of the course is to provide grammatical knowledge, some technical terms, words belonging to the computing area, that is, to better the students' ability to use the language according to the professional situations and apply to practical job.
Nội dung trích xuất từ tài liệu:
Giáo trình Tiếng Anh chuyên ngành tin học - English for computing: Phần 2 Unit 12 PROGRAMMING Objectives - Understand the words and expressions related to programming and programming languages - Understand basic concept in programming and the usage of programming languages - Use grammartical structures to write the steps of programming. Contents R eading: Programming languages Listening: Listen to a person explaining how a program is produced and number the steps Speaking : Give your own idea on the statements about learning a programming language. W riting : W rite a description of the flowchart. Solve the anagrams Language study: Infinitive construction WARM UP ACTIVITY Work in pair. The states in programming (1-7 ) are listed below. Fill in the gaps with the missing states (a- d ) . 1. Analyzing and defining the problem to be solved 2...................................... a. Training the users 3. Coding b. Testing 4 ...................................... c. Designing the problem 149 5................................... d. Documenting 6....................... 7. Obtaining feedback from users READING P rogram m ing languages Unfortunately, computers cannot understand ordinary spoken English any other natural language they can understand directly is called machine code. This consists of the Is and Os (binary codes 0 that are processed by the CPU. However, machine code as a means of communication is very difficult to write. For this reason, we use symbolic languages that are easier to understand. Then, by using a special program, these languages can be translated into machine code. For example, the so- called assembly languages use abbreviations such as ADD, SUB, MPY to represent instructions. These mnemonic codes are like labels easily associated with the items to which they refer. Basic languages, where the program is similar to the machine code version, are low- level languages. In these languages, each instruction is equivalent to a single machine code instruction, and the program is converted into machine code by a special program called an assembler. These languages are still quite complex and restricted to particular machines. To make the programs easier to write and to overcome the problem of intercommunication between different types of machines, higher- level languages were designed such as BASIC, COBOL, FORTRAN or Pascal. These are all problem- oriented rather than machine- oriented. Programs written in one of these languages (known as source programs) are converted into a lower- level language by means of a compiler (generating the object program) . On compilation, each statement in a high- level language is gener illy translated into many machine code instructions. People communicate instructions to the computer in symbolic languages and the easier this communication can be made the wider the application of computers will be. Scientists are already working on Artificial Intelligence and the next generation of computers may be able to understand human languages. 150 Instruction are written in a high- level language (e.g. BASIC, COBOL, Ada, C, Lisp P ascal). This is known as the source program _________________________ i ___________________________ Compiler Com piler translates the original c o d e into a lower- level language or m achine c o d e so th a t the CPU can understand it. Instruction are complied and packaged irto a program. The software is ready to run on the coviputer Task 1 Read the text and fin d answers to these questions. 1. Do computers understand human languages? 2. What are the differences between low- level and high- level language? 3. What is an assembler? 4. What is the function of compiler? 5. What do you understand by the terms source program and object program? 6. In the future, could computers be programmed in Spanish, French, or ipanese? LISTENING Task 2 Listen to Lucy Boyd, a software developer, explaining how a program is oduced. N u m ber these steps in the order you hear them. □ Provide documentation of the program □ Understand the problem and plan the solution □ Test and correct the program □ Make the flowchart of the program □ Write the instructions in codes form and complile the program 151 Task 3 Listen again and take notes. Use your notes to explain what each step means. SPEAKING Task 4 Read the statements below. W hich do you agree with more? Why? ‘Learning a programming language is like learning any natural language. The only difference is that you are communicating with a machine instead of another person.’ ‘I get annoyed when I hear people comparing programming languages with natural languages. They have almost nothing in comm on.’ WRITING A 'Start' symbol indicates where the program begins. When the program has started, the initial cost of the item is input. A decision is then taken on which rate of tax to use. This depends on the initial cost. If the cost is greater than 100, the program follows the 'Yes' route and sets the tax rate at 15%. Otherwise the program follows the 'No' route and sets the tax rate at ...

Tài liệu được xem nhiều: