问题 单项选择题

以下关于过程及过程参数的描述中,错误的是______。

A.过程的参数可以是控件名称

B.用数组作为过程的参数时,使用的是“传地址”方式

C.只有函数过程能够将过程中处理的信息传回到调用的程序中

D.窗体可以作为过程的参数

答案

参考答案:C

解析: Visual Basic中的参数传递默认是“传地址”方式。通过间接访问,也可以在非函数过程中访问和处理主调过程中的变量内容,并且定义多个“传地址”的参数可以返回多个值。Visual Basic中的控件和窗体都可以作为过程的参数。

阅读理解
阅读理解
                           Free Activities This Weekend
Fall Fashion Show
     Golden Shopping Plaza.Sunday 3: 00 P.M. Men's and
women's fan clothes. See 25 fabulous models wearing the
latest fashions. All clothing on sale after the show for under
$ l00.
Rock Concert at University Park
     Saturday from 9:00 P. M. to midnight come to hear some
great music. Five terrific student bands are going to play. Bring
your own food and drink.
Library Lecture
     City Library Auditorium Saturday at 10:00 P.M. How to find
the job you really want! Two hour Lecture. Advice on choosing
and getting the night job, for you. Sandwiches and soda
City Museum Travel Movies
     Saturday and Sunday at 2:30 P. M. Do you want to travel,
but don't have enough money? See movies on Japan. Indonesia.
Brazil. Italy, and Australia. There are only 100 seats, so come
early.
1. You can go to Golden Shopping Plaza to enjoy the fall fashion show __________.
A. on Saturday
B. on Sunday
C. on Saturday and Sunday
D. at 10:00 A. M.
2,  There will be __________ at 10:00 A. M. on Saturday.

A. a fashion show
B. a lecture
C. a travel movie
D. a rock concert

3. __________ are going to play for the rock concert at the University Park on Saturday.
A. 25 fabulous models
B. Travelers
C. Five terrific student bands
D. Workers
4. You can enjoy __________ at 2:30 P.M. on Saturday and Sunday.
A. fall clothes
B. movie tickets
C. sand wiches and soda
D. rock music
5. The lecture on Saturday will last __________ and you will get some useful advice.
A. 2 days
B. 2 hours
C. one day
D. one hour
单项选择题