问题 单项选择题

有如下的一个函数过程:
Function fn(By Val hum AS Long)
Dim k As Long
k=l
num=Abs(nam)
Do While nnm
k=k*(nnm Mod 10)
num=num\10
Loop
fn=k
End Function
以下是一个调用该函数的事件过程,运行程序后,在输入对话框输入数字“123”,该过程的运行结果是( )。
Private Sub Command5_Click()
Dim n AS Long
Dim r AS Long
n=InputBox(“请输入一个数值”)
n=CLng(n)
r=fn(n)
Print r
End Sub

A.12

B.6

C.3

D.1

答案

参考答案:B

阅读理解

第二节信息匹配 (共5小题;每小题2分,满分10分)

阅读下列应用文及相关信息,并按照要求匹配信息。请在答题卡上将对应题号的相应选项字母涂黑。

The Blue Mercury Hotel has a varieties of different hotel rooms for different kinds of people. Book 7 days in advance and you will pay at special rates. The categories are as follows.

Ruby No 1: with a balcony. One single bed and a computer , Internet accessible

Max: One person

Price: Regular Rate — $ 490 ( per person / per night)  With no special rate all year around

Sapphire No 2: With a balcony. Two double beds ( all standard rooms)

Max : Four people

Price : Regular rate — $ 220 ( per person / per night)

Special rate — $ 190 ( per person / per night)

Emerald No 1: With a balcony. Two double beds or one king-size bed ( all standard room)

Max: Four people

Price : Regular rate — $290 ( per person / per night)

Special rate — $ 220  ( per person / per night)

Ruby No 2: With a balcony.  One bed room suite with one king—size bed

Max : two people  

Price : regular rate — $ 580 ( per person / per night)

Special rate — $400 ( per person / per night)

Emerald No 3: With a balcony. Two –bed room suite on the top floor of the oceanarium with              two king-size beds

Max: Four people

Price: Regular rate — $900 ( per person / per night)

Special Rate — $760 ( per person / per night)

Sapphire No 1: With no balcony . Two double beds ( smaller space)

Max : Two people 

Price : Regular Rate — $120 ( per person / per night)

Special Rate — 90 ( per person / per night)

请阅读以下游客的信息,然后匹配游客和他/她在 The Mercury Hotel 居住的房间:

56. Jane and Jessica, college students on holiday excursion, book the room of the Blue Mercury Hotel a fortnight ahead of time; plan to live in a room with the minimum pay.

57.  Jim and his newly married bride, arriving tomorrow morning , choose to have a suite with a king-size bed, for which they budget to pay at most $ 1200 for two of them for one night.

58.  Two couples on a trip stop at Blue Mercury Hotel. They like the place so much that they agree to stay in the hotel for two nights. Their budget is between $ 900-700 for each family.

59.  For Dave and his wife, they would rather book a suite where they can enjoy the ocean view, concerned less about the price of the room.

60.  Doctor King is having a conference at the Blue Mercury Hotel. He has to write his research paper. He wants to stay in a hotel room which has the suitable facilities

判断题