问题 单项选择题

要想在过程调用中返回两个结果,下面的过程定义语句合法的是( )。

A. Sub Submit(ByVal n,ByVal m)

B. Sub Submit(n,ByVal m)

C. Sub Submit(n,m)

D. Sub Submit(ByVal n,m)

答案

参考答案:C

解析:题目的意思是在调用过程后,返回两个结果,那么定义此过程时,应设两个参数,且参数传递应用传址方式,也就是引用,而"ByVal"关键字加在形参前面,则表示形参与实参结合方式为传值。所以,4个选项中只有选项C)符合题意。

阅读理解

阅读理解。

                                                          Red Star Restaurant

    The biggest and busiest restaurant in Ji'nan is seeking 20 waiters who have relevant (相关的) experiences

in high-grade restaurants. About ¥800-1,500 per month.

    Red Star Restaurant is located at 66 on Park Street.

    Our phone number is 0531-8278-4560. 

                                                            3 People wanted

    Need 3 people who would like to work 4 evenings per week showing films. Earn $300 per week possibly.

Call 469-867-6042. 

                                                           Baby-sitter wanted

    For a year. 3 days a week. Some flexible (灵活的) hours required.

    Knowledge: above senior middle school.

    Call 0431-478-9971.

1. How many advertisements are for waiters? [ ]

A. One.

B. Two.

C. Three.

D. Four.

2. What kind of people are needed in the second advertisement? [ ]

A. Film actors.

B. Film makers.

C. People to show films.

D. Film actresses.

3. In the third advertisement, the baby-sitter should _____. [ ]

A. have a year's working experience

B. accept flexible working hours

C. work two days a week

D. be girls

4. How many waiters does Red Star Restaurant need? [ ]

A. 10.

B. 20.

C. 30.

D. 40.

5. Where can you find these advertisements? [ ]

A. In the newspaper.

B. On TV.

C. On the radio.

D. In the textbook.

名词解释