问题 单项选择题


阅读下列程序说明和程序,在每小题提供的若干可选答案中,挑选一个正确答案。

【程序说明】 统计2~M中有多少个素数(只能被1或自身整除的整数称为素数)。
【程序】
SET TALK OFF
CLEAR
INPUT “M=” TO M
S=0
(10)
IF SS(I)
S=S+1
STR (1,5)
ENDIF
ENDFOR
STR(5,5)
SET TALK ON
FUNC SS
(11)
FOR J=2 TO X-1
(12)
EXIT
ENDIF
ENDFOR
IF J=X
RETU .T.
ELSE
(13)
ENDIF
ENDFUNC

A.PUBLIC X

B.PARAMETERS X

C.PRIVATE X

D.INT X

答案

参考答案:B

解析: 自定义函数变量传递格式:PARAMETERS<变量列表>。本程序是把主程序中的变量I传递给了函数SS中的变量X。

单项选择题
阅读理解

Few laws are so effective that you can see results just days after they take effect. But in the nine days since the federal cigarette tax more than doubled—to $1. 01 per pack—smokers have jammed telephone “quit lines” across the country seeking to kick the habit.   

This is not a surprise to public health advocates. They’ve studied the effect of state tax increases for years, finding that smokers, especially teens, are price sensitive. Nor is it a shock to the industry, which fiercely fights every tax increase.  

The only wonder is that so many states insist on closing their ears to the message. Tobacco taxes improve public health, health, they raise money and most particularly, they deter people from taking up the habit as teens, which is when nearly all smokers are addicted. Yet the rate of taxation varies widely.   

In Manhattan, for instance, which has the highest tax in the nation, a pack of Marlboro Light Kings cost $10.06 at one drugstore Wednesday. Charleston, S, C., where the 7-cent-a-pack tax is the lowest in the nation. The price was $4. 78.  

The influence is obvious.   

In New York, high school smoking hit a new low in the latest surveys—13.8%, far below the national average. By comparison, 26% of high school students smoke in Kentucky, Other low-tax states have similarly depressing teen-smoking records.   

Hal Rogers, Representative from Kentucky, like those who are against high tobacco taxes, argues that the burden of the tax falls on low-income Americans “who choose to smoke.”  

That’s true, But there is more reason in keeping future generations of low-income workers from getting hooked in the first place, As for today’s adults, if the new tax drives them to quit, they will have more to spend on their families, cut their risk of cancer and heart disease and feel better.  

66 The text is mainly about___________.   

A. the price of cigarettes                       B. tie rate of teen smoking  

C. the effect of tobacco tax increase              D. the differences in tobacco tax rate  

67 What does the author think is a surprise?  

A. Teen smokers are price sensitive.  

B. Some states still keep the tobacco tax low.   

C.  Tobacco taxes improve public health.   

D.  Tobacco industry fiercely fights the tax rise.   

68. The underlined word "deter” in Paragraph 3 most probably means ______ .   

A. discarding    B. remove    C. benefit      D. free  

69. Rogers’ attitude towards the low-income smokers might be that of _____ .  

A. tolerance   B. unconcern    C. doubt   D. sympathy  

70. What can we learn from the last paragraph?  

A. The new tax will be beneficial in the long run.   

B. Low-income Americans are more likely to fall ill.  

C. Future generations will be hooked on smoking.   

D. Adults will depend more on their families.