问题 单项选择题

要显示当前过程中所有变量及对象的取值,可以利用的调试窗口是

A.监视窗口

B.调用堆栈

C.立即窗口

D.本地窗口

答案

参考答案:D

解析: 本题考查的是VBA程序调试。在Access系统中,通过监视窗口增添监视表达式的方法,程序可以动态了解一些变量或表达式的值的变化情况,进而对代码的正确与否有清楚的判断;调用堆栈,显示在中断模式期间活动的过程调用;在中断模式下,立即窗口中可以安排一些调试语句,而这些语句是根据显示在立即窗口区域的内容或范围来执行的;本地窗口内部自动显示出所有在当前过程中的变量声明及变量值。

阅读理解

Global Positioning Systems (全球定位系统) are now a part of everyday driving in many countries.These satellite­based systems provide turn­by­turn directions to help people get to where they want to go.However,they can also cause a lot of problems,send you to the wrong place or leave you completely lost.Many times,the driver is to blame.Sometimes a GPS error is responsible.Most often,says Barry Brown,it is a combination of the two.

Barry Brown is with the Mobile Life Centre in Stockholm,Sweden.He told us about an incident involving a friend who had flown to an airport in the eastern United States.There he borrowed a GPS­equipped car to use during his stay.Mr Brown says,“They just plugged in an address and then set off to their destination.And,then it wasn’t until they were driving for thirty minutes that they realized they actually put in a destination back on the West Coast where they lived.They actually put their home address in.So again,the GPS is kind of ‘garbage in garbage out’.”

Mr Brown says this is a common human error,but what makes the problem worse has to do with some of the shortcomings,or failures,of GPS equipment.He says,“One problem with a lot of the GPS units is they have a very small screen and they just tell you the next turn.Because they just give you the next turn,sometimes that means that it is not really giving you the overview that you would need to know that it’s going to the wrong place.”

Mr Brown says,“One of the things that struck us,perhaps the most important thing was that you have to know what you’re doing when you use a GPS.There are these new skills that people have developed.There are these new competencies (资格) that you need to have to be able to use a GPS because they sometimes go wrong.This goes against a common belief that GPS systems are for passive drivers who lack navigational skills.”

Barry Brown says to make GPS systems better we need a better understanding of how drivers,passengers and GPS systems work together.

小题1:According to Barry Brow,in most cases,________are blame for the problems.

A.human errors

B.GPS errors

C.errors caused by both drivers and GPS

D.errors caused by putting in a wrong address小题2:The example of Barry Brown’s friend is used to show that________.

A.GPS is nothing but garbage

B.GPS is still not accurate enough

C.it is difficult for drivers to use GPS equipment

D.sometimes drivers are responsible for the problem小题3:It can be inferred from the second paragraph that________.

A.it’s impossible to drive from the east to the west in the US

B.Barry Brown’s friend went to Stockholm,Sweden by plane

C.given wrong instructions,the GPS will produce wrong results

D.GPS systems are for passive drivers who lack navigational skills小题4:Which of the followings is one of the shortcomings of GPS equipment?

A.It just tells the driver to turn once at a time.

B.It gives the driver the overview.

C.Its screen is too small to be seen clearly.

D.It is only suitable for passive drivers.小题5:What’s the main idea of the text?

A.GPS systems are helpful for drivers.

B.Driving with GPS can be difficult to navigate (导航).

C.Drivers should understand how GPS systems work.

D.Drivers should learn to use GPS systems correctly.

单项选择题