问题
单项选择题
从测试所暴露的错误出发,收集所有正确或不正确数误,分析它们之间的关系,提出假想的错误原因,用这些数据来证明或反驳,从而查出错误所在,是属于排错调试方法中的( )。
A.回溯法
B.试探法
C.归纳法
D.演绎法
答案
参考答案:C
从测试所暴露的错误出发,收集所有正确或不正确数误,分析它们之间的关系,提出假想的错误原因,用这些数据来证明或反驳,从而查出错误所在,是属于排错调试方法中的( )。
A.回溯法
B.试探法
C.归纳法
D.演绎法
参考答案:C
阅读理解。 |
A new supermarket put on a notice inside the entrance. It said, "Remember, once a week, one of our customers (顾客) gets free goods (things that cost nothing). This may be your lucky day!" All the housewives who went to the supermarket had one great hope: to be the lucky customer who didn't have to pay for her shopping. For several weeks Mrs Blake hoped to be the lucky customer. Unlike many other customers, she never gave up hope. Her kitchen was full of things she did not need. She dreamed of the day, when the manager of the supermarket would come and say to her, "Madam, this is your lucky day and everything in your basket is free." One Friday morning, after she finished her shopping and had taken all the things to her car, she found that she had forgotten to buy tea. She went to the supermarket, got the tea and went towards the check-out. As she did so, she saw the manager of the supermarket come to her. "Madam," he said, "congratulations! You are our lucky customer and everything in your basket is free!" |
1. From the notice in the new supermarket, we know that ______. |
[ ] |
A. customers could buy things at lower prices once a week B. the customer who bought the least goods didn't have to pay C. just one customer could get free goods once a week D. the first customer who bought goods in the supermarket was the lucky one |
2. What was Mrs Blake's hope? |
[ ] |
A. To buy something cheaper in the supermarket. B. To see the manager of the supermarket. C. To buy everything she needed in the supermarket. D. To be the lucky customer. |
3. Why did Mrs. Blake go back to the market after her shopping? |
[ ] |
A. Because she wanted to see who would be the lucky customer. B. Because she forgot to buy one more thing. C. Because she had to pay for her shopping. D. Because she wanted to get another chance to be the lucky customer. |
4. Which of the following is NOT TRUE according to the passage? |
[ ] |
A. The manager of the market was a clever businessman. B. In fact the notice for free goods was a trick (诡计). C. Mrs. Blake's dream came true at last. D. Mrs. Blake did shopping every week in the past several weeks. |
5. What would Mrs. Blake probably say when she heard the manager's words? |
[ ] |
A. "Oh, my God!" B. "How lucky I am!" C. "Everyone has a lucky day." D. "It's very kind of you!" |