对于长度为n的线性表,在最坏情况下,下列各排序法所对应的比较次数中正确的是( )。

题型:单项选择题

问题:

对于长度为n的线性表,在最坏情况下,下列各排序法所对应的比较次数中正确的是( )。

A.冒泡排序n/2

B.冒泡排序为n

C.快速排序为n

D.快速排序为n(n-1)/2

考点:计算机等级考试C++二级C++笔试
题型:单项选择题

某建设项目发售招标文件时收取工本费500元,则在招投标结束后( )。

A.招标文件及收费都不退回

B.退回招标文件,收费不退回

C.不退回招标文件,收费退回

D.招标文件及收费分别退回

题型:单项选择题

HTML文件的结构中,在和之间的内容是标题的信息。

题型:单项选择题

2003年7月7日,国家信息产业部宣布,今后国家将对电子信息产业基地和产业园内的企业在固定资产投资、产业化示范工程、电子信息产业发展基金及相关专项资金的安排上给予重点支持。要充分发挥产业基地和产业园区内的聚集效应,实现产业水平的提高和市场竞争力的增强,争取在15年内,把我国建设成为电子信息产业强国。由此可见

①国家履行经济职能对社会生产力的发展是非常重要的

②制定经济和社会发展战略、计划,是国家管理经济职能的具体内容

③国家要搞好公共服务,为社会发展创造良好的自然环境   

④组织社会主义化建设是国家的重要职能

A.①②

B.②③

C.③④

D.①③

题型:单项选择题

社会保障的特点有()

A、经济保障

B、社会性

C、合法性

D、人道主义

E、赢利性

题型:单项选择题

Real policemen, both Britain and the United States hardly recognize any resemblance between their lives and what they see on TV—if they ever get home in time. There are similarities, of course, but the cops don’t think much of them.

The first difference is that a policeman’s real life revolves round the law. Most of his training is in criminal law. He has to know exactly what actions are crimes and what evidence can be used to prove them in court. He has to know nearly as much law as a professional lawyer, and what is more, he has to apply it on his feet, in the dark and rain, running down an alley after someone he has to talk to.

Little of his time is spent in chatting to scantily clad ladies or in dramatic confrontations with desperate criminal. He will spend most of his working life typing millions of words on thousands of forms about hundreds of sad, unimportant people who are guilty—or not—of stupid, petty crimes.

Most television crime drama is about finding the criminal; as soon as he’s arrested, the story is over. In real life, finding criminals is seldom much of a problem. Except in very serious cases like murders and terrorist attacks—where failure to produce results reflects on the standing of the police—little effort is spent on searching. The police have an elaborate machinery which eventually shows up most wanted men.

Having made an arrest, a detective really starts to work. He has to prove his case in court and to do that he often has to gather a lot of different evidence. Much of this has to be given by people who don’t want to get involved in a court case. So as well as being overworked, a detective has to be out at all hours of the day and night interviewing his witnesses and persuading them, usually against their own best interests, to help him.

A third big difference between the drama detective and the real one is the unpleasant moral twilight in which the real one lives. Detectives are subject to two opposing pressures: first as members of a police force they always have to behave with absolute legality, secondly, as expensive public servants they have to get results. They can hardly ever do both. Most of the time some of them have to break the rules in small ways.

If the detective has to deceive the world, the world often deceives him. Hardly anyone he meets tells him the truth. And this separation the detective feels between himself and the rest of the world is deepened by the simple mindedness—as he sees it—of citizens, social workers, doctors, law makers, and judges, who, instead of stamping out crime punish the criminals less severely in the hope that this will make them reform. The result, detectives feel, is that nine tenths of their work is reaching people who should have stayed behind bars. This makes them rather cynical.

Detectives are rather cynical because()

A. nine tenths of their work involves arresting people

B. hardly anyone tells them the truth

C. society does not punish criminals severely enough

D. too many criminals escape from jail

更多题库