问题 单项选择题

下列常见的系统定义的异常中,哪个是输入、输出异常

A. 过程文件的建立需使用MODIFY COMMAND命令

B. 过程文件的默认扩展名为.PRG

C. 在调用过程文件中的过程之前不必打开过程文件

D. 过程文件只包含过程,可以被其他程序所调用

答案

参考答案:C

解析:调用模块程序参数的格式有两种: 格式一:DO<文件名>|<过程名>WITH<实参1>[,<实参2>,...] 格式二:<文件名>|<过程名>(<实参1>[,<实参2>,...]) 在参数传递过程中可以利用SET UDFPARMS TO VALUE|REFERENCE重新设置参数的传递方式,格式一不受 UDFPARMS值的设置影响,如果采用 格式二调用模块程序时,默认情况下都以按值方式传递参数,如果要以引用方式传递,可通过命令SET UDFPARMS命令重新设置参数的传递方式 。

阅读理解

My friend Dr. Dong had a wonderful chance to go to Seattle to present a paper at a professional meeting. When he got back to Beijing, he told me his experience.

Dr. Dong enjoyed his first days very much. At the medical conference, he felt quite confident in his area of research and was able to perform well in his presentation. But after a few days, he began to feel uncomfortable. His medical English was fine, but the social communication skills were different.

He got more and more worried that he was misunderstanding simple English greetings and table talk conventions(习俗). When someone greeted him with, “Hi, how’s it going?” he thought they had asked him “Where are you going?” and answered with the name of the conference hall, only to get a surprised stare from them. At a western style dinner, a colleague asked, “So how’re you enjoyin’ the States?” he thought he heard, “how are you enjoying your steak?” and answered that he was eating chicken, not beef. That time, they smiled, and patiently repeated the question, then both laughed at the error.

By the end of the meetings, Dr. Dong felt a deep sense of “cultural stress” and was worn out from having to pay attention to so many new expressions and ways of dealing with things. He felt his handshake was not as firm as Americans’, found that people reacted unusually when he modestly insisted his English was not good after they complimented(称赞) him, didn’t know how to accept dinner invitations properly and therefore missed out on going to several lunches, and so on. Eventually, he was so confused that he felt the full impact of “culture shock”.

小题1:Why did Dr. Dong travel to Seattle?

A.To improve his spoken English.

B.To experience culture shock.

C.To give lectures on his research.

D.To attend a medical conference.小题2: Which of the following best describes Dr. Dong’s experience in Seattle?

A.Comfortable—very uncomfortable—uncomfortable.

B.comfortable—very uncomfortable—comfortable.

C.Comfortable—uncomfortable – very uncomfortable.

D.Comfortable—uncomfortable – very comfortable.小题3:Dr. Dong felt a deep sense of “cultural stress” mainly because_______.

A.he was too modest

B.he didn’t understand cultural differences

C.he lacked confidence

D.he was not good at English listening小题4:                                       

单项选择题