0  419011  419019  419025  419029  419035  419037  419041  419047  419049  419055  419061  419065  419067  419071  419077  419079  419085  419089  419091  419095  419097  419101  419103  419105  419106  419107  419109  419110  419111  419113  419115  419119  419121  419125  419127  419131  419137  419139  419145  419149  419151  419155  419161  419167  419169  419175  419179  419181  419187  419191  419197  419205  447090 

1. --- Do you understand?  --- Yeah, we’ve ________ it

  A. got   B. gained   C. grasped   D. guessed

试题详情

3.单项选择

试题详情

2.词形变化

1)     No pains, no ____________ (gain).

2)     _____________ (general) speaking, the more expensive the MP3 player is, the better it is.

3)     He is a ____________(gift) musician.

4)     The chemicals are ___________________ (harm) to the environment.

5)     The guilty man was ____________ (hang) for murder

6)     As the weeks passed, I ____________ (gradual) accepted the idea of him leaving.

7)     Money is not the key to ______________ (happy).

8)     Vitamins are important for healthy ___________ (grow).

9)     I was looking forward to working under her expert ____________ (guide).

10)   Ducks, _____________ (goose), chickens and also pigeons were kept on the farm.

试题详情

1.单词拼写

1)     We parked our car in an underground g__________ near the hotel.

2)     I feel really g______________ at forgetting her birthday again.

3)     After g_______ from high school, Jayne went to engineering college.

4)     The fight started when one of the fans made rude g_______________ at a player.

5)     My friend offered to pay my plane fare, which was very g___________ of him.

6)     The f__________ (葬礼) will be held at St. Martin’s Church.

7)     I helped him choose the f___________ (家具) for his house.

8)     The boy likes eating h____________ (汉堡包) in KFC.

9)     The g_______________ (政府) has promised to cut taxes.

10)   Of all the courses, we like g_______________ (地理) lessons best.

试题详情

程序每执行一次循环体,循环条件中涉及到的变量就会发生改变,正在步步逼近满足跳出循环体的条件。

试题详情

程序中最忌“死循环”。所谓的“死循环”就是指该循环条件永远成立,没有跳出循环体的机会。

试题详情

请看我们用WHILE循环实现1到100累加为例,做一下说明:

“1+2+……+100”

部分程序如下:

sum = 0

i =1

WHILE  i <= 100

sum = sum+ i

i=i+1

WEND

这段程序中,循环的条件是“i <= 100”;因此,一开始i肯定需要一个确定的值。前面的

 “i = 0”这一个语句,在声明变量i的同时,也为i赋了初始值“1”。这样,条件 i <= 100 得以成立(因为i为1,所以 条件“i <= 100” 当然成立)。

试题详情

3.学习了循环语句的两种格式,我们来挖掘一下应用循环语句编写程序的“条件三要素”。

试题详情

2.条件语句的主要功能是来实现算法中的条件结构。

因为人们对计算机运算的要求不仅仅是一些简单的代数运算,而是经常需要计算机按照条件进行分析、比较、判断,并且按照判断后的不同情况进行不同的操作和处理。如果是要解决像“判断一个数的正负”、“比较数之间的大小”,“对一组数进行排序”、“求分段函数的函数值”等很多问题,计算机就需要用到条件语句。

试题详情

在设计算法的过程中,解决问题的基本思想常常很简单、很清楚,但表述参与运算的数值的频频变换却很麻烦。为了解决这个问题,需要在程序中引入变量。前面通过对函数概念的学习,我们就已经了解变量的含义:在研究问题的过程中可以取代不同数值的量称为变量。

程序中一些重要的函数也很有用处,如取平方根函数SQR(x)=|x|,取绝对值函数ABS(x)=

变量与函数是中学数学里面最重要的和最基本的概念,在算法的设计里面仍然发挥着重要的和最基本的作用,它们会使得算法的表达变得非常整洁、清楚。

1.赋值语句在程序运行时给变量赋值;“=”的右侧必须是表达式,左侧必须是变量;一个语句只能给一个变量赋值;有计算功能;将一个变量的值赋给另一个变量时,前一个变量的值保持不变;可先后给一个变量赋多个不同的值,但变量的取值只与最后一次赋值有关。

试题详情


同步练习册答案