A.come true
B.came true
C.dream about
D.fill out
第1题:
7、已知last指向单向简单链表的尾结点,将s所指结点加在表尾,正确的操作是____。
A.s->next=s,last=s,last->next=NULL;
B.last->next=s,s->next=NULL,last=s;
C.s->next=NULL, last->next=s, s=last;
D.s->next=last, last->next=NULL,last=s;
第2题:
数组q[M]存储一个循环队,first和last分别是首尾指针。如果使元素x出队操作的语句为“first=(first+1)%m, x=q[first];”。那么元素x进队的语句是_____。
A.last=(last+1)%m,q[last]=x;
B.x=q[last], last =(last+1)%m;
C.q[last+1]=x;
D.q[(last+1)%m]=x;
第3题:
根据下列材料请回答 56~60 题:
Sound pull can feel eatDoctor:What’S wrong with you?
Emma:Oh,I have a toothache now.
Doctor:How long have you56 like this?
Emma:For three days.And I57 not sleep last night.
Doctor:Open your mouth and let me look them over.Oh,one of your teeth is bad.It must be 58 0ut.
Emma:It59 terrible.You’d better give me other advice.Perhaps it will be OK tomorrow.
Doctor:I don’t think so.
Emma:All fight.What should I do?
Doctor:You won’t60 anything hard in many days after the operation(手术).
Emma:OK.Thank you very much.
Doctor.Not at all.
第 56 题 请在(56)处填上最佳答案。
第4题:
已知last指向单向简单链表的尾结点,将s所指结点加在表尾,不正确的操作是____。
A.s->next=NULL, last->next=s,last=s;
B.s->next=NULL, last->next=s, s=last;
C.last->next=s,s->next=NULL,last=s;
D.last->next=s,last=s,last->next=NULL;
第5题:
已知last指向单向简单链表的尾结点,将s所指结点加在表尾,正确的操作是____。
A.s->next=s,last=s,last->next=NULL;
B.last->next=s,s->next=NULL,last=s;
C.s->next=NULL, last->next=s, s=last;
D.s->next=last, last->next=NULL,last=s;
第6题:
数组q[M]存储一个循环队,first和last分别是首尾指针,如果使元素x进队操作的语句为“q[last]=x,last=(last+1)%m;”那么判断队满的条件是_____。
A.last= =first
B.last= =M-1
C.(last+1)%m= =first
D.last+1= =first
第7题:
已知last指向单向简单链表的尾结点,将s所指结点插入在表尾,正确的操作是____。
A.s->next=s,last=s,last->next=NULL;
B.last->next=s,s->next=NULL,last=s;
C.s->next=NULL, last->next=s, s=last;
D.s->next=last, last->next=NULL,last=s;
第8题:
已知last指向单向简单链表的尾结点,将s所指结点加在表尾,不正确的操作是____。
A.last->next=s,last=s,last->next=NULL;
B.last->next=s,s->next=NULL,last=s;
C.s->next=NULL, last->next=s, s=last;
D.s->next=NULL, last->next=s,last=s;
第9题:
2、已知last指向单向简单链表的尾结点,将s所指结点插入在表尾,正确的操作是____。
A.s->next=s,last=s,last->next=NULL;
B.last->next=s,s->next=NULL,last=s;
C.s->next=NULL, last->next=s, s=last;
D.s->next=last, last->next=NULL,last=s;
第10题:
11、数组q[M]存储一个循环队,first和last分别是首尾指针。如果使元素x出队操作的语句为“first=(first+1)%m, x=q[first];”。那么元素x进队的语句是_____。
A.last=(last+1)%m,q[last]=x;
B.x=q[last], last =(last+1)%m;
C.q[last+1]=x;
D.q[(last+1)%m]=x;