首页 > 外贸类考试
题目内容 (请给出正确答案)
[单选题]

关于队列(Queue)与堆栈(Stack),下列叙述正确的是()。

A.队列的存储采用循环队列结构,目的是提高存储空间的重复利用,减少数据的搬移。

B.在队列和堆栈结构中,不能在中间插入和删除元素,只能在一端进行。

C.队列是一种先进后出的线性表。

D.堆栈是一种先进先出的线性表。

E.队列和堆栈都属于线性结构,是操作受限的线性表。

查看答案
答案
收藏
如果结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能还需要:
您的账号:
发送账号密码至手机
发送
安装优题宝APP,拍照搜题省时又省心!
更多“关于队列(Queue)与堆栈(Stack),下列叙述正确的是…”相关的问题
第1题
在执行递归过程时,通常使用的数据结构是(39)。

A.堆栈(stack)

B.队列(queue)

C.图(graph)

D.树(tree)

点击查看答案
第2题
● 在执行递归过程时,通常使用的数据结构是 (39) 。 (39)A. 堆栈(stack) B. 队列(queue) C. 图 (gr

● 在执行递归过程时,通常使用的数据结构是 (39) 。

(39)

A. 堆栈(stack)

B. 队列(queue)

C. 图 (graph)

D. 树(tree)

点击查看答案
第3题
在执行递归过程时,通常使用的数据结构是______。A.堆栈(stack)B.队列(queue)C.图(graph)D.树(tree

在执行递归过程时,通常使用的数据结构是______。

A.堆栈(stack)

B.队列(queue)

C.图(graph)

D.树(tree)

点击查看答案
第4题
● Data items are added or deleted from the list only at the top of the (72) . (72)A. queue

● Data items are added or deleted from the list only at the top of the (72) .

(72)

A. queue

B. stack

C. tree

D. linear list

点击查看答案
第5题
● In (74) the only element that can be deleted or removed is the one that was inserted mos
t recently.

(74)

A. a line

B. a queue

C. an array

D. a stack

点击查看答案
第6题
● The line of computing jobs waiting to be run on a computer system might be a (71) . The

● The line of computing jobs waiting to be run on a computer system might be a (71) . The jobs are serviced in the order of their arrival, that is, the first in is the first out.

(71)

A. queue

B. stack

C. array

D. record

点击查看答案
第7题
设循环队列的结构是: const int MaxSize=100; typedef int Data Type; typedef struct
{ DataType data[MaxSize]; int front, rear; }Queue; 若有一个Queue类型的队列Q,试问判断队列满的条件应是(33)。

A.Q.front=Q.rear;

B.Q.front-Q.rear==MaxSize;

C.Q.front+Q.rear=MaxSize;

D.Q.front==(Q.rear+1)%MaxSize;

点击查看答案
第8题
试为第4章的队列结构增加Queue::getMax()接口,在O(1)时间内定位并读取其中最大元素。要求Queue::dequeue()接口的时间复杂度依然保持为O(1),Queue::enqueue()接口的时间复杂度不超过分摊的O(1)。

点击查看答案
第9题
关于进程高级通信方式中的消息缓冲区通信,由于接收消息的进程可能会收到几个进程发来的消息,故应将所有消息缓冲区链成一个(),其首地址由接收进程PCB中的一个指针指出

A.有向图

B.二叉树

C.队列

D.堆栈

点击查看答案
第10题
消息队列Pulsar通过统一消息模型实现兼容Queue和Stream两种消息模型,不可以替代Kafka搭配Flink/Spark应用于流数据场景。()
点击查看答案
退出 登录/注册
发送账号至手机
密码将被重置
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改