2. I missed a _____________ opportunity to become a millionaire.
A. gold B. golden C. handsome D. generous
1. --- Do you understand? --- Yeah, we’ve ________ it
A. got B. gained C. grasped D. guessed
3.單項(xiàng)選擇
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.
程序每執(zhí)行一次循環(huán)體,循環(huán)條件中涉及到的變量就會(huì)發(fā)生改變,正在步步逼近滿足跳出循環(huán)體的條件。
程序中最忌“死循環(huán)”。所謂的“死循環(huán)”就是指該循環(huán)條件永遠(yuǎn)成立,沒有跳出循環(huán)體的機(jī)會(huì)。
請(qǐng)看我們用WHILE循環(huán)實(shí)現(xiàn)1到100累加為例,做一下說明:
“1+2+……+100”
部分程序如下:
sum = 0
i =1
WHILE i <= 100
sum = sum+ i
i=i+1
WEND
這段程序中,循環(huán)的條件是“i <= 100”;因此,一開始i肯定需要一個(gè)確定的值。前面的
“i = 0”這一個(gè)語句,在聲明變量i的同時(shí),也為i賦了初始值“1”。這樣,條件 i <= 100 得以成立(因?yàn)閕為1,所以 條件“i <= 100” 當(dāng)然成立)。
3.學(xué)習(xí)了循環(huán)語句的兩種格式,我們來挖掘一下應(yīng)用循環(huán)語句編寫程序的“條件三要素”。
2.條件語句的主要功能是來實(shí)現(xiàn)算法中的條件結(jié)構(gòu)。
因?yàn)槿藗儗?duì)計(jì)算機(jī)運(yùn)算的要求不僅僅是一些簡(jiǎn)單的代數(shù)運(yùn)算,而是經(jīng)常需要計(jì)算機(jī)按照條件進(jìn)行分析、比較、判斷,并且按照判斷后的不同情況進(jìn)行不同的操作和處理。如果是要解決像“判斷一個(gè)數(shù)的正負(fù)”、“比較數(shù)之間的大小”,“對(duì)一組數(shù)進(jìn)行排序”、“求分段函數(shù)的函數(shù)值”等很多問題,計(jì)算機(jī)就需要用到條件語句。
百度致信 - 練習(xí)冊(cè)列表 - 試題列表
湖北省互聯(lián)網(wǎng)違法和不良信息舉報(bào)平臺(tái) | 網(wǎng)上有害信息舉報(bào)專區(qū) | 電信詐騙舉報(bào)專區(qū) | 涉歷史虛無主義有害信息舉報(bào)專區(qū) | 涉企侵權(quán)舉報(bào)專區(qū)
違法和不良信息舉報(bào)電話:027-86699610 舉報(bào)郵箱:58377363@163.com