关于套管头,有下列认识()。 A.为安装防喷器和油层以下提供过渡连接的装置 B.是用

题型:单项选择题

问题:

关于套管头,有下列认识()。

A.为安装防喷器和油层以下提供过渡连接的装置

B.是用来悬挂技术套管和油层套管并密封各层套管间环形空间的井口装置

C.套管头是在在下完技术套管或生产套管前安装

D.套管头由本体、套管悬挂器和封隔器等组成

考点:石油科学试油与试采试油与试采题库
题型:单项选择题

易某无证驾车在市区违章行驶时,将路边的一行人撞成重伤后逃逸。后来易某以金钱利诱张某,张某接受易某2万元现金后,当即去公安机关报案,声称自己借了易某的车发生了交通事故。几个月后,该案真相大白。下列说法正确的是:

A.易某构成交通肇事罪,并应从重处罚

B.如果行人被撞成重伤后残疾,易某应当以故意伤害罪论处

C.张某构成伪证罪

D.张某构成包庇罪

题型:单项选择题

简述韩愈《左迁至蓝关示侄孙湘》以文为诗的特点。

题型:单项选择题

室内空气质量标准中所涉及的物理指标不包括()。

A.温度

B.相对湿度

C.气压

D.风速

E.新风量

题型:单项选择题

Time spent in a bookshop can be most enjoyable, whether you are a book-lover or merely there to buy a book as a present. You may even have entered the shop just to find shelter from a sudden shower. But the desire to pick up a book with an attractive dust-jacket is irresistible. You soon become absorbed in some book or other, and usually it is only much later that you realize that you have spent far too much time there.

This opportunity to escape the realities of everyday life is, I think, the main attraction of a bookshop. There are not many places where it is possible to do this. A music shop is very much like a bookshop. You can wander round such places to your heart’s content. If it is a good shop, no assistant will approach you with the inevitable greeting: "Can I help you, sir" You needn’t buy anything you don’t want. In a bookshop an assistant should remain in the background until you have finished browsing. Then, and only then, are his services necessary.

You have to be careful not to be attracted by the variety of books in a bookshop. It is very easy to enter the shop looking for a book on, say, ancient coins and to come out carrying a copy of the latest best-selling novel and perhaps a book about brass-rubbing -- something which had only vaguely interested you up till then. This volume on the subject, however, happened to be so well illustrated and the part of the text you read proved so interesting that you just had to buy it. This sort of thing can be very dangerous. Booksellers must be both long suffering and indulgent.

There is a story which wei1 illustrates this. A medical student had to read a textbook which was far too expensive for him to buy. He couldn’t obtain it from the library and the only copy he could find was in his bookshop. Every afternoon, therefore, he would go along to the shop and read a little of the book at a time. One day, however, he was dismayed to find the book missing from its usual place and about to leave when he noticed the owner of the shop beckoning to him. Expecting to be reproached, he went toward him. To his surprise, the owner pointed to the book, which was tucked away in a corner. "I put it there in case anyone was tempted to buy it," he said, and left the delighted student to continue his reading.

The textbook the medical student was interested in was tucked away in a corner()

A. to prevent anyone from buying it

B. because the medical student might take it away

C. in case the medical student was tempted to buy it

D. because it was a rare and expensive book

题型:单项选择题


阅读以下技术说明和C语言代码,根据要求回答问题1至问题6。
【说明】
有两个进程(编号分别为0和1)需要访问同一个共享资源。为了解决竞争条件(race condition)的问题,需要实现一种互斥机制,使得在任何时刻只能有一个进程访问该共享资源。以下【C代码1】给出了一种实现方法。
【C代码1】
int flag[2]; /+flag数组,初始化为FALSE*/
Enter_Critical_Section(int my_task_id, int other_task_id)
{ while (flag[other_task_id]==TRUE); /*空循环语句*/
flag[my_task_id]=TRUE;
}
Exit_Critical_Section(int my_task_id, int other_task_id)
{ flag[my_task_id]=FALSE;
}
当一个进程要访问临界资源时,就可以调用【C代码1】给出的这两个函数。【C代码2】给出了进程0的一个例子。
【C代码2】
Enter_Critical_Section(0,1);
……使用这个资源……
Exit_Critical_Section(0,1);
……做其他的事情……

【问题6】
程序的环路复杂度V(G)也称为McCabe复杂性度量,它是构成基本路径集的独立路径数的上界,可依此得出应该设计的测试用例数目。请计算【C代码3】程序段的环路复杂度V(G)。

更多题库