單項(xiàng)選擇題
A.M[2,4] B.M[3,4] C.M[3,5] D.M[4,4]
A.7和35 B.1和5 C.8和48 D.1和6
A.13 B.33 C.18 D.40
A.308 B.305 C.266 D.269
A.4321 B.1234 C.1432 D.3241
A.先進(jìn)先出 B.后進(jìn)先出 C.只能進(jìn)行插入 D.只能進(jìn)行刪除
A.Q[4] B.Q[5] C.Q[14] D.Q[15]
A.8 B.16 C.17 D.18
A.sq.rear= (sq.rear+1)mod MAXSIZE; sq.elem[sq.rear]=x; B.sq.elem[sq.rear]=x; sq.rear= (sq.rear+1)mod MAXSIZE; C.sq.front= (sq.front+1)mod MAXSIZE; sq.elem[sq.front]=x; D.sq.elem[sq.front]=x; sq.front= sq.front+1;
A.sq.front= sq.rear B.sq.front= sq.rear+1 C.(sq.front +1)mod MAXSIZE= sq.rear D.(sq.rear+1)mod MAXSIZE= sq.front
A.s=q.front;q.front->next=s.next; B.s=q.front->next;q.front->next=s.next; C.s=q.front->next;q.front=s.next; D.s=q;q.front->next=s.next;