Software( )activities consume a large portion of the total life-cycle budget.
A.repair
B.maintenance
C.change
D.update
第1题:
[A] consist [B] compose [C] compile [D] consume
本题考查动词词义辨析。空格处填入一动词,其逻辑主语是who代替的先行词free peasants,宾语是the majority of the population。从含义上首先排除[C]和[D]。compile意为“编写(书、列表、报告等)”;consume意为“消耗,消费”。[A]和[B]都有“组成”的含义,但consist是不及物动词,要与介词搭配,consist of意为“由……组成”,如The committee consists of ten members.(委员会由十人组成。)compose是及物动词,意为“组成,构成(一个整体)”,如Ten men compose the committee. 因此本题应选[B]compose。
第2题:
第3题:
34、若要实现total=1+2+3+4+5求和,以下程序段错误的是()
A.int i=1,total=1; while(i<5) { total+=i; i+=1; }
B.int i=1,total=0; while(i<=5) { total+=i; i+=1; }
C.int i=0,total=0; while(i<5) { i+=1; total+=i; }
D.int i=0,total=0; while(i<=5) { total+=i; i+=1; }
第4题:
The government has taken measures to reduce the total energy _consumption__(consume).
第5题:
若要实现total=1+2+3+4+5求和,以下程序段错误的是()
A.int i=1,total=1; while(i<5) { total+=i; i+=1; }
B.int i=1,total=0; while(i<=5) { total+=i; i+=1; }
C.int i=0,total=0; while(i<5) { i+=1; total+=i; }
D.int i=0,total=0; while(i<=5) { total+=i; i+=1; }
第6题:
下列正确的求和语句是()
A.total=1
B.total+1
C.total*1
D.total by 1