电子司钻所控制的设备的防碰功能是通过()实现的。A、设备上安装的位置传感探头B、设备

题型:单项选择题

问题:

电子司钻所控制的设备的防碰功能是通过()实现的。

A、设备上安装的位置传感探头

B、设备与设备之间的安全距离限定

C、设备本身所具有的职能计算机

D、操作者直接操作

考点:石油钻井工考试石油钻井工技师石油钻井工技师题库
题型:单项选择题

用min{a,b,c}表示a,b,c三个数中的最小值,设f(x)=min{2x,x+2,10-x},(x≥0),则f(x)的最大值为[ ]

A、4

B、5

C、6

D、7

题型:单项选择题

烧伤早期急性肾功能衰竭的最主要因素是

A.切削痂、网状自体植皮
B.暴露疗法,待其自然愈合
C.蛋白酶溶痂后植皮
D.1%SD-Ag冷霜包扎换药,待其自然愈合
E.分期分批切削痂后植皮对于下列烧伤患者,创面最佳的处理方法

题型:单项选择题

针式打印机术语中,24针是指

A.24×24点阵

B.队号线插头有24针

C.打印头内有24×24根针

D.打印头内有24根针

题型:单项选择题

针对以下C语言程序,按要求回答问题。

已知link.c程序如下:

/*link.c程序对单向链表进行操作,首先建立一个单向链表,然后根据用户的选择可以对其进行插入节点、删除节点和链表反转操作*/

#include<stdio.h>

#include<stdlib.h>

typedef struet list_node*list_pointer; //定义链表指针

typedef struct list_node //定义链表结构

int date;

list_pointer link;

list node;

//用到的操作函数

1ist_pointer create(); //建立一个单向链表

vold insert(list_pointer*p_ptr,list_pointer node; //在node后加入一个新的节点

void delete_node(list_pointer*p_ptr,list_pointer trail,list_pointer node);

//删除前一个节点是trail的当前节点node

void print(list_pointer*p_ptr); //打印链表节点中的值

list_pointer invert(list_pointer lead); //反转链表

int main()

list_pointer ptr=NULL;

list_pointer node,trail;

list_pointer*p=&ptr;

int choose,location,i;

printf("you should creale a link first:\n");

//建立一个单向链表

ptr=create();/*ptr指向链表的第一个节点*/

print(ptr);

//根据用户的不同选择进行相应的操作:

printf("input number 0,you can quit the program\n");

printf("input number 1,you can insert a new node to link\n");

printf("input number 2,you can delete a node from the link\n");

printf("input number 3,you can invert the link\n");

printf("please input your choice\n");

scanf("&d",&choose);

while(choose!=0)

switch(choose)

case 1:

i=1;

while(i<location)

node=node->link;

insert(p,node);/*p为指向ptr的指针*/

print(ptr);

break;

case 2:

printf("you will delete a node from the link\n");

printf("please input the location of the node:\n");

scanf("&d,&location);

node=ptr;

if(location==1)

trail=NULL;

trail=ptr;

i=1;

while(i<location)

trail=trail->link;

i++;

node=trail->link;

delete_node(p,trail,node);

print(ptr);

brcak;

ease 3:

printf("you will invert the link\n");

ptr=invert(ptr);

print(ptr);

break;

default;

break;

return-1;

printf("please input your choiee\n");

seanf("&d",&choose);

printf("please input you choice\n");

scanf("&d",&choose);

retnrn 0;

//根据用户的输入数值建立一个新的单向链表;

list_pointer create()

int i,current,length;

list_pointer p1,p2,head;

prinff("please input the node number of the link:\n");

scanf("&d",&length);

printf("the nnmber of the link is:&d",length);

printf("please input the dais for tile link node:\n");

i=0;

p1=p2=(list_pointer)malloc(sizeof(list_node));

head=p1;

for(i=1;i<length;i++)

scanf("&d",&current);

p1->data=curren1:。 p2->link=p1;

p2=p1;

p1=(list_pointer)malloc(sizeof(list_node));

p2->link=NULL;

return head;

 

画出主函数main的控制流程图。

题型:单项选择题

有职业危害防治措施,并为从业人员配备符合国家标准或者行业标准的劳动防护用品,是企业取得安全生产许可证必须具备的安全生产条件之一。

更多题库