一起答
单选

某计算机中有四个进程P1、P2、P3、P4先后到达,它们分别需要20ms、4ms、2ms和6ms运行完成。若它们按P1、P2、P3、P4的顺序执行,且不可剥夺,则其平均周转时间为(12);若采用时间片原则的剥夺调度方式,且每个时间片长为2ms,则四个进程P1、P2、P3和P4的周转时间分别为(13)ms。

  • A.5.5ms
  • B.8ms
  • C.17ms
  • D.25.5ms
参考答案
查看试卷详情
相关试题
  1. (52)

    • A.begin
    • B.resume
    • C.presume
    • D.take back
  2. (51)

    • A.waiting lock
    • B.block
    • C.deadlock
    • D.death
  3. (50)

    • A.timing
    • B.synchronization
    • C.contemporary
    • D.simultaneity
  4. Sometimes the processes in which people are engaged are dependent upon other processes being completed first, possibly by other people. For example, on an automobile(71), it is necessary  for the body to be constructed before the doors can be added on. Attempting to add the doors first would be pointless, because there would be nowhere to attach them. Thus, if there is no body ready to have doors added, the process for adding doors has to be(72)until the process for creating the next body is complete. This is known as(73)

    Obviously, there are many cases where people have to wait for other people to do something. However,  if everyone in such a situation is waiting for someone else to do something first, then no one will ever be able to do anything. When discussing processes, this situation is known as(74), because all of the involved processes are effectively dead because of locks they have on resources. Usually someone in such a situation will eventually notice and abort the process, allowing normal flow to(75), and often warning signs can even be spotted ahead of time to avoid 'it in the first place.

    • A.water thread
    • B.assembly thread
    • C.water line
    • D.assembly line
  5. (49)

    • A.suspended
    • B.broken
    • C.hung
    • D.hold
  6. (46)

    • A.drawing
    • B.mapping
    • C.picturing
    • D.scanning
  7. (47)

    • A.paging
    • B.paragraphing
    • C.storing
    • D.changing
  8. (44)

    • A.address space
    • B.address place
    • C.home space
    • D.home place
  9. (45)

    • A.former addresses
    • B.fake address
    • C.virtual addresses
    • D.mendacious addresses
  10. (42)

    • A.291ns
    • B.292ns
    • C.302ns
    • D.311ns