【单选题】【消耗次数:1】
用单链表表示的链式队列的队头在链表的( )位置。
A.链头
B.链尾
C.链中
D.任意位置
参考答案:
复制
纠错
相关题目
【判断题】 用循环单链表表示的链队列中,可以不设队头指针,仅在队尾设置队尾指针。
①  正确
②  错误
【单选题】 用不带头结点的单链表存储队列时,其队头指针指向队头结点,其队尾指针指向队尾结点,则在进行删除操作时( )。
①  仅修改队头指针
②  仅修改队尾指针
③  队头、队尾指针都要修改
④  队头、队尾指针都可能要修改
【单选题】 在单链表中,增加头结点的目的是( )。
①  使单链表至少有一个结点
②  标志表中首结点的位置
③  方便运算的实现
④  说明该单链表是线性表的链式存储结构
【单选题】 在支付结算中充当中介机构的是( )。   A.   B.   C.   D. 【答案】D。
①  工商局
②  单位
③  个人
④  银行
【判断题】 在具有头结点的单链表中,头指针指向链表的第一个数据结点。
①  正确
②  错误
【判断题】 循环链队列中,设front和rear分别为队头和队尾指针,(最多元素为MaxSize,采用少用一 个元素的模式),判断循环链队列为满的条件为front= =(rear+1)% MaxSize 。
①  正确
②  错误
【单选题】 设指针变量front表示链式队列的队头指针,指针变量rear表示链式队列的队尾指针,指针变量s指向将要入队列的结点X,则入队列的操作序列为()。
①  front-next=s;front=s;
②  s-next=rear;rear=s;
③  rear-next=s;rear=s;
④  s-next=front;front=s;
【单选题】 设顺序循环队列Q[0:M-1]的头指针和尾指针分别为F和R,头指针F总是指向队头元素的前一位置,尾指针R总是指向队尾元素的当前位置,则该循环队列中的元素个数为()。
①  R-F
②  F-R
③  (R-F+M)%M
④  (F-R+M)%M
【单选题】 循环队列A[m] 存放其元素,用front和rear分别表示队头及队尾,则循环队列满的条件是( )。
①  A.(rear+1)%m=front
②  B.rear=front+1
③  C.rear=front
④  D.(rear+1)%m-1=front
【单选题】 下列各项中,代表政府设置国库单一账户体系的是( )。 A. B. C. D.
①  中国人民银行
②  国有商业银行
③  政府机关
④  财政部门
随机题目
【单选题】 We decided to _______ to help the sick children with their homework.
①  go to the hospital
②  went to a hospital
③  going to a hospital
④  went to the hospital
【单选题】 You should _______ your shoes before you enter the dancing room.
①  get off
②  put off
③  take off
④  fall off
【单选题】 There are ________ people in front of the cinema gate so we have to wait ________ time to get into the cinema.
①  too much; much too
②  too many; too much
③  much too; too much
④  too much; too many
【单选题】 There are four pairs of socks to ______, but the woman doesn’t know ______ to buy.
①  choose from; which
②  choose from; what
③  choose; which
④  choose ;what
【单选题】 Last month Miss Han ______ a doctor.
①  married with
②  married to
③  was married with
④  got married to
【单选题】 Light waves and heart waves are all electromagnetic. ______ are radio waves.
①  Some
②  Such
③  As
④  So
【单选题】 Ancient Chang’an was seven times _____ the size of today’s Xi’an city.
①  /
②  as much as
③  that of
④  of
【单选题】 How difficult it is ______ the modern world without oil.
①  imagining
②  imagined
③  to imagine
④  having imagined
【单选题】 The exchange of goodwill mission greatly ______ a better understanding between the two countries.
①  carries out
②  brings around
③  breaks out
④  contributes to
【单选题】 I like this jacket better than that one, but it costs twice ______.
①  as much
②  so much
③  that much
④  too much