问题 单项选择题

在连编对话框中,下列不能生成的文件类型是( )。

A. 2 2

B. 4 4

C. 5 5

D. 6 6

答案

参考答案:D

解析:在Sub过程中,程序段先定义了3个Integer型变量k,m,p,并给k 赋给初值4,m的初值为1,然后调用事件过程Pid,并将它的值赋给p;在事件过程Pid中定义了两个形参,参数的传送是通过引用实参,即将k,m的地址作为a,b的地址;在Pid 中,将m,I定义为静态变量,所以第一次调用后的值仍然保留,但是m,I分别都有赋值语句,将它们的值变为5,2,所以返回值不变都是6 6。

单项选择题
单项选择题

Robert Moody, 52, is an experienced police officer. Much of his work involves dealing with (16) and gang (团伙)problems in the schools of his community. Knowing that many kids often (17) trouble, he decided to do something about it. So in 1991 he began to invite small groups of kids to go fishing with him on his day (18) .

Those fun trips had a(n) (19) impact. A chance encounter in 2000 proved that. One day, (20) working security at a school basketball game, Moody noticed two young guys (21) . He sensed trouble between them. (22) one of them headed toward Moody and gave him a hug. "I (23) you. You took me (24) when I was in fifth grade. That was one of the (25) days of my life. "

Deeply touched by the boy’ s word, Moody decided to create a foundation (基金会)that (26) teenagers to the basics of fishing in camping programs. "As a policeman, I saw (27) there was violence, drugs were always behind it. They have a damaging (28) on the kids," says Moody.

By turning kids on to fishing, he (29) to present an alternative way of life, "When you’ re sitting there waiting for a (30) ," he says, "you can’t help but talk to each other, and such (31) can be pretty deep. "

"Talking about drugs helped prepare me for the peer(同龄人)pressures in high school," says Michelle, 17, who (32) the first program. "And I was able to help my little brother (33) drugs. "

Moody faces (34) in three years, when he hopes to run the foundation full-time. "I’ m living a happy life and I have a responsibility to my (35) to give back," Moody says. "If I teach a kid to

fish today, he can teach his brother to fish tomorrow. \

27().

A. where

B. unless

C. as

D. whether