100普考計算機概要 - 普考
By Vanessa
at 2013-05-23T16:15
at 2013-05-23T16:15
Table of Contents
[考題] 國考歷屆考題與考題觀念討論(書裡看到的選這個)請附上想法、出處
出處:100普考計算機概要
http://www.public.com.tw/2002/exam2/course/00030001002000010006.pdf
11.假設系統中只有三個程序P1、P2與P3,其進入ready queue的時間(arrival time)
、需要花費的CPU時間(CPU time)與各程序的優先權(priority)如下表所示。假設
priority數值越小,優先權越高,且程序的執行為非搶先(non-preemptive)的,這三
個程序的平均等待時間為:
程序 Arrival time(ms) CPU time(ms) Priority
1 P1 0 4 1
2 P2 1 8 3
3 P3 1 5 2
(A)4.33(ms) (B)5.67(ms) (C)5.33(ms) (D)6(ms)
答案是A
我的想法是P1:0
P2:8,P3:3
(0+8+3)/3--->可是好像沒有這個答案,
請問這題要怎麼下手解呢?
--
Tags:
普考
All Comments
By Mia
at 2013-05-28T11:50
at 2013-05-28T11:50
By Harry
at 2013-05-31T16:12
at 2013-05-31T16:12
By Enid
at 2013-06-04T06:09
at 2013-06-04T06:09
By William
at 2013-06-08T04:15
at 2013-06-08T04:15
By Yedda
at 2013-06-10T17:30
at 2013-06-10T17:30
By Kama
at 2013-06-13T17:05
at 2013-06-13T17:05
By Olivia
at 2013-06-18T07:26
at 2013-06-18T07:26
By Dora
at 2013-06-22T05:52
at 2013-06-22T05:52
By Belly
at 2013-06-22T18:49
at 2013-06-22T18:49
By Caroline
at 2013-06-23T20:29
at 2013-06-23T20:29
By Oliver
at 2013-06-25T10:40
at 2013-06-25T10:40
By Jessica
at 2013-06-29T09:44
at 2013-06-29T09:44
Related Posts
稅務特考三等北區上榜心得
By Frederic
at 2013-05-23T11:55
at 2013-05-23T11:55
台電考試 經濟學請教?
By Leila
at 2013-05-23T00:16
at 2013-05-23T00:16
交通行政
By Agatha
at 2013-05-22T21:48
at 2013-05-22T21:48
列印考古題範圍
By Hedwig
at 2013-05-22T17:56
at 2013-05-22T17:56
國文作文頁數與拿分
By Jack
at 2013-05-22T17:52
at 2013-05-22T17:52