【程序说明】 计算1~30之间能够被3整除的奇数的阶乘和。
【程序】
** 主程序
SET TALK OFF
S=0
FOR I=1 TO 30 STEP 2
IF (4)
(5)
S=S+N
ENDIF
ENDFOR
?“1到30之间能被3整除的奇数阶乘和为:”+ (6)
SET TALK ON
RETURN
** 过程 P1.PRG
PARAMETERS M
(7)
N=1
FOR J=1 TO M
N=N*J
ENDFOR
(8)
(4)
A. MOD(I,3)>=0
B. MOD(I,3)>0
C. MOD(I,3)<>0
D. MOD(I,3)=0
查看答案
A.RETURNB.ENDC.END PARAMETERSD.END RETURN
A. RETURN
B. END
C. END PARAMETERS
D. END RETURN
At one time or another we have all stopped to think about the weather. Some days the weather is good. Some days the weather is bad. Still, there are days when the weather seems to change from hour to hour. A day that starts out fine might not stay that way. Sometimes a day that seems bad turns out better than you thought it would. There are ways of understanding the weather. One way is to study the clouds.
No two clouds are ever alike. But it is still possible to group clouds and to give them names. We can recognize the different kinds of clouds and watch them for signs of changing weather.
As a rule, the higher the clouds, the better the weather. And the lower the clouds, the worse the weather is likely to be. To predict the weather, there are three things about clouds you should look for: movement, color, and change.
Clouds can tell you if storm is on the way. For example, small feathery cirrus clouds (卷云) can become thick and move lower. This means rain is on the way. If there is a sudden, cool breeze (微风) thunder (雷声) clouds appears, then a storm is about to break out.
According to the first paragraph, we can say that ______.
A. the weather always remains the same in a day
B. a fine day can't last for long
C. we rarely think about the weather
D. the weather changes a lot
The elephant is the only animal in the world with a trunk (the very long nose of an elephant), It uses its trunk【21】many ways. It【22】leaves off trees with its trunk and then puts them into its【23】. It can even uses its trunk to pull up trees when it wants to make a path through a jungle (热带丛林). It also uses its trunk to get【24】. The trunk can hold a lot of it,【25】an elephant needs to drink more than three hundred pints(品脱) of water every day. It has been easy for men to train elephants. All the elephants are considered useful in India【26】for white elephants. They are used to carry things for long distance in Indian forests. Many people say that some ancient Indian kings used to give white elephants to people they did not like. These white elephants were regarded as【27】animals. They could not be gave【28】to work. A person who owned a white elephant had to【29】a lot of money to keep it properly. After a certain time, he usually became very【30】. Nowadays people in England call a useless thing "a white elephant".
(56)
A. in
B. with
C. by
D. of
Everyone knows the small insects called mosquito. It is possible to find mosquitoes in almost every part of the world except in the places where it is extremely cold or where it is very dry. During the summer, it is almost certain that you can find many mosquitoes near swamps (沼泽), ponds, and lakes.
Mosquitoes have an interesting life cycle. The female mosquito bites a person or animal in order to get some blood. She needs this blood before she can lay her eggs. Second, she flies to an area of water and deposits (存放),40 her eggs in the water. In a few days the eggs open, and the baby mosquitoes, called larvae, come out. In a short time, they will be mature and fly away.
It is interesting to note that only the female will bite for blood. She has a special mouth which can go into an animal's skin or a person's skin. On the other hand, the male mosquito can only drink plant juices with his mouth.
The author suggests that all mosquitoes like ______.
A. blood
B. wet areas
C. cold weather
D. dry climates