一起答
单选

在具有n个单元的顺序存储的循环队列中,假定指针front和rear分别指向队首和队尾,则判断队列为空的条件是(38),如果约定“以队尾指针所指位置的下一个位置是队首指针”表示队满,那么队列为满当且仅当(39)。

  • A.front=rear+1
  • B.rear=front+1
  • C.front=real
  • D.front=0
参考答案
查看试卷详情
相关试题
  1. (74)

    • A.works
    • B.jobs
    • C.tasks
    • D.assignments
  2. The main feature of(72)is that they follow a first-come/first-served rule. For instance, the line of(73)waiting to be run on a computer system.

    • A.looplinks
    • B.queues
    • C.stacks
    • D.trees
  3. Whenever new information is entered, it must be stored somewhere in the computer's(70). RAM only(71)the data temporarily. That is, all information stored in the RAM will disappear if you switch the computer off.

    • A.processor
    • B.keyboard
    • C.printer
    • D.memory
  4. (72)

    • A.takes
    • B.executes
    • C.erases
    • D.holds
  5. (70)

    • A.input
    • B.output
    • C.peripheral
    • D.electronic
  6. A(68)is used to show you what the computer is doing. It is called(69)equipment as well as the keyboard, the mouse and the printer.

    • A.moniter
    • B.modem
    • C.printer
    • D.shower
  7. (68)

    • A.jobs
    • B.transactions
    • C.programs
    • D.files
  8. One solution to major security problems is(75), which are frequently installed to fix known security holes.

    • A.patches
    • B.compensations
    • C.complements
    • D.additions
  9. (66)is defined as the buying and selling of products and services over the Internet. It had included the handling of purchase(67)and funds transfers over computer networks from its inception.

    • A.Electronicmail
    • B.Searchengine
    • C.Multimedia
    • D.Electroniccommerce
  10. (74)is a clickable string or graphic that points to another Web page or document.

    • A.Link
    • B.Anchor
    • C.Browser
    • D.Hyperlink