第18题: [单项选择]I wish I had been in the party last night, but I ______. A. would be very busy B. has been very busy C. was very busy D. am very busy 参考答案:C 答案解析:[解析] 我真的很希望我昨晚能参加晚会,可我当时太忙了。本题考查虚拟语气,前面是对过去的虚拟,但后面是真实的情况,故用一般过去时。
第31题: [单项选择]在窗体上有一个命令按钮Command1,编写事件代码如下:
Private Sub Command1_Click( )
Dim d1 As Date
Dim d2 As Date
d1=#12/25/2009#
d2=#1/5/2010#
MsgBox DateDiff("ww",d1,d2)
End Sub
打开窗体运行后,单击命令按钮,消息框中输m的结果是( )。 A. 1 B. 2 C. 10 D. 11 参考答案:B 答案解析:[解析] 函数DateDiff按照指定类型返回指定的时间间隔数目。语法为DateDiff(<间隔类型>,<日期1>,<日期2>,[W1][W2]),间隔类型为“ww”,表示返回两个日期间隔的周数。