问题 填空题

以下是一个竞赛评分程序。8位评委,去掉一个最高分和一个最低分,计算平均分(设满分为10分)。请填空补充完整。

答案

参考答案:x>Max;x<Min;s-Min-Max

解析:

[知识点] VBA程序设计基础

[评析] 本题中先给最大值变量赋值为0,最小值变量赋值为10。然后把输入的分数x与最大值和最小值比较,如果x比最大值大,则把x赋值给Max,故第一空填x>Max:如果x比最小值小,则把x赋值给Min,故第二空填 x<Min。因为算平均分之前要把最高分和最低分去掉,故第三空应该填s-M9x-Min。

单项选择题
单项选择题

More and more residences, businesses, and even government agencies are using telephone answering machines to take messages or give information or instructions. Sometimes these machines give (1) instructions, or play messages that are difficult to understand. If you (2) telephone calls, you need to be ready to respond when you get a (3)

The most common machine is the (4) used in residence. If you call a home (5) there is a telephone answering machine (6) you will hear several rings and then a recorded message that (7) says something like this: "Hello. We can’t come to the (8) right now. If you want us to call you back, please leave your name and number after the beep." Then you will hear a "beep", (9) is a brief, high-pitched (10) . After the beep, you can say who you are, whom you want to speak to, and what number the person should call to (11) you, or you can leave a (12) . Some telephone answering machines record for only 20 or 30 seconds after the beep, (13) you must respond quickly.

Some large businesses and government agencies are using telephone answering machines to provide information on (14) about which they receive a large volume of (15) . Generally speaking, using these systems (16) you to have a touch-tone phone ( a phone with buttons rather than a rotary dial). The voice on the machine will tell you to (17) a certain button on your telephone if you want information on Topic A, another button for Topic B, and so on. You listen (18) you hear the topic you want to learn about, and then you push the (19) button. Immediately after making your (20) , you will hear a recorded message on the topic.

1()

A.push

B.pull

C.drag

D.toss