Unit 10 Program design Text 1 Computer Languages Exercises 1. Choose the best answer to complete the following sentences (1) The(A)is a language that was represented by long strings of ones and zeroes B. high-level language C. low-level language D. assembly language (2) The( d )maps machine instructions to human-readable mnemonics A. machine language B. high-level language C. low-level language D. assembly language (3) The(A)turns the object file into an executable program A. linker B. compiler C. interpreter D. computer (4)The(C )is a software that translates instructions directly into actions A. inker B. compiler C. interpreter D. assembly language 2. Fill in the blanks (1)Computer language include machine language, assembly language and higher-level (2)Higher-level languages let people work with something approximating words and (3) Programs use"user-friendly interfaces, "involving multiple windows, menus, dialog 3. Translate and analyze the following sentences (1)Compilers, however, introduce the extra steps of compiling and linking the code which is inconvenient 句子组成: which引导的是定语从句,修饰seps 翻译:但是编译程序却増加了一些额外的步骙来编译和链接代码,相比之下则不方便。 (2) These languages let people work with something approximating words and sentences, such as Let i= 100 句子组成: let sb do sth让某人做某事 翻译:这些语言使用的是近似于人们常用的词语或语句,如Let=100 3)Today's programs use sophisticated "user-friendly interfaces, involving multiple windows. menus dialog bo 句子组成: involving引导的做定语,修饰user- friendly interfaces 翻译:今天,程序使用了复杂的“用户友好界面”,包含多重窗口、菜单、对话框
Unit 10 Program Design Text 1 Computer Languages Exercises 1. Choose the best answer to complete the following sentences. (1) The ( A ) is a language that was represented by long strings of ones and zeroes. A. machine language B. high-level language C. low-level language D. assembly language (2) The ( D ) maps machine instructions to human-readable mnemonics. A. machine language B. high-level language C. low-level language D. assembly language (3) The ( A ) turns the object file into an executable program. A. linker B. compiler C. interpreter D. computer (4) The ( C ) is a software that translates instructions directly into actions. A. inker B. compiler C. interpreter D. assembly language 2. Fill in the blanks. (1) Computer language include machine language, assembly language and higher-level languages (2) Higher-level languages let people work with something approximating words and sentences. (3) Programs use "user-friendly interfaces," involving multiple windows, menus, dialog boxes. 3. Translate and analyze the following sentences. (1) Compilers, however, introduce the extra steps of compiling and linking the code, which is inconvenient. 句子组成:which 引导的是定语从句,修饰 steps 翻译:但是编译程序却增加了一些额外的步骤来编译和链接代码,相比之下则不方便。 (2) These languages let people work with something approximating words and sentences, such as Let I = 100. 句子组成:let sb. do sth. 让某人做某事 翻译:这些语言使用的是近似于人们常用的词语或语句,如 Let I=100。 (3) Today's programs use sophisticated "user-friendly interfaces," involving multiple windows, menus, dialog boxes. 句子组成:involving 引导的做定语,修饰 user-friendly interfaces 翻译:今天,程序使用了复杂的“用户友好界面”,包含多重窗口、菜单、对话框
Unit 10 Program design Text 2 Computer programm Exercises 1. Fill in the blanks (1)Computer programming is activity the of developing programs (2) High-level languages strike a compromise between the precise meanings required by (3) Coding is the stage in which the design is turned into steps which are expressed in a programming languages (4) Computer programming is a costly and time-consuming activity. 2. Decide whether the following statements are True or False (1)BASIC is one of thethe common high-level languages () (2) The testing stage is to verify a program as being correct with the requirements and (3) The design specifications is the most expensive stage of programming (4) The maintenance stage is as expensive as testing 3. Translate and analyze the following sentences (1)Common high-level languages that are used to design applications programs include BASIC C. COBOL and PASCAL 句子组成:tht引导的定语从句,修饰 languages 翻译:二般用来设计应用程序的高级语言有: BASIC、C、 COBOL和 PASCAL (2) A major activity in programming is the expressing of the steps of a program in one or more language (3)句子组成: expressing做宾语 steps of a program in one or more languages 翻译:编程的主要工作就是用一种或多种语言表示程序的详细过程。 (4)As an example, for a payroll program, requirements specify how many paychecks must be processed, and what calculations need to be performed 句子组成: how many what引导的做宾语 翻译:以工资管理程序程序为例,需求指定有多少工资必须处理,需要完成什么样的计 算。 5)These include inventing higher-level languages or more powerful languages, inventing utility programs that assist programmers, and inventing new methods of programming 句子组成: Inventing引导的作宾语,三个 inventing是并列结构 翻译:其中包括发明更高级的或更强大的语言,发明实用程序以辅助程序员和发明新的编 程方法
Unit 10 Program Design 2 Text 2 Computer programming Exercises 1. Fill in the blanks. (1) Computer programming is activity the of developing programs. (2) High-level languages strike a compromise between the precise meanings required by the machine and spoken language. (3) Coding is the stage in which the design is turned into steps which are expressed in a programming languages. (4) Computer programming is a costly and time-consuming activity. 2. Decide whether the following statements are True or False. (1) BASIC is one of the the common high-level languages. ( ) (2) The testing stage is to verify a program as being correct with the requirements and design specifications. ( ) (3) The design specifications is the most expensive stage of programming. ( ) (4) The maintenance stage is as expensive as testing. ( ) 3. Translate and analyze the following sentences. (1) Common high-level languages that are used to design applications programs include BASIC, C, COBOL and PASCAL. 句子组成:that 引导的定语从句,修饰 languages 翻译:一般用来设计应用程序的高级语言有:BASIC、C、COBOL 和 PASCAL。 (2) A major activity in programming is the expressing of the steps of a program in one or more languages. (3) 句子组成:expressing 做宾语 steps of a program in one or more languages 修饰 expressing 翻译:编程的主要工作就是用一种或多种语言表示程序的详细过程。 (4) As an example, for a payroll program, requirements specify how many paychecks must be processed, and what calculations need to be performed. 句子组成:how many ,what 引导的做宾语 翻译:以工资管理程序程序为例,需求指定有多少工资必须处理,需要完成什么样的计 算。 (5) These include inventing higher-level languages or more powerful languages, inventing utility programs that assist programmers, and inventing new methods of programming. 句子组成:inventing 引导的作宾语,三个 inventing 是并列结构 翻译:其中包括发明更高级的或更强大的语言,发明实用程序以辅助程序员和发明新的编 程方法
Visual basic Text 3 Visual basic Exercises 1. Choose the best answer to complete the following sentences (1)The"Visual"part in Virtual Basic means the way used to create C Basic"part in Virtual Basic means the F programming language (3)Using Visual Basic, you can simply add H into place on screen (4) The E of Virtual Basic are related directly to the Windows GUI (5)With A technologies you can us Excel (6) The Visual Basic learning edition allows you to easily create applications for Mic Windows and G (7)d includes all the features of the Learning edition, plus other functions (8)B includes all the features of the Professional edition, plus other functions A. ActiveⅩ B. The Enterprise edition C GUI D. The professional edition E statements, functions, and keywords F BASIC G. Windows nt built objects 2. Fill in the blanks (1) The basic language is used by more programmers than any other language (2)Virtual Basic has a data access ability to create database (3)Visual Basic has three ver (4) The Enterprise edition allows professionals to create robust distributed applications In a team setting 3. Translate and analyze the following sentences (1) The"Basic"part refers to the BASIC language, a language used by more programmers than any other language (2)句子组成:used引导的作定语,修饰 language 翻译: Basic是指 BASIC语言,这种语言的使用比其他任何语言都多 (3) Now it contains several hundred statements, functions, and keywords, many of which relate directly to the Windows GUI 句子组成: which引导的做定语从句 翻译:现在已经有好几百条 数、关键词,其中好名 用户界面(GU)有关 (4)Whether your goal is to create a small utility for yourself or your work group or a large enterprise-wide system, Visual Basic has the tools you need 句子组成: whether…or 还是。,这里作条件状语 翻译:无论你是要创建个人还是工作组的小型实用程序或者个业级大型系统,sual
Visual Basic 3 Text 3 Visual Basic Exercises 1. Choose the best answer to complete the following sentences. (1) The "Visual" part in Virtual Basic means the way used to create C . (2) The "Basic" part in Virtual Basic means the F programming language. (3) Using Visual Basic, you can simply add H into place on screen. (4) The E of Virtual Basic are related directly to the Windows GUI. (5) With A technologies you can use some applications, such as Microsoft Word and Excel. (6) The Visual Basic Iearning edition allows you to easily create applications for Microsoft Windows and G (7) D includes all the features of the Learning edition, plus other functions. (8) B includes all the features of the Professional edition, plus other functions. A. ActiveX B. The Enterprise edition C. GUI D. The Professional edition E. statements, functions, and keywords F. BASIC G. Windows NT H. pre-built objects 2. Fill in the blanks. (1) The BASIC language is used by more programmers than any other language. (2) Virtual Basic has a data access ability to create database. (3) Visual Basic has three versions. (4) The Enterprise edition allows professionals to create robust distributed applications in a team setting. 3. Translate and analyze the following sentences. (1) The "Basic" part refers to the BASIC language, a language used by more programmers than any other language. (2) 句子组成:used 引导的作定语,修饰 language 翻译:Basic 是指 BASIC 语言,这种语言的使用比其他任何语言都多。 (3) Now it contains several hundred statements, functions, and keywords, many of which relate directly to the Windows GUI. 句子组成:which 引导的做定语从句 翻译:现在已经有好几百条语句、函数、关键词,其中好多都是直接与 Windows 的图形 用户界面(GUI)有关。 (4) Whether your goal is to create a small utility for yourself or your work group or a large enterprise-wide system, Visual Basic has the tools you need. 句子组成:whether … or …不论 … 还是 …,这里作条件状语 翻译:无论你是要创建个人还是工作组的小型实用程序或者企业级大型系统,Visual
Basic都有能淸足你要求的工具。 Text 4 Debugging Exercises 1. Decide whether the following statements are True or False (1) All of us expect the programs robust, bug-free (True) (2) The revolution of the software industry is producing good, solid, bulletproof programs at low cost and on time (True) (3) The earlier in the development process you find a problem, the more it costs to fix It (4) The most common bugs are poor logic and syntactic error CTrue (5)With high-powered debuggers you should put your source code into the debugger (True (6) Using debugger you can see each instruction as it executes (True) (7) Using debugger you cannot examine your variables (True (8) Runtime bugs are easy to find False (9) A powerful debugger can find nearly all of bugs (True 2. Fill in the blanks (1) The biggest expense in programming efforts is testing and fixing (2) Syntactic error means that you used the wrong idiom, function, or structure (3) a bigger problem than logic or syntactic bugs is unnecessary fragility (4)Runtime bugs are the most difficult to find and squash 3. Translate and analyze the following sentences (1) The person who solves the problem of producing good, solid, bulletproof programs at low cost and on time will revolutionize the software industry 句子组成:who引导的做定语从句,修饰 person 翻译:谁能解决以低成本并及时交付性能良好、稳定、强大的程序这一问题,那么他就会 给软件业带来革新 (2)A bigger problem than logic or syntactic bugs is unnecessary fragility: Your program works just fine if the user enters a number when you ask for one, but it crashes if the user enters letters 句子组成:分号后的是一个并列句,but表转折 翻译:比逻辑或语法错误更大的间颙是不必要的脆弱性:当用户按要求输入一个教 序运行得很好;如果用户输入一些字母,程序就会崩溃。 (3) A bulletproof m is one that can handle anything that comes up at runtime, from bizarre user input to running out of memory 句子组成:tht引导的做定语从包 翻译:二个无坚不摧的程序能处理运行时出现的各种情况—一从稀奇古怿的用户输入,到
Unit 10 Program Design 4 Basic 都有能满足你要求的工具。 Text 4 Debugging Exercises 1. Decide whether the following statements are True or False. (1) All of us expect the programs robust, bug-free. (True) (2) The revolution of the software industry is producing good, solid, bulletproof programs at low cost and on time. (True) (3) The earlier in the development process you find a problem, the more it costs to fix it. (False) (4) The most common bugs are poor logic and syntactic error. (True ) (5) With high-powered debuggers you should put your source code into the debugger. (True ) (6) Using debugger you can see each instruction as it executes. (True) (7) Using debugger you cannot examine your variables. (True) (8) Runtime bugs are easy to find. ( False ) (9) A powerful debugger can find nearly all of bugs. (True ) 2. Fill in the blanks. (1) The biggest expense in programming efforts is testing and fixing. (2) Syntactic error means that you used the wrong idiom, function, or structure. (3) A bigger problem than logic or syntactic bugs is unnecessary fragility. (4) Runtime bugs are the most difficult to find and squash . 3. Translate and analyze the following sentences. (1) The person who solves the problem of producing good, solid, bulletproof programs at low cost and on time will revolutionize the software industry. 句子组成:who 引导的做定语从句,修饰 person 翻译:谁能解决以低成本并及时交付性能良好、稳定、强大的程序这一问题,那么他就会 给软件业带来革新。 (2) A bigger problem than logic or syntactic bugs is unnecessary fragility: Your program works just fine if the user enters a number when you ask for one, but it crashes if the user enters letters. 句子组成:分号后的是一个并列句,but 表转折 翻译:比逻辑或语法错误更大的问题是不必要的脆弱性:当用户按要求输入一个数时,程 序运行得很好;如果用户输入一些字母,程序就会崩溃。 (3) A bulletproof program is one that can handle anything that comes up at runtime, from bizarre user input to running out of memory. 句子组成:that 引导的做定语从句 翻译:一个无坚不摧的程序能处理运行时出现的各种情况──从稀奇古怪的用户输入,到
Debugging 内存耗尽。 (4) Runtime bugs are the hardest to find and squash, and a powerful debugger can make it possible to find nearly all of ther 句子组成:并列句 翻译:运行时的错误最难找到和排除,功能强的调试程序可以帮你找岀几乎所有的错误 提高训练—语法知识 并列句 练习 Choose the best answers for the following sentences (1)We must get up early tomorrow, (B)we'll miss the first bus A D. however (2)I don't like chicken, (C)I like fish very much c. but D. still (3)Would you like a cup of coffee(C ) shall we get down to business right away? A. and D. otherwise (4) She thought I was talking about her daughter,(C)in fact, I was talking about my daughter A. and C. while D. then 提高训练—写作知识 引言与焦点 范文 The paper's topic is described computer programs A computer program is a set of instructions that tells the computer how to perform a specific task For example, your favorite computer game is a program. In order for your computer to know how play that game, you (or your parents)must first install the program from the game software-usually a CD. Installing the program means that you are copying the program or instructions that are stored on the CD on to your computer's hard drive. Programs can also be downloaded from the Internet directly Many programs(especially games) are very large and would take up lots of your hard drive. To keep that from happening, these programs are designed to only copy part program onto your computer. The rest of the program stays on the software. The program cannot be run from your computer unless you have the disk in the disk drive so that RAM can read the rest of the program from it
Debugging 5 内存耗尽。 (4) Runtime bugs are the hardest to find and squash, and a powerful debugger can make it possible to find nearly all of them. 句子组成:并列句 翻译:运行时的错误最难找到和排除,功能强的调试程序可以帮你找出几乎所有的错误。 提高训练——语法知识 并列句 练习 Choose the best answers for the following sentences. (1) We must get up early tomorrow, (B) we'll miss the first bus. A. so B. or C. but D. however (2) I don't like chicken, (C) I like fish very much. A. and B. or C. but D. still (3) Would you like a cup of coffee (C ) shall we get down to business right away? A. and B. then C. or D. otherwise (4) She thought I was talking about her daughter, (C ) in fact, I was talking about my daughter. A. and B. which C. while D. then 提高训练——写作知识 引言与焦点 范文 The paper’s topic is described computer programs. A computer program is a set of instructions that tells the computer how to perform a specific task. For example, your favorite computer game is a program. In order for your computer to know how to play that game, you (or your parents) must first install the program from the game software - usually a CD. Installing the program means that you are copying the program or instructions that are stored on the CD on to your computer's hard drive. Programs can also be downloaded from the Internet directly to your hard drive. Many programs (especially games) are very large and would take up lots of memory space on your hard drive. To keep that from happening, these programs are designed to only copy part of the program onto your computer. The rest of the program stays on the software. The program cannot be run from your computer unless you have the disk in the disk drive so that RAM can read the rest of the program from it
Unit 10 Pr gram Design 练习 1. Translate the following sentences (1)这篇文章主要是讲述了计算机编程的新方法 (2)在文章里,我将向大家介绍面向对象程序设计 (3)本文的主题是分析未来程序设计语言发展的趋势。 2. Writing 写一篇短文介绍计算机语言的发展历史和特点,要求简单介绍机器语言、汇编语言、高级 语言的简单发展历程和各自的特点(150个单词以上)
Unit 10 Program Design 6 练习 1. Translate the following sentences. (1) 这篇文章主要是讲述了计算机编程的新方法。 (2) 在文章里,我将向大家介绍面向对象程序设计。 (3) 本文的主题是分析未来程序设计语言发展的趋势。 2. Writing. 写一篇短文介绍计算机语言的发展历史和特点,要求简单介绍机器语言、汇编语言、高级 语言的简单发展历程和各自的特点(150 个单词以上)