一起答
单选

某计算机中有四个进程P1、P2、P3、P4先后到达,它们分别需要22ms、4ms、8ms和6ms运行完成。若采用时间片原则的剥夺调度方式,且每个时间片长为2ms,则四个进程P1、P2、P3和P4的周转时间分别为(19)ms。

  • A.22ms、4ms、8ms和6ms
  • B.22ms、4ms、26ms和6ms
  • C.40ms、12ms、8ms和22ms
  • D.40ms、12ms、26ms和22ms
参考答案
查看试卷详情
相关试题
  1. (89)

    • A.motherboard
    • B.centerboard
    • C.multiboard
    • D.cardboard
  2. (87)

    • A.MHz
    • B.MEG
    • C.MTZ
    • D.MGH
  3. (88)

    • A.cycle board
    • B.circulate board
    • C.circuit board
    • D.circle board
  4. Currently the Pentium chip or(71), made by(72), is the most common CPU though there are many other companies that produce processors for personal computers. One example is the CPU made by Motorola which is used in Apple computers. With faster processors the clock speed becomes more important. Compared to some of the first computers which operated at below 30 megahertz((73))the Pentium chips began at 75 megahertz in the late 1990g. As of mid 2003 speeds now exceed 3000 + megahertz or 3 gigahertz(check your local computer store for the latest speed). It depends on the(74)that the chip is housed in, or the(75), as to whether you are able to upgrade to a faster chip. The motherboard contains the circuitry and connections that allow the various component to communicate with each other.

    • A.processing
    • B.professional
    • C.processor
    • D.producer
  5. (86)

    • A.Internet
    • B.Intel
    • C.Intelligence
    • D.Informal
  6. (82)

    • A.figure
    • B.number
    • C.data
    • D.date
  7. (84)

    • A.gatherer
    • B.translator
    • C.generator
    • D.compiler
  8. (83)

    • A.disk
    • B.dish
    • C.set
    • D.panel
  9. (81)

    • A.deleting
    • B.omitting
    • C.killing
    • D.eliminating
  10. Another aspect of C that's worth mentioning here is that it is, to put it bluntly, a bit dangerous. C does not, in general, try hard to protect a programmer from mistakes. If you write a piece of(66)which will(through some oversight of yours)do something wildly different from what you intended it to do, up to and including(67)your(68)or trashing your(69), and if it is possible for the(70)to compile it, it generally will. You wont get warnings of the form. "Do you really mean to... ?" or "Are you sure you really want to... ?". C is often compared to a sharp knife :' it can do a surgically precise job on some exacting task you have in mind, but it can also do a surgically precise job of cutting off your finger. It's up to you to use it carefully.

    • A.word
    • B.code
    • C.sentence
    • D.character