问题 单项选择题

下列叙述中正确的是【 】。

A.break语句只能用于switch语句

B.在switch语句中必须使用default

C.break语句必须与switch语句中的case配对使用

D.在switch语句中,不一定使用break语句

答案

参考答案:D

解析:break语句的功能是跳出正在执行的条件语句或循环语句。它可以出现在switch语句中,也可以出现在循环语句中。default语句的功能是如果所有case后面的语句都不执行的时候,就转去执行default后的语句,它可以省略不写。前面我们说过,break语何可以出现在循环语句中,所以选项C)也是错误的。

单项选择题

Questions from 31 to 35 are based on the following passage: There are a lot of “markets”. Some markets are local; you may be willing to compare prices for fruits and vegetables in a few shops in your local area, but you would be unwilling to go across the city to find out more information. Some markets are national. Many firms sell goods across the country. Some markets are global or international. Increasingly, more and more countries are involved in the world economy, whether they know about it or not.However, there are many other markets: labor markets for job seekers, supermarkets for grocery shopping, foreign exchange market, capital market, real estate markets and so on. And we must not overlook the fact that many services such as banking, insurance are also bought and sold on a worldwide scale. But what is a “market” Most people would say, “A market is a place where enough buyers and sellers meet face to face, so that a market price for goods and services can be determined.” However, with rapid growth of telecommunications, it is no longer necessary for buyers and sellers to physically meet to form a market.You may hear the terms “global market” or “global economy”. What do those terms mean to you What do they mean to business today Thanks to the Information Age we are seconds away from the rest of world. Business everywhere recognizes that they can expand their market to anywhere and do business at any time because of the Internet. Now, the Internet is the fastest growing market in the world today, yet buyers and sellers don’t even have to leave their own homes to transact business.In the modern world, a market can take many forms. Generally speaking, a market may be housed in a place, or it may exist only in people’s minds. And a market can be any place or process that brings together buyers and sellers with a view to agreeing to a price.

The stock market, banking services market and capital market can be described as().

A.supermarket

B.financial market

C.labor market 

D.real estate market

单项选择题