问题 单项选择题

在窗体上画一个名称为Command1的命令按钮和一个名称为Text1的文本框,然后编写如下程序:Private Sub Command1_ Click() Dim x. y, z As Integer x= 5 y= 7 z= 0 Text1.Text =" " Call P1(x, y, z) Text1.Text = Str(z)End SubSub P1 (ByVal a As Integer, ByVal b As Integer, c As Integer) c=a+ bEnd Sub程序运行后,如果单击命令按钮,则在文本框中显示的内容是______。

A.0

B.12

C.Str(

D.没有显示

答案

参考答案:B

解析: 本题的难点是虚实结合的参数传送方式。在子过程中变量a和b按值传送,变量 c按地址传送。在子过程中变量“c=a+ b=5+7=12”,通过虚实结合将c的值赋给主过程z,经字符转换为“z”在文本框中输出。

单项选择题

In the United States and in many other countries around the world, there are four main ways for people to be (91) about developments in the news: newspapers, magazines, and radio or television news broadcasts. A person may use one, or all, of these (92) for information. Each source is useful in its (93) way. Newspapers and magazines can give much information about a particular event. They may (94) some history of the event, some of its (95) , some of its effects, or perhaps give an (96) or point of view on a particular development. Radio and television can help a person to be well informed about what is happening each day. It is also (97) to listen to radio or watch TV (98) do something else at the same time. Many people can listen to the news on their car radio while driving (99) . For the student of English as a foreign language, an English language newspaper may be the most helpful news source that will also (100) you practice in reading English.
Most daily English language newspapers are not very hard to find. They are interesting and helpful in many (101) . In some of them, you may be able to find news about your (102) country. You will find news and information about important national and international political (103) . (104) what you are interested in, you can probably find something in the newspaper about it. A(n) (105) in the newspaper may help you solve a problem. Other stories may be about good movies, concerts, or TV shows.
Usually, an English language newspaper has several (106) or parts. Each part of the newspaper (107) stories about different kinds of news. Some sections have a lot of advertisements which may be helpful if you want to save money. By reading the advertisements, you may find something you want (108) sale. Or you may find that two stories are advertising the (109) thing, but at one store the price is lower. Other sections may have (110) advertisements or have only a specific type of advertisement to interest the people.

A.opinion

B.reason

C.decision

D.belief

多项选择题